diff --git a/.gitignore b/.gitignore
index f3d34641..3ba8e083 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,10 +14,6 @@ node_modules/
/e2e/
/.e2e/
/tests/
-*.test.*
-*.spec.*
-# Maintained unit regressions are source; local acceptance suites stay ignored.
-!test/unit/*.test.js
/playwright/.auth/
/playwright-report/
/test-results/
diff --git a/AGENTS.md b/AGENTS.md
index 2fc4dcf3..26a2d4fe 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -60,7 +60,7 @@ Windows 执行命令前按开发规范第 12.3 节设置 UTF-8;使用 `npm.cmd
- **样式**:不新增 ConfigProvider、主题状态或存储 key;颜色只来自 token 或页面变量,JSX 不写十六进制,不用全局 `!important`。
- **图标与依赖**:按钮图标从 `src/components/common/icons/ActionIcons.js` 导入,装饰图标用 `lucide-react`;禁止引入 Semi、Radix UI、Floating UI、`@lobehub/*`、MUI、Chakra、Headless UI、leva、antd-style、react-layout-kit。
- **请求**:只用 `API`,参数用 `params`,先判 `success`;分页 `p` 从 1 开始、`page_size` ≤ 100;`catch` 不重复提示 AxiosError;`finally` 回收 loading。
-- **命名与文件**:状态用 `items`、`total`、`page`、`pageSize`、`loading`、`submitting`、`editingRecord`、`drawerOpen`;新 `.js` / `.jsx` 带 AGPL 许可证头;入库单测放 `test/unit/`;新文案用 `t('中文原文')` 并补齐 9 个语言包。
+- **命名与文件**:状态用 `items`、`total`、`page`、`pageSize`、`loading`、`submitting`、`editingRecord`、`drawerOpen`;不重复添加通用长版权文件头;入库单测放 `test/unit/`;新文案用 `t('中文原文')` 并补齐 9 个语言包。
- **可访问性**:交互元素可键盘操作且焦点可见;纯图标按钮加 `aria-label`;状态不只靠颜色表达;动效遵守 `prefers-reduced-motion`。
## 5. 目录规则
@@ -123,7 +123,7 @@ Windows 执行命令前按开发规范第 12.3 节设置 UTF-8;使用 `npm.cmd
- 新规则先写入对应 `docs/` 文档,再在第 6 节加索引;改动只动相关段落,更新本节版本与日期。
- 文档的新增、调整、删除按 `docs/README.md` 的“阅读与维护”执行;删除与重命名需用户确认清单。
-> 规范版本:v3.6 · 更新:2026-11-19
+> 规范版本:v3.7 · 更新:2026-11-20
## 10. 工具差异(本节允许不同)
diff --git a/CLAUDE.md b/CLAUDE.md
index e32c4587..d61bf9b4 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -60,7 +60,7 @@ Windows 执行命令前按开发规范第 12.3 节设置 UTF-8;使用 `npm.cmd
- **样式**:不新增 ConfigProvider、主题状态或存储 key;颜色只来自 token 或页面变量,JSX 不写十六进制,不用全局 `!important`。
- **图标与依赖**:按钮图标从 `src/components/common/icons/ActionIcons.js` 导入,装饰图标用 `lucide-react`;禁止引入 Semi、Radix UI、Floating UI、`@lobehub/*`、MUI、Chakra、Headless UI、leva、antd-style、react-layout-kit。
- **请求**:只用 `API`,参数用 `params`,先判 `success`;分页 `p` 从 1 开始、`page_size` ≤ 100;`catch` 不重复提示 AxiosError;`finally` 回收 loading。
-- **命名与文件**:状态用 `items`、`total`、`page`、`pageSize`、`loading`、`submitting`、`editingRecord`、`drawerOpen`;新 `.js` / `.jsx` 带 AGPL 许可证头;入库单测放 `test/unit/`;新文案用 `t('中文原文')` 并补齐 9 个语言包。
+- **命名与文件**:状态用 `items`、`total`、`page`、`pageSize`、`loading`、`submitting`、`editingRecord`、`drawerOpen`;不重复添加通用长版权文件头;入库单测放 `test/unit/`;新文案用 `t('中文原文')` 并补齐 9 个语言包。
- **可访问性**:交互元素可键盘操作且焦点可见;纯图标按钮加 `aria-label`;状态不只靠颜色表达;动效遵守 `prefers-reduced-motion`。
## 5. 目录规则
@@ -123,7 +123,7 @@ Windows 执行命令前按开发规范第 12.3 节设置 UTF-8;使用 `npm.cmd
- 新规则先写入对应 `docs/` 文档,再在第 6 节加索引;改动只动相关段落,更新本节版本与日期。
- 文档的新增、调整、删除按 `docs/README.md` 的“阅读与维护”执行;删除与重命名需用户确认清单。
-> 规范版本:v3.6 · 更新:2026-11-19
+> 规范版本:v3.7 · 更新:2026-11-20
## 10. 工具差异(本节允许不同)
diff --git a/NOTICE.md b/NOTICE.md
new file mode 100644
index 00000000..0689b9bb
--- /dev/null
+++ b/NOTICE.md
@@ -0,0 +1,18 @@
+# Copyright and License Notice
+
+Copyright (C) 2025 QuantumNous
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU Affero General Public License as
+published by the Free Software Foundation, either version 3 of the
+License, or (at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU Affero General Public License for more details.
+
+You should have received a copy of the GNU Affero General Public License
+along with this program. If not, see .
+
+For commercial licensing, please contact support@quantumnous.com
diff --git a/README.md b/README.md
index b0190b6b..23edfbf9 100644
--- a/README.md
+++ b/README.md
@@ -135,7 +135,7 @@ monkey-ai-web/
- **路由与权限**:在 `src/App.jsx` 注册路由,用 `PrivateRoute`、`AdminRoute`(role ≥ 10)、`RootRoute`(role ≥ 100)守卫;企业中心子路由在 `src/pages/Organization/index.jsx`。部分模块的可见性来自 `/api/status`,不能只靠隐藏菜单控制权限。
- **UI**:通用组件用 Ant Design;存量页面经 `src/components/ui` 适配层保留原契约;主题只由 `UiThemeProvider` 提供,不新增 ConfigProvider;按钮图标从 `src/components/common/icons/ActionIcons.js` 导入。页面改动需检查浅色、深色与窄屏。
- **国际化**:文案写 `t('中文原文')`,新 key 补齐 `src/i18n/locales/` 下 9 个语言包;运行时开放语言以 `src/i18n/catalog.js` 为准(简中、繁中、英、日、韩、越、泰),`fr.json`、`ru.json` 尚未登记。
-- **文件头**:每个 `.js` / `.jsx` 顶部须带 AGPL 许可证注释(ESLint 强制),参考相邻文件。
+- **版权声明**:通用版权与许可声明见 [NOTICE.md](NOTICE.md),源码无需重复添加长文件头;保留独立的第三方声明。
## 6. 常用命令与提交检查
@@ -144,7 +144,7 @@ monkey-ai-web/
| `npm run dev` | 启动开发服务 |
| `npm run build` | 生产构建,输出 `dist/` |
| `npm run preview` | 本地预览构建结果(默认端口 4173) |
-| `npm test -- --test-concurrency=1` | 串行运行单测(扫描 `src/`、`tests/`、`test/unit/`) |
+| `npm test -- --test-concurrency=1` | 串行运行单测(扫描 `src/`、`tests/`、`test/unit/`;新增共享单测放 `test/unit/`) |
| `npm run eslint` / `npm run eslint:fix` | ESLint 检查(零警告门禁)/ 自动修复 |
| `npm run lint` / `npm run lint:fix` | Prettier 检查 / 全仓格式化 |
| `npm run check:ui` | UI 依赖、完整 lock 图与品牌图标资产 hash 审计 |
diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md
index 2b208c3f..b717525a 100644
--- a/docs/CHANGELOG.md
+++ b/docs/CHANGELOG.md
@@ -10,6 +10,30 @@
## 2026-11-20
+### 更新 · 移除重复的长版权文件头
+
+- **范围**:源码、脚本、样式、配置和测试中的统一长文件头。
+- **变更**:将原声明集中到 `NOTICE.md`,移除重复模板、ESLint 文件头规则及相关依赖。
+- **影响**:不改变业务逻辑,独立版权和第三方声明保持原样。
+- **回滚**:按本条差异逆向恢复长文件头、规则、依赖和规范,保留其他工作区改动。
+- **关联**:`NOTICE.md`、`eslint.config.cjs`、`package.json`、`package-lock.json`、`docs/standards/DEV_STANDARDS.md`。
+
+### 修复 · ESLint 不再自动补写许可证头
+
+- **范围**:JavaScript / JSX 许可证头检查。
+- **变更**:保留原许可证校验,关闭该规则的自动写入与替换。
+- **影响**:文件头缺失仍报错,现有版权和许可证声明保持不变。
+- **回滚**:还原本条配置和文档差异。
+- **关联**:`eslint.config.cjs`、`README.md`、`docs/standards/DEV_STANDARDS.md`。
+
+### 修复 · 共享单测不再被全局忽略
+
+- **范围**:Git 忽略规则和前端单测目录。
+- **变更**:移除按测试扩展名全局忽略的规则,将 12 个本地回归测试迁入 `test/unit/`,保留已跟踪的存量测试。
+- **影响**:团队可共享这些测试;本地验收目录仍被忽略,不改变生产代码。
+- **回滚**:恢复本条忽略规则与文档差异,并将迁移用例按原路径移回。
+- **关联**:`.gitignore`、`test/unit/`、`docs/standards/DEV_STANDARDS.md`、`README.md`。
+
### 修复 · 全量 undefined / NaN 展示防护与主题兼容回归
- **范围**:分析看板、组织/个人中心、充值/发票/订单/订阅、佣金、渠道模型测试、服务监控,以及亮色/暗色主题下的数字展示路径。
diff --git a/docs/standards/DEV_STANDARDS.md b/docs/standards/DEV_STANDARDS.md
index f195f133..4d5f6f63 100644
--- a/docs/standards/DEV_STANDARDS.md
+++ b/docs/standards/DEV_STANDARDS.md
@@ -1,6 +1,6 @@
# 统一开发与 Ant Design CRUD 规范
-> 状态:有效 · 适用:React 18.3、antd 6.7.0、Vite 5.4、Node ≥ 22.13 · 更新:2026-11-18 · 版本:v2.3
+> 状态:有效 · 适用:React 18.3、antd 6.7.0、Vite 5.4、Node ≥ 22.13 · 更新:2026-11-20 · 版本:v2.4
新增与重构 CRUD 的编码规范:目录与命名、组件选择、请求、React 组件与状态、表单与弹层、权限、i18n,以及可直接复制的页面模板。外观取值见 `UI_COMPONENT_STANDARDS.md`。
@@ -18,7 +18,7 @@
| React | 函数组件 + Hooks;派生值在渲染中计算;记忆化只用于测量过的问题(第 4 节) |
| 状态命名 | `items`、`total`、`page`、`pageSize`、`filters`、`loading`、`submitting`、`editingRecord`、`drawerOpen` |
| 表单 | `Form.useForm` + `rules`;失败不关闭弹层;提交按钮 `loading` 防重复(第 6 节) |
-| 文件 | 带 AGPL 许可证头;单测放 `test/unit/`;文案补齐 9 个语言包 |
+| 文件 | 不重复添加通用长版权文件头;单测放 `test/unit/`;文案补齐 9 个语言包 |
**相关代码**:`src/helpers/api.js`、`src/helpers/utils.jsx`、`src/helpers/paging.js`、`src/helpers/auth.jsx`、`src/components/ui/`、`src/components/console/`、`src/pages/Organization/components/`
@@ -39,7 +39,7 @@
| 视图(企业中心) | `src/pages/Organization/Org.jsx`,Hook 放 `src/hooks/org/` | 同上;单文件过大时拆到 `components/` |
| 视图(用户中心) | `src/pages/UserCenter/.jsx` + 同名 `.css` | 同上 |
| 控制台路由入口 | `src/pages//index.jsx` | 由 `App.jsx` 以 `React.lazy` 加载 |
-| 单元测试 | `test/unit/-*.test.js` | `.gitignore` 忽略 `*.test.*`,仅此目录可入库 |
+| 单元测试 | `test/unit/-*.test.js` | `.gitignore` 不再按测试扩展名全局忽略;保留已跟踪的存量测试 |
### 1.2 命名
@@ -53,9 +53,9 @@
| 样式 | 页面根类 + 局部变量族 `--<前缀>-*`;文件 kebab-case | `.km-page`、`--km-card-border`、`key-management.css` |
| 后端字段 | 保持 snake_case 原样,不在前端改名 | `created_time`、`page_size` |
-### 1.3 必备文件头
+### 1.3 版权声明
-ESLint 规则 `header/header` 要求每个 `.js/.jsx` 顶部带 AGPL 许可证块注释,直接复制任一现有源码文件的第 1–18 行;缺失会让 `npm run eslint` 失败。
+通用版权与许可声明集中保留在 [NOTICE.md](../../NOTICE.md)。源码不重复添加长版权文件头,不移除独立的第三方声明。
## 2. Ant Design 组件边界
@@ -294,7 +294,7 @@ pagination={{
### 12.1 检查与构建
- Prettier:`singleQuote`、`jsxSingleQuote`,换行 LF;规范类文档使用紧凑表格(`.prettierrc.mjs` 的 overrides)。
-- ESLint:许可证头、`no-undef`、未使用 import 报错、Hooks 规则、禁用 UI 库导入,`--max-warnings=0`。
+- ESLint:`no-undef`、未使用 import 报错、Hooks 规则、禁用 UI 库导入,`--max-warnings=0`。
```bash
npm run eslint # 0 错误 0 警告
diff --git a/eslint.config.cjs b/eslint.config.cjs
index 066fef8d..cb77488e 100644
--- a/eslint.config.cjs
+++ b/eslint.config.cjs
@@ -1,25 +1,8 @@
const globals = require('globals');
-const { rules: headerRules } = require('eslint-plugin-header');
const react = require('eslint-plugin-react');
const reactHooks = require('eslint-plugin-react-hooks');
const unusedImports = require('eslint-plugin-unused-imports');
-const headerRule = headerRules.header;
-const header = {
- rules: {
- header: {
- ...headerRule,
- meta: {
- ...headerRule.meta,
- schema: [
- { enum: ['block', 'line'] },
- { type: 'array', items: { type: 'string' } },
- ],
- },
- },
- },
-};
-
module.exports = [
{
ignores: [
@@ -45,7 +28,6 @@ module.exports = [
},
settings: { react: { version: 'detect' } },
plugins: {
- header,
react,
'react-hooks': reactHooks,
'unused-imports': unusedImports,
@@ -78,30 +60,6 @@ module.exports = [
],
},
],
- 'header/header': [
- 2,
- 'block',
- [
- '',
- 'Copyright (C) 2025 QuantumNous',
- '',
- 'This program is free software: you can redistribute it and/or modify',
- 'it under the terms of the GNU Affero General Public License as',
- 'published by the Free Software Foundation, either version 3 of the',
- 'License, or (at your option) any later version.',
- '',
- 'This program is distributed in the hope that it will be useful,',
- 'but WITHOUT ANY WARRANTY; without even the implied warranty of',
- 'MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the',
- 'GNU Affero General Public License for more details.',
- '',
- 'You should have received a copy of the GNU Affero General Public License',
- 'along with this program. If not, see .',
- '',
- 'For commercial licensing, please contact support@quantumnous.com',
- '',
- ],
- ],
'no-multiple-empty-lines': ['error', { max: 1 }],
// ===== 防线:杜绝“用了未定义/未导入标识符”导致的运行时崩溃(本次线上事故根因)=====
diff --git a/i18next.config.js b/i18next.config.js
index 4cc65548..eff27be8 100644
--- a/i18next.config.js
+++ b/i18next.config.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { defineConfig } from 'i18next-cli';
/** @type {import('i18next-cli').I18nextToolkitConfig} */
diff --git a/package-lock.json b/package-lock.json
index 2f450034..6e1d2034 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -57,7 +57,6 @@
"autoprefixer": "^10.4.21",
"esbuild": "0.21.5",
"eslint": "9.39.5",
- "eslint-plugin-header": "^3.1.1",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-unused-imports": "4.4.1",
@@ -5947,16 +5946,6 @@
}
}
},
- "node_modules/eslint-plugin-header": {
- "version": "3.1.1",
- "resolved": "https://registry.npmmirror.com/eslint-plugin-header/-/eslint-plugin-header-3.1.1.tgz",
- "integrity": "sha512-9vlKxuJ4qf793CmeeSrZUvVClw6amtpghq3CuWcB5cUNnWHQhgcqy5eF8oVKFk1G3Y/CbchGfEaw3wiIJaNmVg==",
- "dev": true,
- "license": "MIT",
- "peerDependencies": {
- "eslint": ">=7.7.0"
- }
- },
"node_modules/eslint-plugin-react": {
"version": "7.37.5",
"resolved": "https://registry.npmmirror.com/eslint-plugin-react/-/eslint-plugin-react-7.37.5.tgz",
diff --git a/package.json b/package.json
index ba1ea6a3..c868e2f7 100644
--- a/package.json
+++ b/package.json
@@ -91,7 +91,6 @@
"autoprefixer": "^10.4.21",
"esbuild": "0.21.5",
"eslint": "9.39.5",
- "eslint-plugin-header": "^3.1.1",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-unused-imports": "4.4.1",
diff --git a/playwright.config.js b/playwright.config.js
index f8aa828f..f5e63241 100644
--- a/playwright.config.js
+++ b/playwright.config.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { defineConfig } from '@playwright/test';
import {
browserChannel,
diff --git a/postcss.config.js b/postcss.config.js
index 5731ce76..2aa7205d 100644
--- a/postcss.config.js
+++ b/postcss.config.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export default {
plugins: {
tailwindcss: {},
diff --git a/scripts/browser-capture.mjs b/scripts/browser-capture.mjs
index d1a25f52..27daaa9c 100644
--- a/scripts/browser-capture.mjs
+++ b/scripts/browser-capture.mjs
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 有头 Chrome 焦点守卫:唯一页面、禁止新建 / 切换标签页、后台建页兜底、前台状态检测。
// 规则见 docs/ui/GLOBAL_UI_BASELINE.md 第 7.1 节。
diff --git a/scripts/browser-environment.mjs b/scripts/browser-environment.mjs
index cdd9e94d..6571bdcb 100644
--- a/scripts/browser-environment.mjs
+++ b/scripts/browser-environment.mjs
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { readFileSync } from 'node:fs';
import { createHash } from 'node:crypto';
import { devices } from '@playwright/test';
diff --git a/scripts/dev-service.mjs b/scripts/dev-service.mjs
index c3ed6dc6..b1e67d80 100644
--- a/scripts/dev-service.mjs
+++ b/scripts/dev-service.mjs
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { readFile, readdir } from 'node:fs/promises';
import { execFile } from 'node:child_process';
import { promisify } from 'node:util';
diff --git a/scripts/playwright-focus-guard.mjs b/scripts/playwright-focus-guard.mjs
index 872d2d0b..3e81e4cc 100644
--- a/scripts/playwright-focus-guard.mjs
+++ b/scripts/playwright-focus-guard.mjs
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 有头 Chrome 焦点守卫:唯一页面、禁止新建 / 切换标签页、后台建页兜底、前台状态检测。
// 规则见 docs/ui/GLOBAL_UI_BASELINE.md 第 7.1 节。
diff --git a/scripts/playwright-reporter.mjs b/scripts/playwright-reporter.mjs
index 01558c6d..d7c7bd79 100644
--- a/scripts/playwright-reporter.mjs
+++ b/scripts/playwright-reporter.mjs
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
const FOCUS_ANNOTATION = 'focus-guard';
export default class AcceptanceReporter {
diff --git a/scripts/playwright-runner-focus.mjs b/scripts/playwright-runner-focus.mjs
index b63af286..c1d44493 100644
--- a/scripts/playwright-runner-focus.mjs
+++ b/scripts/playwright-runner-focus.mjs
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 浏览器焦点守护:有头真实 Chrome 运行时尽最大可能不抢占用户桌面焦点。
// - 唯一页面:每个用例只有一个页面,由 CDP Target.createTarget({ background: true }) 后台创建,
// 不走 context.newPage()(Playwright 内部创建时不带 background,会以前台方式打开窗口)。
diff --git a/scripts/playwright-runtime.mjs b/scripts/playwright-runtime.mjs
index 4dba0cc5..7b364ebd 100644
--- a/scripts/playwright-runtime.mjs
+++ b/scripts/playwright-runtime.mjs
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { randomUUID } from 'node:crypto';
export const browserStabilityArgs = Object.freeze([
diff --git a/scripts/playwright-test.mjs b/scripts/playwright-test.mjs
index 985dc5b6..89dd84f9 100644
--- a/scripts/playwright-test.mjs
+++ b/scripts/playwright-test.mjs
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { test as base, expect } from '@playwright/test';
import {
checkFocus,
diff --git a/scripts/preview-dist.mjs b/scripts/preview-dist.mjs
index df9eb136..a47d6386 100644
--- a/scripts/preview-dist.mjs
+++ b/scripts/preview-dist.mjs
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { preview } from 'vite';
import { fileURLToPath } from 'node:url';
import { positiveInteger } from './playwright-runtime.mjs';
diff --git a/scripts/run-acceptance.mjs b/scripts/run-acceptance.mjs
index 8f4dd609..f0a454b7 100644
--- a/scripts/run-acceptance.mjs
+++ b/scripts/run-acceptance.mjs
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { mkdtemp, rm } from 'node:fs/promises';
import { tmpdir } from 'node:os';
import path from 'node:path';
diff --git a/scripts/run-playwright.mjs b/scripts/run-playwright.mjs
index e1ef765e..9544a7ea 100644
--- a/scripts/run-playwright.mjs
+++ b/scripts/run-playwright.mjs
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { spawn } from 'node:child_process';
import { readdir, stat, access } from 'node:fs/promises';
import { fileURLToPath } from 'node:url';
diff --git a/scripts/test-playwright-environment.mjs b/scripts/test-playwright-environment.mjs
index 6c3cd2a1..412bc885 100644
--- a/scripts/test-playwright-environment.mjs
+++ b/scripts/test-playwright-environment.mjs
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { mkdtemp, writeFile, rm } from 'node:fs/promises';
import { tmpdir } from 'node:os';
import path from 'node:path';
diff --git a/scripts/test.mjs b/scripts/test.mjs
index 5bb5e6de..546312e7 100644
--- a/scripts/test.mjs
+++ b/scripts/test.mjs
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { readdir } from 'node:fs/promises';
import path from 'node:path';
import { fileURLToPath } from 'node:url';
diff --git a/scripts/verify-build.mjs b/scripts/verify-build.mjs
index 728d4380..d09aee6c 100644
--- a/scripts/verify-build.mjs
+++ b/scripts/verify-build.mjs
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { readFile, access } from 'node:fs/promises';
import path from 'node:path';
import { fileURLToPath } from 'node:url';
diff --git a/scripts/vite/legacy-css-layers.js b/scripts/vite/legacy-css-layers.js
index 3846aa04..8ae4473c 100644
--- a/scripts/vite/legacy-css-layers.js
+++ b/scripts/vite/legacy-css-layers.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import postcss from 'postcss';
// 旧浏览器的级联层(@layer)兜底。
diff --git a/src/App.jsx b/src/App.jsx
index b35713a0..4bbfdb9c 100644
--- a/src/App.jsx
+++ b/src/App.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { lazy, Suspense, useContext, useMemo } from 'react';
import { Route, Routes, Navigate, useLocation } from 'react-router-dom';
import {
diff --git a/src/components/analytics/ChannelConsumption.jsx b/src/components/analytics/ChannelConsumption.jsx
index f0829beb..7250e669 100644
--- a/src/components/analytics/ChannelConsumption.jsx
+++ b/src/components/analytics/ChannelConsumption.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatPercent } from '../../helpers/safeDisplay';
import { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
diff --git a/src/components/analytics/CollapsibleHeader.jsx b/src/components/analytics/CollapsibleHeader.jsx
index a86f9bb3..612993e5 100644
--- a/src/components/analytics/CollapsibleHeader.jsx
+++ b/src/components/analytics/CollapsibleHeader.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { ChevronDown as ActionChevronDown } from '@/components/common/icons/ActionIcons';
import React from 'react';
import './collapsible-panel.css';
diff --git a/src/components/analytics/DailyStatsTable.jsx b/src/components/analytics/DailyStatsTable.jsx
index a224a038..30201efb 100644
--- a/src/components/analytics/DailyStatsTable.jsx
+++ b/src/components/analytics/DailyStatsTable.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Card, Table, Button } from '@/components/ui';
import { IconDownload } from '@/components/ui/icons';
diff --git a/src/components/analytics/HighFreqLowCostUsers.jsx b/src/components/analytics/HighFreqLowCostUsers.jsx
index b107dad1..346c54d1 100644
--- a/src/components/analytics/HighFreqLowCostUsers.jsx
+++ b/src/components/analytics/HighFreqLowCostUsers.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatUserReference } from '../../helpers/safeDisplay';
import React, { useMemo, useState } from 'react';
diff --git a/src/components/analytics/ModelDistribution.jsx b/src/components/analytics/ModelDistribution.jsx
index d226685b..c1ec8212 100644
--- a/src/components/analytics/ModelDistribution.jsx
+++ b/src/components/analytics/ModelDistribution.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useMemo } from 'react';
import { Card } from '@/components/ui';
import { VChart } from '@visactor/react-vchart';
diff --git a/src/components/analytics/OrgCacheHourlySheet.jsx b/src/components/analytics/OrgCacheHourlySheet.jsx
index 8fefa144..20e1814a 100644
--- a/src/components/analytics/OrgCacheHourlySheet.jsx
+++ b/src/components/analytics/OrgCacheHourlySheet.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useMemo, useState, useEffect } from 'react';
import { Button, Empty, Segmented, Skeleton, theme } from 'antd';
import { VChart } from '@visactor/react-vchart';
diff --git a/src/components/analytics/OrgRealtimeUsage.jsx b/src/components/analytics/OrgRealtimeUsage.jsx
index 4443acba..105e8e51 100644
--- a/src/components/analytics/OrgRealtimeUsage.jsx
+++ b/src/components/analytics/OrgRealtimeUsage.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { formatIdReference, formatPercent } from '../../helpers/safeDisplay';
import React, { useState, useCallback } from 'react';
import { Badge, Empty, Progress, Skeleton, Tag, Tooltip, theme } from 'antd';
diff --git a/src/components/analytics/OverviewCards.jsx b/src/components/analytics/OverviewCards.jsx
index 0533f555..1cd52e6b 100644
--- a/src/components/analytics/OverviewCards.jsx
+++ b/src/components/analytics/OverviewCards.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatNumber, formatPercent } from '../../helpers/safeDisplay';
import React from 'react';
diff --git a/src/components/analytics/RiskControlBanLogs.jsx b/src/components/analytics/RiskControlBanLogs.jsx
index 9980f06f..afa31afa 100644
--- a/src/components/analytics/RiskControlBanLogs.jsx
+++ b/src/components/analytics/RiskControlBanLogs.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatUserReference } from '../../helpers/safeDisplay';
import { Trans } from 'react-i18next';
diff --git a/src/components/analytics/RiskControlRulesModal.jsx b/src/components/analytics/RiskControlRulesModal.jsx
index a41dd71b..a1b9b6dd 100644
--- a/src/components/analytics/RiskControlRulesModal.jsx
+++ b/src/components/analytics/RiskControlRulesModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Trans } from 'react-i18next';
import React, { useEffect, useRef, useState } from 'react';
import {
diff --git a/src/components/analytics/TopupChannelChart.jsx b/src/components/analytics/TopupChannelChart.jsx
index 3b7adf13..fcbaab38 100644
--- a/src/components/analytics/TopupChannelChart.jsx
+++ b/src/components/analytics/TopupChannelChart.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
import {
formatNumber,
diff --git a/src/components/analytics/TrendCharts.jsx b/src/components/analytics/TrendCharts.jsx
index 4460c447..eecb806e 100644
--- a/src/components/analytics/TrendCharts.jsx
+++ b/src/components/analytics/TrendCharts.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useMemo } from 'react';
import { Card } from '@/components/ui';
import { VChart } from '@visactor/react-vchart';
diff --git a/src/components/analytics/UserRanking.jsx b/src/components/analytics/UserRanking.jsx
index 06e7afe2..3afa88c7 100644
--- a/src/components/analytics/UserRanking.jsx
+++ b/src/components/analytics/UserRanking.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import {
formatIdReference,
formatUserReference,
diff --git a/src/components/analytics/UserSurveyStats.jsx b/src/components/analytics/UserSurveyStats.jsx
index d5a34636..a829988a 100644
--- a/src/components/analytics/UserSurveyStats.jsx
+++ b/src/components/analytics/UserSurveyStats.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatPercent, formatRatioPercent } from '../../helpers/safeDisplay';
import React, { useMemo, useState, useEffect, useCallback } from 'react';
diff --git a/src/components/analytics/UserTopupRanking.jsx b/src/components/analytics/UserTopupRanking.jsx
index 21521423..6db46b85 100644
--- a/src/components/analytics/UserTopupRanking.jsx
+++ b/src/components/analytics/UserTopupRanking.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import {
formatNumber,
formatIdReference,
diff --git a/src/components/analytics/orgReport/ActionCenter.jsx b/src/components/analytics/orgReport/ActionCenter.jsx
index 2a838a57..dd3296d3 100644
--- a/src/components/analytics/orgReport/ActionCenter.jsx
+++ b/src/components/analytics/orgReport/ActionCenter.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Download as ActionDownload } from '@/components/common/icons/ActionIcons';
import React from 'react';
import {
diff --git a/src/components/analytics/orgReport/Analysis.jsx b/src/components/analytics/orgReport/Analysis.jsx
index b99f0d71..afd623c2 100644
Binary files a/src/components/analytics/orgReport/Analysis.jsx and b/src/components/analytics/orgReport/Analysis.jsx differ
diff --git a/src/components/analytics/orgReport/Overview.jsx b/src/components/analytics/orgReport/Overview.jsx
index 1b146c19..61b7002b 100644
--- a/src/components/analytics/orgReport/Overview.jsx
+++ b/src/components/analytics/orgReport/Overview.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Trans } from 'react-i18next';
import { I18N_TECHNICAL_TEXT } from '../../../i18n/technicalText.js';
import { Download as ActionDownload } from '@/components/common/icons/ActionIcons';
diff --git a/src/components/analytics/orgReport/Tables.jsx b/src/components/analytics/orgReport/Tables.jsx
index c786d5f9..cbfd8263 100644
--- a/src/components/analytics/orgReport/Tables.jsx
+++ b/src/components/analytics/orgReport/Tables.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Download as ActionDownload } from '@/components/common/icons/ActionIcons';
import React, { useMemo } from 'react';
import {
diff --git a/src/components/analytics/orgReport/index.jsx b/src/components/analytics/orgReport/index.jsx
index c63740fa..a7df35fb 100644
--- a/src/components/analytics/orgReport/index.jsx
+++ b/src/components/analytics/orgReport/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useCallback, useMemo, useState } from 'react';
import { Button, Card, Typography } from '@/components/ui';
import { ActionCenter, ACTION_TABS } from './ActionCenter';
diff --git a/src/components/analytics/orgReport/shared.jsx b/src/components/analytics/orgReport/shared.jsx
index 86b872e6..09361e22 100644
--- a/src/components/analytics/orgReport/shared.jsx
+++ b/src/components/analytics/orgReport/shared.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Card, Tag, Tooltip } from '@/components/ui';
import { TrendingDown, TrendingUp } from 'lucide-react';
diff --git a/src/components/analytics/orgReport/utils.js b/src/components/analytics/orgReport/utils.js
index ee45aa4e..a8245781 100644
--- a/src/components/analytics/orgReport/utils.js
+++ b/src/components/analytics/orgReport/utils.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import {
formatIdReference,
formatPercent,
diff --git a/src/components/auth/AuthCardHeader.jsx b/src/components/auth/AuthCardHeader.jsx
index feef02ed..07c727c4 100644
--- a/src/components/auth/AuthCardHeader.jsx
+++ b/src/components/auth/AuthCardHeader.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useTranslation } from 'react-i18next';
import React from 'react';
import { Sparkles } from 'lucide-react';
diff --git a/src/components/auth/AuthCustomerServiceFloat.jsx b/src/components/auth/AuthCustomerServiceFloat.jsx
index 76333726..61a2885f 100644
--- a/src/components/auth/AuthCustomerServiceFloat.jsx
+++ b/src/components/auth/AuthCustomerServiceFloat.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { MessageCircle as ActionMessageCircle } from '@/components/common/icons/ActionIcons';
import React, { useState, useEffect } from 'react';
import { Avatar } from '@/components/ui';
diff --git a/src/components/auth/AuthDivider.jsx b/src/components/auth/AuthDivider.jsx
index 796e0bfa..33cbd803 100644
--- a/src/components/auth/AuthDivider.jsx
+++ b/src/components/auth/AuthDivider.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
/**
diff --git a/src/components/auth/AuthLoginTabs.jsx b/src/components/auth/AuthLoginTabs.jsx
index 077a247d..bcdb69ff 100644
--- a/src/components/auth/AuthLoginTabs.jsx
+++ b/src/components/auth/AuthLoginTabs.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Button } from 'antd';
import { useNavigate, useSearchParams } from 'react-router-dom';
diff --git a/src/components/auth/GlassCard.jsx b/src/components/auth/GlassCard.jsx
index d0225ca2..b7868afa 100644
--- a/src/components/auth/GlassCard.jsx
+++ b/src/components/auth/GlassCard.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
/**
diff --git a/src/components/auth/LoginForm.jsx b/src/components/auth/LoginForm.jsx
index 872b0621..a49180d6 100644
--- a/src/components/auth/LoginForm.jsx
+++ b/src/components/auth/LoginForm.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { ArrowRight as ActionArrowRight } from '@/components/common/icons/ActionIcons';
import React, {
useContext,
diff --git a/src/components/auth/OAuth2Callback.jsx b/src/components/auth/OAuth2Callback.jsx
index f643fe68..fb19e994 100644
--- a/src/components/auth/OAuth2Callback.jsx
+++ b/src/components/auth/OAuth2Callback.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../hooks/common/useEffectEvent';
import React, { useContext, useEffect } from 'react';
import { useNavigate, useSearchParams } from 'react-router-dom';
diff --git a/src/components/auth/OrgCredentialResult.jsx b/src/components/auth/OrgCredentialResult.jsx
index d5c8418e..79507c1b 100644
--- a/src/components/auth/OrgCredentialResult.jsx
+++ b/src/components/auth/OrgCredentialResult.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Copy as ActionCopy } from '@/components/common/icons/ActionIcons';
import React from 'react';
import { useTranslation } from 'react-i18next';
diff --git a/src/components/auth/PasswordResetConfirm.jsx b/src/components/auth/PasswordResetConfirm.jsx
index 24a71bf7..170e6b18 100644
--- a/src/components/auth/PasswordResetConfirm.jsx
+++ b/src/components/auth/PasswordResetConfirm.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useState } from 'react';
import {
API,
diff --git a/src/components/auth/PasswordResetForm.jsx b/src/components/auth/PasswordResetForm.jsx
index c7b406c4..9037b23c 100644
--- a/src/components/auth/PasswordResetForm.jsx
+++ b/src/components/auth/PasswordResetForm.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useState } from 'react';
import {
API,
diff --git a/src/components/auth/RegisterForm.jsx b/src/components/auth/RegisterForm.jsx
index b3c8c121..c091663c 100644
--- a/src/components/auth/RegisterForm.jsx
+++ b/src/components/auth/RegisterForm.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { ArrowRight as ActionArrowRight } from '@/components/common/icons/ActionIcons';
import React, {
useContext,
diff --git a/src/components/auth/TelegramLogin.jsx b/src/components/auth/TelegramLogin.jsx
index 0932e801..1941b1e1 100644
--- a/src/components/auth/TelegramLogin.jsx
+++ b/src/components/auth/TelegramLogin.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React from 'react';
import TelegramLoginButton from 'react-telegram-login';
diff --git a/src/components/auth/TwoFAVerification.jsx b/src/components/auth/TwoFAVerification.jsx
index f792dec7..3fea4cb1 100644
--- a/src/components/auth/TwoFAVerification.jsx
+++ b/src/components/auth/TwoFAVerification.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { Trans } from 'react-i18next';
import { API, showError } from '../../helpers';
import { Button, Card, Divider, Form, Typography } from '@/components/ui';
diff --git a/src/components/common/AuthBackground/index.jsx b/src/components/common/AuthBackground/index.jsx
index 5eca4bf1..fd6de208 100644
--- a/src/components/common/AuthBackground/index.jsx
+++ b/src/components/common/AuthBackground/index.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React, { Suspense, lazy, useContext } from 'react';
import { StatusContext } from '../../../context/Status';
diff --git a/src/components/common/AuthBackground/themes/CinematicTokenFactory.jsx b/src/components/common/AuthBackground/themes/CinematicTokenFactory.jsx
index de655eea..55e5503e 100644
--- a/src/components/common/AuthBackground/themes/CinematicTokenFactory.jsx
+++ b/src/components/common/AuthBackground/themes/CinematicTokenFactory.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React, { useEffect, useRef } from 'react';
import './CinematicTokenFactory.css';
diff --git a/src/components/common/AuthBackground/themes/TokenFactory.jsx b/src/components/common/AuthBackground/themes/TokenFactory.jsx
index 7912023f..f34c50e2 100644
--- a/src/components/common/AuthBackground/themes/TokenFactory.jsx
+++ b/src/components/common/AuthBackground/themes/TokenFactory.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React, { useEffect, useRef } from 'react';
/**
diff --git a/src/components/common/ChunkErrorBoundary.jsx b/src/components/common/ChunkErrorBoundary.jsx
index 19681b6d..ff80fda1 100644
--- a/src/components/common/ChunkErrorBoundary.jsx
+++ b/src/components/common/ChunkErrorBoundary.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import i18next from 'i18next';
import React from 'react';
import Loading from './ui/Loading';
diff --git a/src/components/common/DocumentRenderer/AgreementModal.jsx b/src/components/common/DocumentRenderer/AgreementModal.jsx
index 9f89b925..50cbcbb5 100644
--- a/src/components/common/DocumentRenderer/AgreementModal.jsx
+++ b/src/components/common/DocumentRenderer/AgreementModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { X as ActionX } from '@/components/common/icons/ActionIcons';
import React, { useState, useCallback } from 'react';
import { Modal } from '@/components/ui';
diff --git a/src/components/common/DocumentRenderer/index.jsx b/src/components/common/DocumentRenderer/index.jsx
index 45a4b9ba..72b50fe4 100644
--- a/src/components/common/DocumentRenderer/index.jsx
+++ b/src/components/common/DocumentRenderer/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
ChevronUp as ActionChevronUp,
ArrowLeft as ActionArrowLeft,
diff --git a/src/components/common/LobeHubIcon.jsx b/src/components/common/LobeHubIcon.jsx
index 4837aef4..fff6b437 100644
--- a/src/components/common/LobeHubIcon.jsx
+++ b/src/components/common/LobeHubIcon.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
OpenAI,
Claude,
diff --git a/src/components/common/LobeHubIcon.test.js b/src/components/common/LobeHubIcon.test.js
index af0dcd8d..03cc3367 100644
--- a/src/components/common/LobeHubIcon.test.js
+++ b/src/components/common/LobeHubIcon.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import { readFile } from 'node:fs/promises';
import { runInNewContext } from 'node:vm';
diff --git a/src/components/common/MapleBackground.jsx b/src/components/common/MapleBackground.jsx
index f3b903ac..0fe85c9a 100644
--- a/src/components/common/MapleBackground.jsx
+++ b/src/components/common/MapleBackground.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React, { useEffect, useRef } from 'react';
const MapleBackground = () => {
diff --git a/src/components/common/ModelSelector.jsx b/src/components/common/ModelSelector.jsx
index d61cdaaa..0d925953 100644
--- a/src/components/common/ModelSelector.jsx
+++ b/src/components/common/ModelSelector.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useRef } from 'react';
import { Select, Spin, Typography, Empty, Tag, Tooltip } from '@/components/ui';
import { Lock } from 'lucide-react';
diff --git a/src/components/common/OceanBackground.jsx b/src/components/common/OceanBackground.jsx
index 3cff15f1..35882a14 100644
--- a/src/components/common/OceanBackground.jsx
+++ b/src/components/common/OceanBackground.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React, { useEffect, useRef } from 'react';
/**
diff --git a/src/components/common/PageBackground.jsx b/src/components/common/PageBackground.jsx
index b3aa44d4..8766c87c 100644
--- a/src/components/common/PageBackground.jsx
+++ b/src/components/common/PageBackground.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
/**
diff --git a/src/components/common/PageGuide/index.jsx b/src/components/common/PageGuide/index.jsx
index 9024e96a..93542476 100644
--- a/src/components/common/PageGuide/index.jsx
+++ b/src/components/common/PageGuide/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
/*
* PageGuide —— 企业控制台页面级「使用指引」三层体系的可复用实现。
*
diff --git a/src/components/common/UserCenterBreadcrumb.jsx b/src/components/common/UserCenterBreadcrumb.jsx
index cad18d53..4c3f86df 100644
--- a/src/components/common/UserCenterBreadcrumb.jsx
+++ b/src/components/common/UserCenterBreadcrumb.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Breadcrumb } from 'antd';
import { useLocation } from 'react-router-dom';
diff --git a/src/components/common/UserCenterPageHeader.jsx b/src/components/common/UserCenterPageHeader.jsx
index f5e5fc5d..6c93063f 100644
--- a/src/components/common/UserCenterPageHeader.jsx
+++ b/src/components/common/UserCenterPageHeader.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import UserCenterBreadcrumb from './UserCenterBreadcrumb';
diff --git a/src/components/common/brand-icons/IconAvatar.jsx b/src/components/common/brand-icons/IconAvatar.jsx
index 40bb5fd6..1b5d14fa 100644
--- a/src/components/common/brand-icons/IconAvatar.jsx
+++ b/src/components/common/brand-icons/IconAvatar.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { forwardRef } from 'react';
import { Avatar, theme } from 'antd';
diff --git a/src/components/common/brand-icons/IconCombine.jsx b/src/components/common/brand-icons/IconCombine.jsx
index 63f00d5b..4c266e60 100644
--- a/src/components/common/brand-icons/IconCombine.jsx
+++ b/src/components/common/brand-icons/IconCombine.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { forwardRef } from 'react';
export default forwardRef(function IconCombine(
diff --git a/src/components/common/brand-icons/useThemeMode.js b/src/components/common/brand-icons/useThemeMode.js
index 240c8809..070c08a5 100644
--- a/src/components/common/brand-icons/useThemeMode.js
+++ b/src/components/common/brand-icons/useThemeMode.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useActualTheme } from '../../../context/Theme';
// Dify and Moonshot variants read the existing app theme without a second provider.
diff --git a/src/components/common/examples/ChannelKeyViewExample.jsx b/src/components/common/examples/ChannelKeyViewExample.jsx
index e6f7897b..32d0258b 100644
--- a/src/components/common/examples/ChannelKeyViewExample.jsx
+++ b/src/components/common/examples/ChannelKeyViewExample.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useState } from 'react';
import { useTranslation } from 'react-i18next';
import { Button, Modal } from '@/components/ui';
diff --git a/src/components/common/icons/ActionIcons.js b/src/components/common/icons/ActionIcons.js
index 6e994229..2c33f4ba 100644
--- a/src/components/common/icons/ActionIcons.js
+++ b/src/components/common/icons/ActionIcons.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { forwardRef } from 'react';
import {
AccountBookOutlined,
diff --git a/src/components/common/icons/BrandIcons.jsx b/src/components/common/icons/BrandIcons.jsx
index 3a30255d..87c2ca3c 100644
--- a/src/components/common/icons/BrandIcons.jsx
+++ b/src/components/common/icons/BrandIcons.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
// 微信图标 (已经存在于 WeChatIcon.jsx,但为了统一导入,这里也提供)
diff --git a/src/components/common/illustrations/index.jsx b/src/components/common/illustrations/index.jsx
index 0897868c..e072ac11 100644
--- a/src/components/common/illustrations/index.jsx
+++ b/src/components/common/illustrations/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
// ========== 无结果插图 ==========
diff --git a/src/components/common/logo/DiscordIcon.jsx b/src/components/common/logo/DiscordIcon.jsx
index d21f75e7..cd5ce923 100644
--- a/src/components/common/logo/DiscordIcon.jsx
+++ b/src/components/common/logo/DiscordIcon.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React from 'react';
const DiscordIcon = ({ style = {}, ...props }) => {
diff --git a/src/components/common/logo/DolphinLogo.jsx b/src/components/common/logo/DolphinLogo.jsx
index 57dc81aa..20cbd47b 100644
--- a/src/components/common/logo/DolphinLogo.jsx
+++ b/src/components/common/logo/DolphinLogo.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import './DolphinLogo.css';
diff --git a/src/components/common/logo/LinuxDoIcon.jsx b/src/components/common/logo/LinuxDoIcon.jsx
index f66711a3..4c51d4eb 100644
--- a/src/components/common/logo/LinuxDoIcon.jsx
+++ b/src/components/common/logo/LinuxDoIcon.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Icon } from '@/components/ui';
diff --git a/src/components/common/logo/OIDCIcon.jsx b/src/components/common/logo/OIDCIcon.jsx
index 981274ed..5f0797a2 100644
--- a/src/components/common/logo/OIDCIcon.jsx
+++ b/src/components/common/logo/OIDCIcon.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Icon } from '@/components/ui';
diff --git a/src/components/common/logo/WeChatIcon.jsx b/src/components/common/logo/WeChatIcon.jsx
index 9339385a..df509199 100644
--- a/src/components/common/logo/WeChatIcon.jsx
+++ b/src/components/common/logo/WeChatIcon.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Icon } from '@/components/ui';
diff --git a/src/components/common/logo/WeeLogo.jsx b/src/components/common/logo/WeeLogo.jsx
index 0da9c6c6..80ad00fc 100644
--- a/src/components/common/logo/WeeLogo.jsx
+++ b/src/components/common/logo/WeeLogo.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import './WeeLogo.css';
diff --git a/src/components/common/markdown/MarkdownRenderer.jsx b/src/components/common/markdown/MarkdownRenderer.jsx
index bf39aff9..5b3fc14f 100644
--- a/src/components/common/markdown/MarkdownRenderer.jsx
+++ b/src/components/common/markdown/MarkdownRenderer.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../../hooks/common/useEffectEvent';
import ReactMarkdown from 'react-markdown';
import 'katex/dist/katex.min.css';
diff --git a/src/components/common/modals/NewUserGiftModal.jsx b/src/components/common/modals/NewUserGiftModal.jsx
index 57e8805b..7ad17dba 100644
--- a/src/components/common/modals/NewUserGiftModal.jsx
+++ b/src/components/common/modals/NewUserGiftModal.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import {
X as ActionX,
ArrowRight as ActionArrowRight,
diff --git a/src/components/common/modals/SecureVerificationModal.jsx b/src/components/common/modals/SecureVerificationModal.jsx
index 36680740..ff0400d7 100644
--- a/src/components/common/modals/SecureVerificationModal.jsx
+++ b/src/components/common/modals/SecureVerificationModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useState } from 'react';
import { useTranslation } from 'react-i18next';
import {
diff --git a/src/components/common/modals/TwoFactorAuthModal.jsx b/src/components/common/modals/TwoFactorAuthModal.jsx
index 3180d4bb..4184be40 100644
--- a/src/components/common/modals/TwoFactorAuthModal.jsx
+++ b/src/components/common/modals/TwoFactorAuthModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { useTranslation } from 'react-i18next';
import { Modal, Button, Input, Typography } from '@/components/ui';
diff --git a/src/components/common/modals/UserSurveyModal.jsx b/src/components/common/modals/UserSurveyModal.jsx
index fa952f8a..efd3f528 100644
--- a/src/components/common/modals/UserSurveyModal.jsx
+++ b/src/components/common/modals/UserSurveyModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
X as ActionX,
ChevronRight as ActionChevronRight,
diff --git a/src/components/common/table/ColumnSettings.jsx b/src/components/common/table/ColumnSettings.jsx
index f81759c6..0c7675be 100644
--- a/src/components/common/table/ColumnSettings.jsx
+++ b/src/components/common/table/ColumnSettings.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Settings as ActionSettings } from '@/components/common/icons/ActionIcons';
import React, { useState } from 'react';
import { Alert, Button, Checkbox, Modal, Tooltip, theme } from 'antd';
diff --git a/src/components/common/table/FilterSearchButton.jsx b/src/components/common/table/FilterSearchButton.jsx
index d8cec433..6d9c4308 100644
--- a/src/components/common/table/FilterSearchButton.jsx
+++ b/src/components/common/table/FilterSearchButton.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Search as ActionSearch } from '@/components/common/icons/ActionIcons';
import React from 'react';
import { Button } from 'antd';
diff --git a/src/components/common/table/TableEmpty.jsx b/src/components/common/table/TableEmpty.jsx
index 3e48a7d8..e10fb1f3 100644
--- a/src/components/common/table/TableEmpty.jsx
+++ b/src/components/common/table/TableEmpty.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useLayoutEffect, useRef, useState } from 'react';
import { Empty } from 'antd';
import { useTranslation } from 'react-i18next';
diff --git a/src/components/common/table/TableToolbar.jsx b/src/components/common/table/TableToolbar.jsx
index d6935ecf..1aa14c03 100644
--- a/src/components/common/table/TableToolbar.jsx
+++ b/src/components/common/table/TableToolbar.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Button, Dropdown } from 'antd';
import { useTranslation } from 'react-i18next';
diff --git a/src/components/common/ui/CardPro.jsx b/src/components/common/ui/CardPro.jsx
index 7c54615b..9bdce1cf 100644
--- a/src/components/common/ui/CardPro.jsx
+++ b/src/components/common/ui/CardPro.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useState } from 'react';
import { Card, Divider, Button } from '@/components/ui';
import PropTypes from 'prop-types';
diff --git a/src/components/common/ui/CardTable.jsx b/src/components/common/ui/CardTable.jsx
index 4832c415..8e83ce45 100644
--- a/src/components/common/ui/CardTable.jsx
+++ b/src/components/common/ui/CardTable.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useState } from 'react';
import { useTranslation } from 'react-i18next';
import {
diff --git a/src/components/common/ui/ChannelKeyDisplay.jsx b/src/components/common/ui/ChannelKeyDisplay.jsx
index 4b166b37..a93703ee 100644
--- a/src/components/common/ui/ChannelKeyDisplay.jsx
+++ b/src/components/common/ui/ChannelKeyDisplay.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { useTranslation } from 'react-i18next';
import { Card, Button, Typography, Tag } from '@/components/ui';
diff --git a/src/components/common/ui/CompactModeToggle.jsx b/src/components/common/ui/CompactModeToggle.jsx
index ce4129aa..0c3ce7e0 100644
--- a/src/components/common/ui/CompactModeToggle.jsx
+++ b/src/components/common/ui/CompactModeToggle.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Button } from '@/components/ui';
import PropTypes from 'prop-types';
diff --git a/src/components/common/ui/JSONEditor.jsx b/src/components/common/ui/JSONEditor.jsx
index 51ea9ed0..b60acdf6 100644
--- a/src/components/common/ui/JSONEditor.jsx
+++ b/src/components/common/ui/JSONEditor.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useState, useEffect, useCallback, useMemo } from 'react';
import { useTranslation } from 'react-i18next';
import {
diff --git a/src/components/common/ui/Loading.jsx b/src/components/common/ui/Loading.jsx
index 05021bab..f7d9eba3 100644
--- a/src/components/common/ui/Loading.jsx
+++ b/src/components/common/ui/Loading.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React, { useEffect, useMemo, useState } from 'react';
import i18next from 'i18next';
diff --git a/src/components/common/ui/QuotaInput.jsx b/src/components/common/ui/QuotaInput.jsx
index 681c068e..ab4450d6 100644
--- a/src/components/common/ui/QuotaInput.jsx
+++ b/src/components/common/ui/QuotaInput.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useRef, useState } from 'react';
import { InputNumber, withField } from '@/components/ui';
import { useTranslation } from 'react-i18next';
diff --git a/src/components/common/ui/RenderUtils.jsx b/src/components/common/ui/RenderUtils.jsx
index a3f2b3af..54b1ef27 100644
--- a/src/components/common/ui/RenderUtils.jsx
+++ b/src/components/common/ui/RenderUtils.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Space, Tag, Typography, Popover } from '@/components/ui';
diff --git a/src/components/common/ui/RichTextEditor.jsx b/src/components/common/ui/RichTextEditor.jsx
index 2fa930d8..00053c58 100644
--- a/src/components/common/ui/RichTextEditor.jsx
+++ b/src/components/common/ui/RichTextEditor.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useTranslation } from 'react-i18next';
import React, { useEffect, useRef, useState } from 'react';
import Quill, { Delta } from 'quill/core';
diff --git a/src/components/common/ui/ScrollableContainer.jsx b/src/components/common/ui/ScrollableContainer.jsx
index ec2d8fd3..df67a333 100644
--- a/src/components/common/ui/ScrollableContainer.jsx
+++ b/src/components/common/ui/ScrollableContainer.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, {
useRef,
useState,
diff --git a/src/components/common/ui/SelectableButtonGroup.jsx b/src/components/common/ui/SelectableButtonGroup.jsx
index 000b6051..13af2e8c 100644
--- a/src/components/common/ui/SelectableButtonGroup.jsx
+++ b/src/components/common/ui/SelectableButtonGroup.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useState, useRef, useEffect } from 'react';
import { useMinimumLoadingTime } from '../../../hooks/common/useMinimumLoadingTime';
import { useContainerWidth } from '../../../hooks/common/useContainerWidth';
diff --git a/src/components/common/ui/richTextContent.js b/src/components/common/ui/richTextContent.js
index f0f889b5..253df961 100644
--- a/src/components/common/ui/richTextContent.js
+++ b/src/components/common/ui/richTextContent.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { articleImageSource } from './richTextImages.js';
const TAGS = new Set([
diff --git a/src/components/common/ui/richTextImages.js b/src/components/common/ui/richTextImages.js
index 837e02a3..d0ff1e17 100644
--- a/src/components/common/ui/richTextImages.js
+++ b/src/components/common/ui/richTextImages.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
export const ARTICLE_IMAGE_LIMIT = 2 * 1024 * 1024;
export const ARTICLE_IMAGE_TYPES = [
'image/jpeg',
diff --git a/src/components/common/ui/richTextLength.js b/src/components/common/ui/richTextLength.js
index 437200ab..5a643c19 100644
--- a/src/components/common/ui/richTextLength.js
+++ b/src/components/common/ui/richTextLength.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { decodeHTML } from 'entities';
export const ARTICLE_BODY_LIMIT = 20000;
diff --git a/src/components/console/ConsoleCollection.jsx b/src/components/console/ConsoleCollection.jsx
index 66b71dac..7e19c545 100644
--- a/src/components/console/ConsoleCollection.jsx
+++ b/src/components/console/ConsoleCollection.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useState } from 'react';
import { Button } from 'antd';
import { useTranslation } from 'react-i18next';
diff --git a/src/components/console/ConsoleContext.jsx b/src/components/console/ConsoleContext.jsx
index becc7b74..c190ccff 100644
--- a/src/components/console/ConsoleContext.jsx
+++ b/src/components/console/ConsoleContext.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { createContext, useContext } from 'react';
import { theme } from 'antd';
diff --git a/src/components/console/ConsoleModuleFilters.jsx b/src/components/console/ConsoleModuleFilters.jsx
index d292c7d1..371dbd00 100644
--- a/src/components/console/ConsoleModuleFilters.jsx
+++ b/src/components/console/ConsoleModuleFilters.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useId } from 'react';
import { Button } from 'antd';
import { useTranslation } from 'react-i18next';
diff --git a/src/components/console/ConsolePageContainer.jsx b/src/components/console/ConsolePageContainer.jsx
index 8a5f858c..725f76ed 100644
--- a/src/components/console/ConsolePageContainer.jsx
+++ b/src/components/console/ConsolePageContainer.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useMemo, useState } from 'react';
import { createPortal } from 'react-dom';
import { Breadcrumb } from 'antd';
diff --git a/src/components/console/ConsolePrimitives.jsx b/src/components/console/ConsolePrimitives.jsx
index f3d67c51..139d96dc 100644
--- a/src/components/console/ConsolePrimitives.jsx
+++ b/src/components/console/ConsolePrimitives.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { forwardRef } from 'react';
import Table from '../ui/CenterActionTable';
import {
diff --git a/src/components/console/consoleRoutes.js b/src/components/console/consoleRoutes.js
index 9dbd2eb6..20dccf7b 100644
--- a/src/components/console/consoleRoutes.js
+++ b/src/components/console/consoleRoutes.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// Presentation metadata only. Route guards and feature visibility remain in App/SiderBar.
export const consolePages = [
{
diff --git a/src/components/console/consoleTableAdapter.js b/src/components/console/consoleTableAdapter.js
index abc62525..df8b5a29 100644
--- a/src/components/console/consoleTableAdapter.js
+++ b/src/components/console/consoleTableAdapter.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export function toConsoleTableChange(pagination, filters, sorter, extra) {
const normalize = (value) => ({
...value,
diff --git a/src/components/creation/CompareSummary.jsx b/src/components/creation/CompareSummary.jsx
index c473d9a2..fbe2e43c 100644
--- a/src/components/creation/CompareSummary.jsx
+++ b/src/components/creation/CompareSummary.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Button, Modal, Spin } from '@/components/ui';
import { AlertTriangle } from 'lucide-react';
diff --git a/src/components/creation/CreationDock.jsx b/src/components/creation/CreationDock.jsx
index 97fa962c..dabafc49 100644
--- a/src/components/creation/CreationDock.jsx
+++ b/src/components/creation/CreationDock.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { LayoutTemplate as ActionLayoutTemplate } from '@/components/common/icons/ActionIcons';
import { Image as TemplateImageIcon } from '@/components/common/icons/ActionIcons';
import {
diff --git a/src/components/creation/CreationGuide.jsx b/src/components/creation/CreationGuide.jsx
index bac931b9..be652699 100644
--- a/src/components/creation/CreationGuide.jsx
+++ b/src/components/creation/CreationGuide.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useMemo, useState } from 'react';
import Joyride, { EVENTS, STATUS } from 'react-joyride';
import { useTranslation } from 'react-i18next';
diff --git a/src/components/creation/CreationStudio.jsx b/src/components/creation/CreationStudio.jsx
index 821fefa1..f1b5edc2 100644
--- a/src/components/creation/CreationStudio.jsx
+++ b/src/components/creation/CreationStudio.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, {
useCallback,
useContext,
diff --git a/src/components/creation/ModelPicker/ModelPicker.jsx b/src/components/creation/ModelPicker/ModelPicker.jsx
index 88668b2d..42657c66 100644
--- a/src/components/creation/ModelPicker/ModelPicker.jsx
+++ b/src/components/creation/ModelPicker/ModelPicker.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
Lock as ActionLock,
ChevronDown as ActionChevronDown,
diff --git a/src/components/creation/ModelPicker/ModelPickerPanel.jsx b/src/components/creation/ModelPicker/ModelPickerPanel.jsx
index e25507e5..b0c36512 100644
--- a/src/components/creation/ModelPicker/ModelPickerPanel.jsx
+++ b/src/components/creation/ModelPicker/ModelPickerPanel.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useId, useMemo, useRef, useState } from 'react';
import { Button, Skeleton, Switch } from '@/components/ui';
import { Check, Clock, Columns2, Lock, Search, Square } from 'lucide-react';
diff --git a/src/components/creation/ModelPicker/index.js b/src/components/creation/ModelPicker/index.js
index b07cd40c..e0c81e1c 100644
--- a/src/components/creation/ModelPicker/index.js
+++ b/src/components/creation/ModelPicker/index.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export { default } from './ModelPicker';
export { default as ModelPicker } from './ModelPicker';
export { default as ModelPickerPanel } from './ModelPickerPanel';
diff --git a/src/components/creation/ModelPicker/model-picker.css b/src/components/creation/ModelPicker/model-picker.css
index 23bc432f..79f3b455 100644
--- a/src/components/creation/ModelPicker/model-picker.css
+++ b/src/components/creation/ModelPicker/model-picker.css
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
/* 模型选择器(WP B-4):配色全部从主题 token 派生。 */
.mp-trigger,
.mp-panel {
diff --git a/src/components/creation/ModelPicker/modelPickerUtils.js b/src/components/creation/ModelPicker/modelPickerUtils.js
index 7f06da43..f451291c 100644
--- a/src/components/creation/ModelPicker/modelPickerUtils.js
+++ b/src/components/creation/ModelPicker/modelPickerUtils.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 模型选择器(WP B-4)的纯函数:分组、搜索、能力标签、单价、不兼容原因、最近使用。
// 无 React / i18n 依赖(文案以 i18n key + 插值返回),可直接 node --test。
diff --git a/src/components/creation/ModelPicker/modelPickerUtils.test.js b/src/components/creation/ModelPicker/modelPickerUtils.test.js
index 8b7d4c12..fd0b4976 100644
--- a/src/components/creation/ModelPicker/modelPickerUtils.test.js
+++ b/src/components/creation/ModelPicker/modelPickerUtils.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import {
diff --git a/src/components/creation/WorkFeed/ApiCodePanel.jsx b/src/components/creation/WorkFeed/ApiCodePanel.jsx
index 7b843352..15fbc7b1 100644
--- a/src/components/creation/WorkFeed/ApiCodePanel.jsx
+++ b/src/components/creation/WorkFeed/ApiCodePanel.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
Code2 as ActionCode2,
ChevronDown as ActionChevronDown,
diff --git a/src/components/creation/WorkFeed/FilterBar.jsx b/src/components/creation/WorkFeed/FilterBar.jsx
index 37cc4484..c8efc4cb 100644
--- a/src/components/creation/WorkFeed/FilterBar.jsx
+++ b/src/components/creation/WorkFeed/FilterBar.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { GitCompare as ActionGitCompare } from '@/components/common/icons/ActionIcons';
import {
Star as ActionStar,
diff --git a/src/components/creation/WorkFeed/WorkCard.jsx b/src/components/creation/WorkFeed/WorkCard.jsx
index ff6172f8..907219b8 100644
--- a/src/components/creation/WorkFeed/WorkCard.jsx
+++ b/src/components/creation/WorkFeed/WorkCard.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
RefreshCw as ActionRefreshCw,
Check as ActionCheck,
diff --git a/src/components/creation/WorkFeed/WorkDetailDrawer.jsx b/src/components/creation/WorkFeed/WorkDetailDrawer.jsx
index fd03e11a..7b044b99 100644
--- a/src/components/creation/WorkFeed/WorkDetailDrawer.jsx
+++ b/src/components/creation/WorkFeed/WorkDetailDrawer.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
Star as ActionStar,
Copy as ActionCopy,
diff --git a/src/components/creation/WorkFeed/WorkFeed.jsx b/src/components/creation/WorkFeed/WorkFeed.jsx
index c3962be4..10a3a023 100644
--- a/src/components/creation/WorkFeed/WorkFeed.jsx
+++ b/src/components/creation/WorkFeed/WorkFeed.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Image as TemplateImageIcon } from '@/components/common/icons/ActionIcons';
import React, {
useCallback,
diff --git a/src/components/creation/WorkFeed/work-feed.css b/src/components/creation/WorkFeed/work-feed.css
index b7722afc..4a4b5941 100644
--- a/src/components/creation/WorkFeed/work-feed.css
+++ b/src/components/creation/WorkFeed/work-feed.css
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
/*
* 作品流(WP B-6,方案 §4.1 / §4.4 / §4.5)。
* 配色全部从 --studio-*(creation.css)与语义 token 派生;不画整页背景。
diff --git a/src/components/creation/batchConfirm.js b/src/components/creation/batchConfirm.js
index 067789ef..d849654b 100644
--- a/src/components/creation/batchConfirm.js
+++ b/src/components/creation/batchConfirm.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Modal } from '@/components/ui';
import { formatQuoteAmount } from '../../hooks/creation/useCreationQuote';
diff --git a/src/components/creation/creation.css b/src/components/creation/creation.css
index 6537ad60..25046011 100644
--- a/src/components/creation/creation.css
+++ b/src/components/creation/creation.css
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
/*
* 新创作台外壳(WP B-2,方案 §4.1):头部 / 全宽作品流 / 底部创作台。
* - 整页背景由父级 ExperienceCenter 的 提供,这里不画背景。
diff --git a/src/components/creation/params/ChipGroup.jsx b/src/components/creation/params/ChipGroup.jsx
index 52b6ce98..1fce2936 100644
--- a/src/components/creation/params/ChipGroup.jsx
+++ b/src/components/creation/params/ChipGroup.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { useTranslation } from 'react-i18next';
import OptionGroup from './OptionGroup';
diff --git a/src/components/creation/params/DurationSegmented.jsx b/src/components/creation/params/DurationSegmented.jsx
index 176e8597..7f7fc4f9 100644
--- a/src/components/creation/params/DurationSegmented.jsx
+++ b/src/components/creation/params/DurationSegmented.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { useTranslation } from 'react-i18next';
import OptionGroup from './OptionGroup';
diff --git a/src/components/creation/params/ImageSlot.jsx b/src/components/creation/params/ImageSlot.jsx
index a42a4129..f24fd8ec 100644
--- a/src/components/creation/params/ImageSlot.jsx
+++ b/src/components/creation/params/ImageSlot.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
RotateCcw as ActionRotateCcw,
X as ActionX,
diff --git a/src/components/creation/params/OptionGroup.jsx b/src/components/creation/params/OptionGroup.jsx
index 1851c923..6f7e1619 100644
--- a/src/components/creation/params/OptionGroup.jsx
+++ b/src/components/creation/params/OptionGroup.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useRef } from 'react';
import { Tooltip } from '@/components/ui';
import { optionKey, optionValue } from './constraints';
diff --git a/src/components/creation/params/ParamRenderer.jsx b/src/components/creation/params/ParamRenderer.jsx
index cbe484b2..5eaaca69 100644
--- a/src/components/creation/params/ParamRenderer.jsx
+++ b/src/components/creation/params/ParamRenderer.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useMemo } from 'react';
import { useTranslation } from 'react-i18next';
import RatioPicker from './RatioPicker';
diff --git a/src/components/creation/params/ParamSelect.jsx b/src/components/creation/params/ParamSelect.jsx
index 65db5d6b..a342c3c0 100644
--- a/src/components/creation/params/ParamSelect.jsx
+++ b/src/components/creation/params/ParamSelect.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useMemo } from 'react';
import { Select, Tooltip } from '@/components/ui';
import { useTranslation } from 'react-i18next';
diff --git a/src/components/creation/params/ParamSlider.jsx b/src/components/creation/params/ParamSlider.jsx
index f1b98267..2ea3edc9 100644
--- a/src/components/creation/params/ParamSlider.jsx
+++ b/src/components/creation/params/ParamSlider.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Slider, Tooltip } from '@/components/ui';
import { useTranslation } from 'react-i18next';
diff --git a/src/components/creation/params/ParamSwitch.jsx b/src/components/creation/params/ParamSwitch.jsx
index 138eda4e..8fa7d2cb 100644
--- a/src/components/creation/params/ParamSwitch.jsx
+++ b/src/components/creation/params/ParamSwitch.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Switch, Tooltip } from '@/components/ui';
import { useTranslation } from 'react-i18next';
diff --git a/src/components/creation/params/ParamTextArea.jsx b/src/components/creation/params/ParamTextArea.jsx
index fa2e7de8..762d8d38 100644
--- a/src/components/creation/params/ParamTextArea.jsx
+++ b/src/components/creation/params/ParamTextArea.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { TextArea, Tooltip } from '@/components/ui';
import { useTranslation } from 'react-i18next';
diff --git a/src/components/creation/params/RatioPicker.jsx b/src/components/creation/params/RatioPicker.jsx
index de6e5be6..bac80629 100644
--- a/src/components/creation/params/RatioPicker.jsx
+++ b/src/components/creation/params/RatioPicker.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { useTranslation } from 'react-i18next';
import OptionGroup from './OptionGroup';
diff --git a/src/components/creation/params/SeedInput.jsx b/src/components/creation/params/SeedInput.jsx
index 7c726773..e5d1067a 100644
--- a/src/components/creation/params/SeedInput.jsx
+++ b/src/components/creation/params/SeedInput.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useRef } from 'react';
import { InputNumber, Switch, Tooltip } from '@/components/ui';
import { Dices } from 'lucide-react';
diff --git a/src/components/creation/params/constraints.js b/src/components/creation/params/constraints.js
index bb6d6ac6..11081c55 100644
--- a/src/components/creation/params/constraints.js
+++ b/src/components/creation/params/constraints.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 创作参数 schema 的纯函数工具(无 React / 无 i18n 依赖,可直接 node --test)。
//
// schema 约定见 docs/11-前端与体验中心/12-体验中心图像与视频生成升级改造方案.md §3.1:
diff --git a/src/components/creation/params/constraints.test.js b/src/components/creation/params/constraints.test.js
index 4f210b6a..7c8d9661 100644
--- a/src/components/creation/params/constraints.test.js
+++ b/src/components/creation/params/constraints.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import {
diff --git a/src/components/creation/params/index.js b/src/components/creation/params/index.js
index fffcfc8f..4487b47f 100644
--- a/src/components/creation/params/index.js
+++ b/src/components/creation/params/index.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export { default as ParamRenderer, PARAM_CONTROLS } from './ParamRenderer';
export { default as OptionGroup } from './OptionGroup';
export { default as RatioPicker, RatioShape } from './RatioPicker';
diff --git a/src/components/creation/params/labels.js b/src/components/creation/params/labels.js
index 6b56c1c8..fb92b1fd 100644
--- a/src/components/creation/params/labels.js
+++ b/src/components/creation/params/labels.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { optionKey, optionValue } from './constraints';
// 已知参数 key 的中文标签(作为 i18n key)。schema 下发了 label 时优先用 label。
diff --git a/src/components/creation/viewport.js b/src/components/creation/viewport.js
index 7a2fc708..2c9d4527 100644
--- a/src/components/creation/viewport.js
+++ b/src/components/creation/viewport.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 底部抽屉高度:支持 dvh 时用动态视口单位(iOS Safari / 微信 H5 地址栏伸缩、键盘弹起时不被裁切),
// 旧内核(不支持 dvh 的 X5 / 旧 WebView)回退 vh——内联样式里写不支持的单位会整条失效。
const SUPPORTS_DVH = (() => {
diff --git a/src/components/customer-service/CustomerServiceQRCard.jsx b/src/components/customer-service/CustomerServiceQRCard.jsx
index df29921f..a37d1cea 100644
--- a/src/components/customer-service/CustomerServiceQRCard.jsx
+++ b/src/components/customer-service/CustomerServiceQRCard.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { MessageCircle as ActionMessageCircle } from '@/components/common/icons/ActionIcons';
import React, { useState, useEffect } from 'react';
import { Avatar, Button } from '@/components/ui';
diff --git a/src/components/customer-service/index.jsx b/src/components/customer-service/index.jsx
index bf7dc074..0ffc9a14 100644
--- a/src/components/customer-service/index.jsx
+++ b/src/components/customer-service/index.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import {
Headphones as ActionHeadphones,
ChevronLeft as ActionChevronLeft,
diff --git a/src/components/dashboard/AnnouncementsPanel.jsx b/src/components/dashboard/AnnouncementsPanel.jsx
index e0da336b..0763fb84 100644
--- a/src/components/dashboard/AnnouncementsPanel.jsx
+++ b/src/components/dashboard/AnnouncementsPanel.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Card, Tag, Timeline, Empty } from '@/components/ui';
import { Bell } from 'lucide-react';
diff --git a/src/components/dashboard/ApiInfoPanel.jsx b/src/components/dashboard/ApiInfoPanel.jsx
index f1c7c8d2..ffe5fd83 100644
--- a/src/components/dashboard/ApiInfoPanel.jsx
+++ b/src/components/dashboard/ApiInfoPanel.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Card, Avatar, Tag, Divider, Empty } from '@/components/ui';
import { Server, Gauge, ExternalLink } from 'lucide-react';
diff --git a/src/components/dashboard/ChartsPanel.jsx b/src/components/dashboard/ChartsPanel.jsx
index 4123ec3b..866f72b0 100644
--- a/src/components/dashboard/ChartsPanel.jsx
+++ b/src/components/dashboard/ChartsPanel.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useMemo } from 'react';
import { Card } from 'antd';
import { AreaChart, Trophy } from 'lucide-react';
diff --git a/src/components/dashboard/DashboardHeader.jsx b/src/components/dashboard/DashboardHeader.jsx
index ba3a04b1..1ffe17ec 100644
--- a/src/components/dashboard/DashboardHeader.jsx
+++ b/src/components/dashboard/DashboardHeader.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
Search as ActionSearch,
RefreshCw as ActionRefreshCw,
diff --git a/src/components/dashboard/FaqPanel.jsx b/src/components/dashboard/FaqPanel.jsx
index 1c71129a..5e6d0e91 100644
--- a/src/components/dashboard/FaqPanel.jsx
+++ b/src/components/dashboard/FaqPanel.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Card, Collapse, Empty } from '@/components/ui';
import { HelpCircle } from 'lucide-react';
diff --git a/src/components/dashboard/StatsCards.jsx b/src/components/dashboard/StatsCards.jsx
index f87012fd..cbe7a876 100644
--- a/src/components/dashboard/StatsCards.jsx
+++ b/src/components/dashboard/StatsCards.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Card, Skeleton } from 'antd';
import { VChart } from '@visactor/react-vchart';
diff --git a/src/components/dashboard/UptimePanel.jsx b/src/components/dashboard/UptimePanel.jsx
index 536ef972..b5eb14ed 100644
--- a/src/components/dashboard/UptimePanel.jsx
+++ b/src/components/dashboard/UptimePanel.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { RefreshCw as ActionRefreshCw } from '@/components/common/icons/ActionIcons';
import React from 'react';
import { Card, Button, Spin, Tabs, TabPane, Tag, Empty } from '@/components/ui';
diff --git a/src/components/dashboard/index.jsx b/src/components/dashboard/index.jsx
index e81f563e..629922a7 100644
--- a/src/components/dashboard/index.jsx
+++ b/src/components/dashboard/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../hooks/common/useEffectEvent';
import React, { useContext, useEffect } from 'react';
import { getRelativeTime } from '../../helpers';
diff --git a/src/components/dashboard/modals/SearchModal.jsx b/src/components/dashboard/modals/SearchModal.jsx
index a75fe1b9..64d86700 100644
--- a/src/components/dashboard/modals/SearchModal.jsx
+++ b/src/components/dashboard/modals/SearchModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
X as ActionX,
Search as ActionSearch,
diff --git a/src/components/dashboard/modals/UserDashboardFilterModal.jsx b/src/components/dashboard/modals/UserDashboardFilterModal.jsx
index 16d456d2..34d768ff 100644
--- a/src/components/dashboard/modals/UserDashboardFilterModal.jsx
+++ b/src/components/dashboard/modals/UserDashboardFilterModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { DatePicker, Form, Input, Modal, Select } from 'antd';
import dayjs from 'dayjs';
diff --git a/src/components/layout/Footer.jsx b/src/components/layout/Footer.jsx
index eae134f7..ae24e989 100644
--- a/src/components/layout/Footer.jsx
+++ b/src/components/layout/Footer.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
const FooterBar = () => {
// 全局隐藏页脚
return null;
diff --git a/src/components/layout/Marquee.jsx b/src/components/layout/Marquee.jsx
index 68d92c3c..c230a5bd 100644
--- a/src/components/layout/Marquee.jsx
+++ b/src/components/layout/Marquee.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { X as ActionX } from '@/components/common/icons/ActionIcons';
import React, { useContext, useMemo, useRef, useState, useEffect } from 'react';
import { StatusContext } from '../../context/Status';
diff --git a/src/components/layout/NoticeModal.jsx b/src/components/layout/NoticeModal.jsx
index f6bfbe52..d45875b4 100644
--- a/src/components/layout/NoticeModal.jsx
+++ b/src/components/layout/NoticeModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useState, useContext, useMemo } from 'react';
import {
Badge,
diff --git a/src/components/layout/PageLayout.jsx b/src/components/layout/PageLayout.jsx
index 4267d177..bcb0c92c 100644
--- a/src/components/layout/PageLayout.jsx
+++ b/src/components/layout/PageLayout.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../hooks/common/useEffectEvent';
import { Layout } from '@/components/ui';
import App from '../../App';
diff --git a/src/components/layout/SetupCheck.js b/src/components/layout/SetupCheck.js
index a1a5cd5f..ec2430d0 100644
--- a/src/components/layout/SetupCheck.js
+++ b/src/components/layout/SetupCheck.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useContext, useEffect } from 'react';
import { useLocation } from 'react-router-dom';
import { StatusContext } from '../../context/Status';
diff --git a/src/components/layout/SiderBar.jsx b/src/components/layout/SiderBar.jsx
index 68554acf..4921e281 100644
--- a/src/components/layout/SiderBar.jsx
+++ b/src/components/layout/SiderBar.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
ChevronDown as ActionChevronDown,
ChevronRight as ActionChevronRight,
diff --git a/src/components/layout/components/SkeletonWrapper.jsx b/src/components/layout/components/SkeletonWrapper.jsx
index 3c9788bd..0b0e3414 100644
--- a/src/components/layout/components/SkeletonWrapper.jsx
+++ b/src/components/layout/components/SkeletonWrapper.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Skeleton } from '@/components/ui';
diff --git a/src/components/layout/headerbar/ActionButtons.jsx b/src/components/layout/headerbar/ActionButtons.jsx
index ccb31c29..e62ee3d4 100644
--- a/src/components/layout/headerbar/ActionButtons.jsx
+++ b/src/components/layout/headerbar/ActionButtons.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useState, useContext } from 'react';
import { Link } from 'react-router-dom';
import { isMiniProgramWebView } from '../../../helpers/miniProgram';
diff --git a/src/components/layout/headerbar/HeaderLogo.jsx b/src/components/layout/headerbar/HeaderLogo.jsx
index e42cdc92..0a54ed91 100644
--- a/src/components/layout/headerbar/HeaderLogo.jsx
+++ b/src/components/layout/headerbar/HeaderLogo.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Link } from 'react-router-dom';
import { Tag } from '@/components/ui';
diff --git a/src/components/layout/headerbar/LanguageSelector.jsx b/src/components/layout/headerbar/LanguageSelector.jsx
index bbc92152..08167642 100644
--- a/src/components/layout/headerbar/LanguageSelector.jsx
+++ b/src/components/layout/headerbar/LanguageSelector.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Globe as ActionGlobe } from '@/components/common/icons/ActionIcons';
import React, { useEffect, useState } from 'react';
import { Button as AntButton, Dropdown } from 'antd';
diff --git a/src/components/layout/headerbar/MobileMenuButton.jsx b/src/components/layout/headerbar/MobileMenuButton.jsx
index 8e5bf92a..4238cffc 100644
--- a/src/components/layout/headerbar/MobileMenuButton.jsx
+++ b/src/components/layout/headerbar/MobileMenuButton.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Button } from '@/components/ui';
import { IconClose, IconMenu } from '@/components/ui/icons';
diff --git a/src/components/layout/headerbar/MobileNavMenu.jsx b/src/components/layout/headerbar/MobileNavMenu.jsx
index 68103a88..515c8ba0 100644
--- a/src/components/layout/headerbar/MobileNavMenu.jsx
+++ b/src/components/layout/headerbar/MobileNavMenu.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Compass as ActionCompass } from '@/components/common/icons/ActionIcons';
import React, { useState } from 'react';
import { useLocation, useNavigate } from 'react-router-dom';
diff --git a/src/components/layout/headerbar/Navigation.jsx b/src/components/layout/headerbar/Navigation.jsx
index 2e96b3d6..37524929 100644
--- a/src/components/layout/headerbar/Navigation.jsx
+++ b/src/components/layout/headerbar/Navigation.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Link, useLocation } from 'react-router-dom';
import { Dropdown } from 'antd';
diff --git a/src/components/layout/headerbar/NewYearButton.jsx b/src/components/layout/headerbar/NewYearButton.jsx
index dea03813..5354486c 100644
--- a/src/components/layout/headerbar/NewYearButton.jsx
+++ b/src/components/layout/headerbar/NewYearButton.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { I18N_TECHNICAL_TEXT } from '../../../i18n/technicalText.js';
import React from 'react';
import { Button as AntButton } from 'antd';
diff --git a/src/components/layout/headerbar/NotificationButton.jsx b/src/components/layout/headerbar/NotificationButton.jsx
index f3ebd945..fa541c16 100644
--- a/src/components/layout/headerbar/NotificationButton.jsx
+++ b/src/components/layout/headerbar/NotificationButton.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Volume1 as ActionVolume1 } from '@/components/common/icons/ActionIcons';
import React from 'react';
import { Badge, Button, Tooltip } from 'antd';
diff --git a/src/components/layout/headerbar/ThemeToggle.jsx b/src/components/layout/headerbar/ThemeToggle.jsx
index 4a12c084..20c53215 100644
--- a/src/components/layout/headerbar/ThemeToggle.jsx
+++ b/src/components/layout/headerbar/ThemeToggle.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Button, Tooltip } from 'antd';
import { Moon, Sun } from '../../common/icons/ActionIcons';
diff --git a/src/components/layout/headerbar/UserArea.jsx b/src/components/layout/headerbar/UserArea.jsx
index 1d61a8e9..5693d282 100644
--- a/src/components/layout/headerbar/UserArea.jsx
+++ b/src/components/layout/headerbar/UserArea.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { ChevronDown as ActionChevronDown } from '@/components/common/icons/ActionIcons';
import React, { useState } from 'react';
import { Avatar, Button as AntButton, Dropdown as AntDropdown } from 'antd';
diff --git a/src/components/layout/headerbar/index.jsx b/src/components/layout/headerbar/index.jsx
index 8ea22c01..10df1c78 100644
--- a/src/components/layout/headerbar/index.jsx
+++ b/src/components/layout/headerbar/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { useLocation } from 'react-router-dom';
import { isAuthPagePath } from '../../../helpers';
diff --git a/src/components/membership/MembershipHistoryModal.jsx b/src/components/membership/MembershipHistoryModal.jsx
index 973eef08..fb2d8d3b 100644
--- a/src/components/membership/MembershipHistoryModal.jsx
+++ b/src/components/membership/MembershipHistoryModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useState, useEffect, useCallback, useRef } from 'react';
import { Empty as AntEmpty, Tag as AntTag } from 'antd';
import { Modal, Table, Typography, Pagination, Toast } from '@/components/ui';
diff --git a/src/components/playground/ChatArea.jsx b/src/components/playground/ChatArea.jsx
index 7fc6941b..71f61875 100644
--- a/src/components/playground/ChatArea.jsx
+++ b/src/components/playground/ChatArea.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
import {
EyeOff as ActionEyeOff,
diff --git a/src/components/playground/CodeViewer.jsx b/src/components/playground/CodeViewer.jsx
index 04569f92..82b083d9 100644
--- a/src/components/playground/CodeViewer.jsx
+++ b/src/components/playground/CodeViewer.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
import {
Copy as ActionCopy,
diff --git a/src/components/playground/ConfigManager.jsx b/src/components/playground/ConfigManager.jsx
index 8683e465..e86f3f9a 100644
--- a/src/components/playground/ConfigManager.jsx
+++ b/src/components/playground/ConfigManager.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
Settings2 as ActionSettings2,
RotateCcw as ActionRotateCcw,
diff --git a/src/components/playground/CustomInputRender.jsx b/src/components/playground/CustomInputRender.jsx
index 3a537193..eb031ee5 100644
--- a/src/components/playground/CustomInputRender.jsx
+++ b/src/components/playground/CustomInputRender.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
import {
AlertTriangle as ActionAlertTriangle,
diff --git a/src/components/playground/CustomRequestEditor.jsx b/src/components/playground/CustomRequestEditor.jsx
index b0a83140..76f20251 100644
--- a/src/components/playground/CustomRequestEditor.jsx
+++ b/src/components/playground/CustomRequestEditor.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
import { Edit as ActionEdit } from '@/components/common/icons/ActionIcons';
import { useEffectEvent } from '../../hooks/common/useEffectEvent';
diff --git a/src/components/playground/DebugPanel.jsx b/src/components/playground/DebugPanel.jsx
index 563d5509..41251570 100644
--- a/src/components/playground/DebugPanel.jsx
+++ b/src/components/playground/DebugPanel.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
import { X as ActionX } from '@/components/common/icons/ActionIcons';
import React, { useState, useEffect } from 'react';
diff --git a/src/components/playground/FilePreviewModal.jsx b/src/components/playground/FilePreviewModal.jsx
index 2bf77ece..2d3d96fd 100644
--- a/src/components/playground/FilePreviewModal.jsx
+++ b/src/components/playground/FilePreviewModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
ExternalLink as ActionExternalLink,
Download as ActionDownload,
diff --git a/src/components/playground/FloatingButtons.jsx b/src/components/playground/FloatingButtons.jsx
index 3160ab41..845d2e76 100644
--- a/src/components/playground/FloatingButtons.jsx
+++ b/src/components/playground/FloatingButtons.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
Settings as ActionSettings,
EyeOff as ActionEyeOff,
diff --git a/src/components/playground/ImagePreviewModal.jsx b/src/components/playground/ImagePreviewModal.jsx
index 2c5c8400..d04d42a3 100644
--- a/src/components/playground/ImagePreviewModal.jsx
+++ b/src/components/playground/ImagePreviewModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useTranslation } from 'react-i18next';
import {
ZoomOut as ActionZoomOut,
diff --git a/src/components/playground/ImageUrlInput.jsx b/src/components/playground/ImageUrlInput.jsx
index 2f61a542..0c2d0b6e 100644
--- a/src/components/playground/ImageUrlInput.jsx
+++ b/src/components/playground/ImageUrlInput.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Trans } from 'react-i18next';
import {
Plus as ActionPlus,
diff --git a/src/components/playground/KeyboardShortcutsModal.jsx b/src/components/playground/KeyboardShortcutsModal.jsx
index 70179f03..83036204 100644
--- a/src/components/playground/KeyboardShortcutsModal.jsx
+++ b/src/components/playground/KeyboardShortcutsModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useMemo } from 'react';
import { Modal } from '@/components/ui';
import { Keyboard } from 'lucide-react';
diff --git a/src/components/playground/MessageActions.jsx b/src/components/playground/MessageActions.jsx
index bcec4700..d6a353c7 100644
--- a/src/components/playground/MessageActions.jsx
+++ b/src/components/playground/MessageActions.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
RefreshCw as ActionRefreshCw,
Copy as ActionCopy,
diff --git a/src/components/playground/MessageContent.jsx b/src/components/playground/MessageContent.jsx
index 126163f2..73d5d943 100644
--- a/src/components/playground/MessageContent.jsx
+++ b/src/components/playground/MessageContent.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
import {
X as ActionX,
diff --git a/src/components/playground/MessageSelectableWrapper.jsx b/src/components/playground/MessageSelectableWrapper.jsx
index dc0dc9b6..d51b82e3 100644
--- a/src/components/playground/MessageSelectableWrapper.jsx
+++ b/src/components/playground/MessageSelectableWrapper.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 多选导出:包在单条消息气泡内容外层的选择态容器。
//
// 为什么包在外层而不是改 OptimizedMessageContent:OptimizedComponents.js 的 React.memo
diff --git a/src/components/playground/MessageSelectionBar.jsx b/src/components/playground/MessageSelectionBar.jsx
index 44d0d9d7..f0473d06 100644
--- a/src/components/playground/MessageSelectionBar.jsx
+++ b/src/components/playground/MessageSelectionBar.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 多选导出:底部悬浮操作条。展示型组件,状态由父级(Playground/index.jsx)持有。
import {
diff --git a/src/components/playground/OptimizedComponents.js b/src/components/playground/OptimizedComponents.js
index b0a94ae0..3c5aa413 100644
--- a/src/components/playground/OptimizedComponents.js
+++ b/src/components/playground/OptimizedComponents.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import MessageContent from './MessageContent';
import MessageActions from './MessageActions';
diff --git a/src/components/playground/ParameterControl.jsx b/src/components/playground/ParameterControl.jsx
index bf3c5b94..2d9cb91d 100644
--- a/src/components/playground/ParameterControl.jsx
+++ b/src/components/playground/ParameterControl.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
Check as ActionCheck,
X as ActionX,
diff --git a/src/components/playground/SSEViewer.jsx b/src/components/playground/SSEViewer.jsx
index 1658e8df..8d94d2bc 100644
--- a/src/components/playground/SSEViewer.jsx
+++ b/src/components/playground/SSEViewer.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
import {
Copy as ActionCopy,
diff --git a/src/components/playground/SessionSidebar.jsx b/src/components/playground/SessionSidebar.jsx
index bcd3565c..f30b0a85 100644
--- a/src/components/playground/SessionSidebar.jsx
+++ b/src/components/playground/SessionSidebar.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
ChevronRight as ActionChevronRight,
Plus as ActionPlus,
diff --git a/src/components/playground/SettingsPanel.jsx b/src/components/playground/SettingsPanel.jsx
index cf5aa775..72526277 100644
--- a/src/components/playground/SettingsPanel.jsx
+++ b/src/components/playground/SettingsPanel.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { X as ActionX } from '@/components/common/icons/ActionIcons';
import React from 'react';
import { Select, Typography, Button, Switch } from '@/components/ui';
diff --git a/src/components/playground/ThinkingContent.jsx b/src/components/playground/ThinkingContent.jsx
index 67c78c06..e0faf17d 100644
--- a/src/components/playground/ThinkingContent.jsx
+++ b/src/components/playground/ThinkingContent.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useRef } from 'react';
import { Typography } from '@/components/ui';
import MarkdownRenderer from '../common/markdown/MarkdownRenderer';
diff --git a/src/components/playground/configStorage.js b/src/components/playground/configStorage.js
index 8d38ce40..81908232 100644
--- a/src/components/playground/configStorage.js
+++ b/src/components/playground/configStorage.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import i18next from 'i18next';
import { DEFAULT_CONFIG } from '../../constants/playground.constants';
diff --git a/src/components/playground/index.js b/src/components/playground/index.js
index 8c470351..bc86d7fb 100644
--- a/src/components/playground/index.js
+++ b/src/components/playground/index.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export { default as SettingsPanel } from './SettingsPanel';
export { default as ChatArea } from './ChatArea';
export { default as DebugPanel } from './DebugPanel';
diff --git a/src/components/promotion/PromotionPosterModal.jsx b/src/components/promotion/PromotionPosterModal.jsx
index df2e69b6..8080eb2b 100644
--- a/src/components/promotion/PromotionPosterModal.jsx
+++ b/src/components/promotion/PromotionPosterModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
Copy as ActionCopy,
Download as ActionDownload,
diff --git a/src/components/quality/QualityAlerts.jsx b/src/components/quality/QualityAlerts.jsx
index 2f3889d6..7f87a41c 100644
--- a/src/components/quality/QualityAlerts.jsx
+++ b/src/components/quality/QualityAlerts.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Plus as ActionPlus } from '@/components/common/icons/ActionIcons';
import React, { useCallback, useEffect, useState } from 'react';
import {
diff --git a/src/components/quality/QualityBreakdown.jsx b/src/components/quality/QualityBreakdown.jsx
index a3bd98b1..5d2c87ae 100644
--- a/src/components/quality/QualityBreakdown.jsx
+++ b/src/components/quality/QualityBreakdown.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useMemo, useRef, useState } from 'react';
import { Select, Table, TabPane, Tabs, Tooltip } from '@/components/ui';
import { Layers } from 'lucide-react';
diff --git a/src/components/quality/QualityDashboard.jsx b/src/components/quality/QualityDashboard.jsx
index 2b713cbc..fa860b49 100644
--- a/src/components/quality/QualityDashboard.jsx
+++ b/src/components/quality/QualityDashboard.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useRef, useState } from 'react';
import { Button, Radio } from '@/components/ui';
import { useTranslation } from 'react-i18next';
diff --git a/src/components/quality/QualityDetail.jsx b/src/components/quality/QualityDetail.jsx
index d3620011..7952b5d6 100644
--- a/src/components/quality/QualityDetail.jsx
+++ b/src/components/quality/QualityDetail.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatIdReference } from '../../helpers/safeDisplay';
import { formatUserReference } from '../../helpers/safeDisplay';
diff --git a/src/components/quality/QualityFilterBar.jsx b/src/components/quality/QualityFilterBar.jsx
index 9ff7d791..8693e251 100644
--- a/src/components/quality/QualityFilterBar.jsx
+++ b/src/components/quality/QualityFilterBar.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatIdReference } from '../../helpers/safeDisplay';
import { formatUserReference } from '../../helpers/safeDisplay';
diff --git a/src/components/quality/QualityHeatmap.jsx b/src/components/quality/QualityHeatmap.jsx
index 8f5296ee..c4e5c351 100644
--- a/src/components/quality/QualityHeatmap.jsx
+++ b/src/components/quality/QualityHeatmap.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatIdReference } from '../../helpers/safeDisplay';
import { Trans } from 'react-i18next';
diff --git a/src/components/quality/QualityOverview.jsx b/src/components/quality/QualityOverview.jsx
index 58013ca6..d389077a 100644
--- a/src/components/quality/QualityOverview.jsx
+++ b/src/components/quality/QualityOverview.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Trans } from 'react-i18next';
import { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
import React, { useMemo } from 'react';
diff --git a/src/components/quality/qualityConstants.js b/src/components/quality/qualityConstants.js
index 0a37e36e..6223e03c 100644
--- a/src/components/quality/qualityConstants.js
+++ b/src/components/quality/qualityConstants.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 调用质量看板的枚举与文案。枚举值与后端 service/monitor/outcome.go 保持一致。
export const OUTCOMES = [
diff --git a/src/components/settings/ChannelSelectorModal.jsx b/src/components/settings/ChannelSelectorModal.jsx
index 8751e744..4ccaccc6 100644
--- a/src/components/settings/ChannelSelectorModal.jsx
+++ b/src/components/settings/ChannelSelectorModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, {
useState,
useEffect,
diff --git a/src/components/settings/ChatsSetting.jsx b/src/components/settings/ChatsSetting.jsx
index 72969faa..6143ec5c 100644
--- a/src/components/settings/ChatsSetting.jsx
+++ b/src/components/settings/ChatsSetting.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../hooks/common/useEffectEvent';
import React, { useEffect, useState } from 'react';
import { Card, Spin } from '@/components/ui';
diff --git a/src/components/settings/ContentGuardSetting.jsx b/src/components/settings/ContentGuardSetting.jsx
index 3241456a..dbea3b9f 100644
--- a/src/components/settings/ContentGuardSetting.jsx
+++ b/src/components/settings/ContentGuardSetting.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
import { formatIdReference } from '../../helpers/safeDisplay';
import { TestTube2 as ActionTestTube2 } from '@/components/common/icons/ActionIcons';
diff --git a/src/components/settings/CustomerServiceSetting.jsx b/src/components/settings/CustomerServiceSetting.jsx
index 4f3c34e5..30ee91fc 100644
--- a/src/components/settings/CustomerServiceSetting.jsx
+++ b/src/components/settings/CustomerServiceSetting.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import {
RefreshCw as ActionRefreshCw,
Plus as ActionPlus,
diff --git a/src/components/settings/DashboardSetting.jsx b/src/components/settings/DashboardSetting.jsx
index e3f8b242..d58d05ec 100644
--- a/src/components/settings/DashboardSetting.jsx
+++ b/src/components/settings/DashboardSetting.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../hooks/common/useEffectEvent';
import React, { useEffect, useState, useMemo } from 'react';
import { useTranslation } from 'react-i18next';
diff --git a/src/components/settings/DataSecuritySetting.jsx b/src/components/settings/DataSecuritySetting.jsx
index cf420c17..92bdc44a 100644
--- a/src/components/settings/DataSecuritySetting.jsx
+++ b/src/components/settings/DataSecuritySetting.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
import { useEffectEvent } from '../../hooks/common/useEffectEvent';
import React, { useEffect, useRef, useState } from 'react';
diff --git a/src/components/settings/DrawingSetting.jsx b/src/components/settings/DrawingSetting.jsx
index 1ac35478..a81f199c 100644
--- a/src/components/settings/DrawingSetting.jsx
+++ b/src/components/settings/DrawingSetting.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../hooks/common/useEffectEvent';
import React, { useEffect, useState } from 'react';
import { Card, Spin } from '@/components/ui';
diff --git a/src/components/settings/LevelPolicySetting.jsx b/src/components/settings/LevelPolicySetting.jsx
index 26b03204..4efcd31b 100644
--- a/src/components/settings/LevelPolicySetting.jsx
+++ b/src/components/settings/LevelPolicySetting.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { Trans } from 'react-i18next';
import { Eraser as ActionEraser } from '@/components/common/icons/ActionIcons';
import {
diff --git a/src/components/settings/ModelSetting.jsx b/src/components/settings/ModelSetting.jsx
index 0d11cbc9..96e57d7a 100644
--- a/src/components/settings/ModelSetting.jsx
+++ b/src/components/settings/ModelSetting.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../hooks/common/useEffectEvent';
import React, { useEffect, useState } from 'react';
import { Card, Spin } from '@/components/ui';
diff --git a/src/components/settings/NotifyChannelForm.jsx b/src/components/settings/NotifyChannelForm.jsx
index 814eb923..73a60d03 100644
--- a/src/components/settings/NotifyChannelForm.jsx
+++ b/src/components/settings/NotifyChannelForm.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { useTranslation } from 'react-i18next';
import { Input, InputNumber, Select } from '@/components/ui';
diff --git a/src/components/settings/OperationSetting.jsx b/src/components/settings/OperationSetting.jsx
index 1eb28779..bfaa4516 100644
--- a/src/components/settings/OperationSetting.jsx
+++ b/src/components/settings/OperationSetting.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useCallback, useEffect, useRef, useState } from 'react';
import { Banner, Button, Card, Spin } from '@/components/ui';
import SettingsGeneral from '../../pages/Setting/Operation/SettingsGeneral';
diff --git a/src/components/settings/OtherSetting.jsx b/src/components/settings/OtherSetting.jsx
index 075bb025..64252427 100644
--- a/src/components/settings/OtherSetting.jsx
+++ b/src/components/settings/OtherSetting.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../hooks/common/useEffectEvent';
import React, { useContext, useEffect, useRef, useState } from 'react';
import { Button, Col, Form, Row, Modal, Space, Card } from '@/components/ui';
diff --git a/src/components/settings/PaymentSetting.jsx b/src/components/settings/PaymentSetting.jsx
index 4a2e1ef3..5ed8ec44 100644
--- a/src/components/settings/PaymentSetting.jsx
+++ b/src/components/settings/PaymentSetting.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../hooks/common/useEffectEvent';
import React, { useEffect, useState } from 'react';
import { Card, Spin } from '@/components/ui';
diff --git a/src/components/settings/PersonalSetting.jsx b/src/components/settings/PersonalSetting.jsx
index b30b4d52..6a3eb3ea 100644
--- a/src/components/settings/PersonalSetting.jsx
+++ b/src/components/settings/PersonalSetting.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
import { Check as ActionCheck } from '@/components/common/icons/ActionIcons';
import { useEffectEvent } from '../../hooks/common/useEffectEvent';
diff --git a/src/components/settings/RateLimitSetting.jsx b/src/components/settings/RateLimitSetting.jsx
index bee75e20..d5b257d8 100644
--- a/src/components/settings/RateLimitSetting.jsx
+++ b/src/components/settings/RateLimitSetting.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../hooks/common/useEffectEvent';
import React, { useEffect, useState } from 'react';
import { Card, Spin } from '@/components/ui';
diff --git a/src/components/settings/RatioSetting.jsx b/src/components/settings/RatioSetting.jsx
index 274ce4f8..2c827cfd 100644
--- a/src/components/settings/RatioSetting.jsx
+++ b/src/components/settings/RatioSetting.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useState } from 'react';
import { Card, Spin, Tabs } from '@/components/ui';
import { useTranslation } from 'react-i18next';
diff --git a/src/components/settings/SystemSetting.jsx b/src/components/settings/SystemSetting.jsx
index dbbab933..04fafbd4 100644
--- a/src/components/settings/SystemSetting.jsx
+++ b/src/components/settings/SystemSetting.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Trans } from 'react-i18next';
import React, { useEffect, useState, useRef } from 'react';
import {
diff --git a/src/components/settings/TutorialVideoSetting.jsx b/src/components/settings/TutorialVideoSetting.jsx
index b7e0cff9..032f79aa 100644
--- a/src/components/settings/TutorialVideoSetting.jsx
+++ b/src/components/settings/TutorialVideoSetting.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../hooks/common/useEffectEvent';
import React, { useState, useEffect } from 'react';
import { useTranslation } from 'react-i18next';
diff --git a/src/components/settings/WeyAiSetting.jsx b/src/components/settings/WeyAiSetting.jsx
index b88d2e21..dfc6298b 100644
--- a/src/components/settings/WeyAiSetting.jsx
+++ b/src/components/settings/WeyAiSetting.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 系统设置 →「WeyAi」页签(M21)。WeyAi 的所有配置项都放在这个页签下,按子页签分组;
// 子页签记在地址的 sub 参数里(如 ?tab=weyai&sub=storage),可以直接分享链接。
//
diff --git a/src/components/settings/contentGuardConfig.js b/src/components/settings/contentGuardConfig.js
index 94482437..e3a5972a 100644
--- a/src/components/settings/contentGuardConfig.js
+++ b/src/components/settings/contentGuardConfig.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export const ENFORCE_CHECK_FIELDS = [
'input_enabled',
'output_enabled',
diff --git a/src/components/settings/contentGuardConfig.test.js b/src/components/settings/contentGuardConfig.test.js
index 07712f19..6bf6d136 100644
--- a/src/components/settings/contentGuardConfig.test.js
+++ b/src/components/settings/contentGuardConfig.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import {
diff --git a/src/components/settings/personal/cards/AccountManagement.jsx b/src/components/settings/personal/cards/AccountManagement.jsx
index 2d9fa038..e2bfc031 100644
--- a/src/components/settings/personal/cards/AccountManagement.jsx
+++ b/src/components/settings/personal/cards/AccountManagement.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import {
Button,
diff --git a/src/components/settings/personal/cards/ModelsList.jsx b/src/components/settings/personal/cards/ModelsList.jsx
index 5f310b4f..5b194188 100644
--- a/src/components/settings/personal/cards/ModelsList.jsx
+++ b/src/components/settings/personal/cards/ModelsList.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Trans } from 'react-i18next';
import React, { useState, useEffect } from 'react';
import {
diff --git a/src/components/settings/personal/cards/NotificationSettings.jsx b/src/components/settings/personal/cards/NotificationSettings.jsx
index de3eab80..4dffb8e0 100644
--- a/src/components/settings/personal/cards/NotificationSettings.jsx
+++ b/src/components/settings/personal/cards/NotificationSettings.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { I18N_TECHNICAL_TEXT } from '../../../../i18n/technicalText.js';
import React, { useRef, useEffect, useState, useContext } from 'react';
import {
diff --git a/src/components/settings/personal/components/SectionHeader.jsx b/src/components/settings/personal/components/SectionHeader.jsx
index 1cb10f65..4786b547 100644
--- a/src/components/settings/personal/components/SectionHeader.jsx
+++ b/src/components/settings/personal/components/SectionHeader.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
/**
diff --git a/src/components/settings/personal/components/TwoFASetting.jsx b/src/components/settings/personal/components/TwoFASetting.jsx
index ffa743e6..c9f74c1d 100644
--- a/src/components/settings/personal/components/TwoFASetting.jsx
+++ b/src/components/settings/personal/components/TwoFASetting.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Trans } from 'react-i18next';
import { useEffectEvent } from '../../../../hooks/common/useEffectEvent';
import { writeClipboardText } from '../../../../helpers/clipboard';
diff --git a/src/components/settings/personal/components/UserInfoHeader.jsx b/src/components/settings/personal/components/UserInfoHeader.jsx
index 393b0a6d..4b178337 100644
--- a/src/components/settings/personal/components/UserInfoHeader.jsx
+++ b/src/components/settings/personal/components/UserInfoHeader.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Avatar, Card, Tag, Divider, Typography, Badge } from '@/components/ui';
import {
diff --git a/src/components/settings/personal/modals/AccountDeleteModal.jsx b/src/components/settings/personal/modals/AccountDeleteModal.jsx
index e78dc211..6f7e4669 100644
--- a/src/components/settings/personal/modals/AccountDeleteModal.jsx
+++ b/src/components/settings/personal/modals/AccountDeleteModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Banner, Input, Modal, Typography } from '@/components/ui';
import { IconDelete, IconUser } from '@/components/ui/icons';
diff --git a/src/components/settings/personal/modals/ChangePasswordModal.jsx b/src/components/settings/personal/modals/ChangePasswordModal.jsx
index 1e6ee04d..501cd561 100644
--- a/src/components/settings/personal/modals/ChangePasswordModal.jsx
+++ b/src/components/settings/personal/modals/ChangePasswordModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Input, Modal, Typography } from '@/components/ui';
import { IconLock } from '@/components/ui/icons';
diff --git a/src/components/settings/personal/modals/EmailBindModal.jsx b/src/components/settings/personal/modals/EmailBindModal.jsx
index 15f7b536..ddb8127b 100644
--- a/src/components/settings/personal/modals/EmailBindModal.jsx
+++ b/src/components/settings/personal/modals/EmailBindModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Button, Input, Modal } from '@/components/ui';
import { IconMail, IconKey } from '@/components/ui/icons';
diff --git a/src/components/settings/personal/modals/WeChatBindModal.jsx b/src/components/settings/personal/modals/WeChatBindModal.jsx
index f2ae48f6..25c8538a 100644
--- a/src/components/settings/personal/modals/WeChatBindModal.jsx
+++ b/src/components/settings/personal/modals/WeChatBindModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Button, Input, Modal, Image } from '@/components/ui';
import { IconKey } from '@/components/ui/icons';
diff --git a/src/components/settings/personal/sections/AccountBindingSection.jsx b/src/components/settings/personal/sections/AccountBindingSection.jsx
index 121e070e..fe71153f 100644
--- a/src/components/settings/personal/sections/AccountBindingSection.jsx
+++ b/src/components/settings/personal/sections/AccountBindingSection.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useState } from 'react';
import { Tag as AntTag } from 'antd';
import { Button, Popover, Typography, Modal } from '@/components/ui';
diff --git a/src/components/settings/personal/sections/AvatarSection.jsx b/src/components/settings/personal/sections/AvatarSection.jsx
index b0c0f965..97d18566 100644
--- a/src/components/settings/personal/sections/AvatarSection.jsx
+++ b/src/components/settings/personal/sections/AvatarSection.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Check as ActionCheck } from '@/components/common/icons/ActionIcons';
import React from 'react';
import { Segmented } from 'antd';
diff --git a/src/components/settings/personal/sections/NotificationSection.jsx b/src/components/settings/personal/sections/NotificationSection.jsx
index 43417713..bea0f256 100644
--- a/src/components/settings/personal/sections/NotificationSection.jsx
+++ b/src/components/settings/personal/sections/NotificationSection.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
Check as ActionCheck,
Copy as ActionCopy,
diff --git a/src/components/settings/personal/sections/PrivacySection.jsx b/src/components/settings/personal/sections/PrivacySection.jsx
index ad855d65..a7c6c7b4 100644
--- a/src/components/settings/personal/sections/PrivacySection.jsx
+++ b/src/components/settings/personal/sections/PrivacySection.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Button, Switch } from '@/components/ui';
import { Lock, Eye, DollarSign, MapPin } from 'lucide-react';
diff --git a/src/components/settings/personal/sections/SecuritySection.jsx b/src/components/settings/personal/sections/SecuritySection.jsx
index 60b10a96..0752f054 100644
--- a/src/components/settings/personal/sections/SecuritySection.jsx
+++ b/src/components/settings/personal/sections/SecuritySection.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Button, Modal } from '@/components/ui';
import { AlertTriangle } from 'lucide-react';
diff --git a/src/components/settings/personal/sections/SidebarSection.jsx b/src/components/settings/personal/sections/SidebarSection.jsx
index 9490b291..d193f3bc 100644
--- a/src/components/settings/personal/sections/SidebarSection.jsx
+++ b/src/components/settings/personal/sections/SidebarSection.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useState, useEffect, useContext } from 'react';
import { Button, Switch, Row, Col } from '@/components/ui';
import {
diff --git a/src/components/setup/SetupWizard.jsx b/src/components/setup/SetupWizard.jsx
index 0658777f..1eec4a30 100644
--- a/src/components/setup/SetupWizard.jsx
+++ b/src/components/setup/SetupWizard.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../hooks/common/useEffectEvent';
import React, { useEffect, useState, useRef } from 'react';
import { Card, Divider, Steps, Form } from '@/components/ui';
diff --git a/src/components/setup/components/StepNavigation.jsx b/src/components/setup/components/StepNavigation.jsx
index 23dc7d82..6efad466 100644
--- a/src/components/setup/components/StepNavigation.jsx
+++ b/src/components/setup/components/StepNavigation.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Button } from '@/components/ui';
import { IconCheckCircleStroked } from '@/components/ui/icons';
diff --git a/src/components/setup/components/steps/AdminStep.jsx b/src/components/setup/components/steps/AdminStep.jsx
index 42ca7a96..c317bc38 100644
--- a/src/components/setup/components/steps/AdminStep.jsx
+++ b/src/components/setup/components/steps/AdminStep.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Banner, Form } from '@/components/ui';
import { IconUser, IconLock } from '@/components/ui/icons';
diff --git a/src/components/setup/components/steps/CompleteStep.jsx b/src/components/setup/components/steps/CompleteStep.jsx
index ad19aafc..f508ed98 100644
--- a/src/components/setup/components/steps/CompleteStep.jsx
+++ b/src/components/setup/components/steps/CompleteStep.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Avatar, Typography, Descriptions } from '@/components/ui';
import { CheckCircle } from 'lucide-react';
diff --git a/src/components/setup/components/steps/DatabaseStep.jsx b/src/components/setup/components/steps/DatabaseStep.jsx
index c93a1978..a664ba0b 100644
--- a/src/components/setup/components/steps/DatabaseStep.jsx
+++ b/src/components/setup/components/steps/DatabaseStep.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { I18N_TECHNICAL_TEXT } from '../../../../i18n/technicalText.js';
import React from 'react';
import { Banner } from '@/components/ui';
diff --git a/src/components/setup/components/steps/UsageModeStep.jsx b/src/components/setup/components/steps/UsageModeStep.jsx
index 0fa55e22..e92ae944 100644
--- a/src/components/setup/components/steps/UsageModeStep.jsx
+++ b/src/components/setup/components/steps/UsageModeStep.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { RadioGroup, Radio } from '@/components/ui';
diff --git a/src/components/setup/index.jsx b/src/components/setup/index.jsx
index 7ce1247f..eadc373a 100644
--- a/src/components/setup/index.jsx
+++ b/src/components/setup/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 主要组件导出
export { default as SetupWizard } from './SetupWizard';
diff --git a/src/components/skill/index.jsx b/src/components/skill/index.jsx
index ae01785d..a4690d2b 100644
--- a/src/components/skill/index.jsx
+++ b/src/components/skill/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { theme } from 'antd';
import { Button, Progress, Tag, Timeline, Typography } from '@/components/ui';
diff --git a/src/components/skill/tokens.js b/src/components/skill/tokens.js
index fa0a73e6..86f67962 100644
--- a/src/components/skill/tokens.js
+++ b/src/components/skill/tokens.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export const SKILL_TAG_TOKENS = Object.freeze({
pending_import: { color: 'grey', label: '待导入' },
license_pending: { color: 'gold', label: '许可证待审核' },
diff --git a/src/components/smart-router/ConsentPanel.jsx b/src/components/smart-router/ConsentPanel.jsx
index a8336f03..396309af 100644
--- a/src/components/smart-router/ConsentPanel.jsx
+++ b/src/components/smart-router/ConsentPanel.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useCallback, useEffect, useState } from 'react';
import { useTranslation } from 'react-i18next';
import {
diff --git a/src/components/smart-router/DecisionTable.jsx b/src/components/smart-router/DecisionTable.jsx
index e5c56539..bc331027 100644
--- a/src/components/smart-router/DecisionTable.jsx
+++ b/src/components/smart-router/DecisionTable.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useCallback, useEffect, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { Button, Empty, Tag } from 'antd';
diff --git a/src/components/smart-router/GlobalSettings.jsx b/src/components/smart-router/GlobalSettings.jsx
index 88d26a8c..21d75176 100644
--- a/src/components/smart-router/GlobalSettings.jsx
+++ b/src/components/smart-router/GlobalSettings.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useCallback, useEffect, useRef, useState } from 'react';
import { useTranslation } from 'react-i18next';
import {
diff --git a/src/components/smart-router/ProfileEditor.jsx b/src/components/smart-router/ProfileEditor.jsx
index b511f667..2e29c3d9 100644
--- a/src/components/smart-router/ProfileEditor.jsx
+++ b/src/components/smart-router/ProfileEditor.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useMemo, useRef, useState } from 'react';
import { useTranslation } from 'react-i18next';
import {
diff --git a/src/components/smart-router/ProfileTable.jsx b/src/components/smart-router/ProfileTable.jsx
index 15a1e9a6..410fca08 100644
--- a/src/components/smart-router/ProfileTable.jsx
+++ b/src/components/smart-router/ProfileTable.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useCallback, useEffect, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { Button, Empty, Popconfirm, Space, Tag, Typography } from 'antd';
diff --git a/src/components/smart-router/SimulateModal.jsx b/src/components/smart-router/SimulateModal.jsx
index 126dd42c..80fb5749 100644
--- a/src/components/smart-router/SimulateModal.jsx
+++ b/src/components/smart-router/SimulateModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { Button, Input, Progress, Tag, Typography } from 'antd';
diff --git a/src/components/smart-router/api.js b/src/components/smart-router/api.js
index 8510a6e0..a299537a 100644
--- a/src/components/smart-router/api.js
+++ b/src/components/smart-router/api.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { API, showError } from '../../helpers';
import i18n from '../../i18n/i18n';
diff --git a/src/components/smart-router/labels.js b/src/components/smart-router/labels.js
index 1fca2237..dd5bf22f 100644
--- a/src/components/smart-router/labels.js
+++ b/src/components/smart-router/labels.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 判定来源 / 闸门 / 过滤原因的展示文案(与后端 decide.go、gate.go、filter.go 的代码一一对应)
export const reasonText = (t, code) =>
({
diff --git a/src/components/table/admin-tokens/AdminTokensActions.jsx b/src/components/table/admin-tokens/AdminTokensActions.jsx
index e033c9c3..cf195693 100644
--- a/src/components/table/admin-tokens/AdminTokensActions.jsx
+++ b/src/components/table/admin-tokens/AdminTokensActions.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { RefreshCw as ActionRefreshCw } from '@/components/common/icons/ActionIcons';
import React from 'react';
import { Button, Tag } from '@/components/ui';
diff --git a/src/components/table/admin-tokens/AdminTokensColumnDefs.jsx b/src/components/table/admin-tokens/AdminTokensColumnDefs.jsx
index f3cdf771..36c414f8 100644
--- a/src/components/table/admin-tokens/AdminTokensColumnDefs.jsx
+++ b/src/components/table/admin-tokens/AdminTokensColumnDefs.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Button, Switch, Tag as AntTag } from 'antd';
import { Tag, Typography, Popover } from '@/components/ui';
diff --git a/src/components/table/admin-tokens/AdminTokensDescription.jsx b/src/components/table/admin-tokens/AdminTokensDescription.jsx
index e7ff3eb3..1010a615 100644
--- a/src/components/table/admin-tokens/AdminTokensDescription.jsx
+++ b/src/components/table/admin-tokens/AdminTokensDescription.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { TableTitle } from '../../common/table/TableToolbar';
diff --git a/src/components/table/admin-tokens/AdminTokensFilters.jsx b/src/components/table/admin-tokens/AdminTokensFilters.jsx
index deda27d0..31482946 100644
--- a/src/components/table/admin-tokens/AdminTokensFilters.jsx
+++ b/src/components/table/admin-tokens/AdminTokensFilters.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useRef } from 'react';
import { Form } from '@/components/ui';
import { IconSearch } from '@/components/ui/icons';
diff --git a/src/components/table/admin-tokens/AdminTokensTable.jsx b/src/components/table/admin-tokens/AdminTokensTable.jsx
index 573bde22..61b68111 100644
--- a/src/components/table/admin-tokens/AdminTokensTable.jsx
+++ b/src/components/table/admin-tokens/AdminTokensTable.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import TableEmpty from '../../common/table/TableEmpty';
import React, { useMemo } from 'react';
import CardTable from '../../common/ui/CardTable';
diff --git a/src/components/table/admin-tokens/index.jsx b/src/components/table/admin-tokens/index.jsx
index e52717bc..ad505037 100644
--- a/src/components/table/admin-tokens/index.jsx
+++ b/src/components/table/admin-tokens/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import './admin-tokens.css';
import CardPro from '../../common/ui/CardPro';
diff --git a/src/components/table/admin-tokens/modals/AdminBatchActionModal.jsx b/src/components/table/admin-tokens/modals/AdminBatchActionModal.jsx
index 3788e4c8..eee1405b 100644
--- a/src/components/table/admin-tokens/modals/AdminBatchActionModal.jsx
+++ b/src/components/table/admin-tokens/modals/AdminBatchActionModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Modal, Banner } from '@/components/ui';
diff --git a/src/components/table/admin-tokens/modals/AdminDeleteTokenModal.jsx b/src/components/table/admin-tokens/modals/AdminDeleteTokenModal.jsx
index dbeb4e9f..570e3c9f 100644
--- a/src/components/table/admin-tokens/modals/AdminDeleteTokenModal.jsx
+++ b/src/components/table/admin-tokens/modals/AdminDeleteTokenModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Modal, Typography, Banner } from '@/components/ui';
diff --git a/src/components/table/admin-tokens/modals/AdminEditTokenModal.jsx b/src/components/table/admin-tokens/modals/AdminEditTokenModal.jsx
index 4cbcf801..44a6bcc6 100644
--- a/src/components/table/admin-tokens/modals/AdminEditTokenModal.jsx
+++ b/src/components/table/admin-tokens/modals/AdminEditTokenModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Trans } from 'react-i18next';
import React, { useEffect, useRef, useState } from 'react';
import { Modal, Form, Typography, Banner, Spin, Tag } from '@/components/ui';
diff --git a/src/components/table/admin-tokens/modals/AdminEnableDisableTokenModal.jsx b/src/components/table/admin-tokens/modals/AdminEnableDisableTokenModal.jsx
index ed17b939..c60720a4 100644
--- a/src/components/table/admin-tokens/modals/AdminEnableDisableTokenModal.jsx
+++ b/src/components/table/admin-tokens/modals/AdminEnableDisableTokenModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Modal, Typography } from '@/components/ui';
diff --git a/src/components/table/channels/ChannelsActions.jsx b/src/components/table/channels/ChannelsActions.jsx
index 599f366e..db4d9510 100644
--- a/src/components/table/channels/ChannelsActions.jsx
+++ b/src/components/table/channels/ChannelsActions.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Button, Dropdown, Modal, Switch, Typography } from '@/components/ui';
import CompactModeToggle from '../../common/ui/CompactModeToggle';
diff --git a/src/components/table/channels/ChannelsColumnDefs.jsx b/src/components/table/channels/ChannelsColumnDefs.jsx
index c426810c..8d79f2c2 100644
--- a/src/components/table/channels/ChannelsColumnDefs.jsx
+++ b/src/components/table/channels/ChannelsColumnDefs.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { writeClipboardText } from '../../../helpers/clipboard';
import React, { useState } from 'react';
import { Switch } from 'antd';
diff --git a/src/components/table/channels/ChannelsFilters.jsx b/src/components/table/channels/ChannelsFilters.jsx
index 628a1018..9d5b4b62 100644
--- a/src/components/table/channels/ChannelsFilters.jsx
+++ b/src/components/table/channels/ChannelsFilters.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Form } from '@/components/ui';
import { IconSearch } from '@/components/ui/icons';
diff --git a/src/components/table/channels/ChannelsTable.jsx b/src/components/table/channels/ChannelsTable.jsx
index a5be2287..925c20a0 100644
--- a/src/components/table/channels/ChannelsTable.jsx
+++ b/src/components/table/channels/ChannelsTable.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import TableEmpty from '../../common/table/TableEmpty';
import React, { useMemo, useState } from 'react';
import CardTable from '../../common/ui/CardTable';
diff --git a/src/components/table/channels/ChannelsTabs.jsx b/src/components/table/channels/ChannelsTabs.jsx
index 723befce..91a3a0dd 100644
--- a/src/components/table/channels/ChannelsTabs.jsx
+++ b/src/components/table/channels/ChannelsTabs.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Plus as ActionPlus } from '@/components/common/icons/ActionIcons';
import React from 'react';
import { Tabs, TabPane, Tag } from '@/components/ui';
diff --git a/src/components/table/channels/index.jsx b/src/components/table/channels/index.jsx
index 8829fe58..ac1a544c 100644
--- a/src/components/table/channels/index.jsx
+++ b/src/components/table/channels/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import CardPro from '../../common/ui/CardPro';
import { ColumnSettingsButton } from '../../common/table/ColumnSettings';
diff --git a/src/components/table/channels/modals/BatchTagModal.jsx b/src/components/table/channels/modals/BatchTagModal.jsx
index 447ce90b..06a05628 100644
--- a/src/components/table/channels/modals/BatchTagModal.jsx
+++ b/src/components/table/channels/modals/BatchTagModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Modal, Input, Typography } from '@/components/ui';
diff --git a/src/components/table/channels/modals/ColumnSelectorModal.jsx b/src/components/table/channels/modals/ColumnSelectorModal.jsx
index fe79c1d1..4c5f674e 100644
--- a/src/components/table/channels/modals/ColumnSelectorModal.jsx
+++ b/src/components/table/channels/modals/ColumnSelectorModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { ColumnVisibilitySettings } from '../../../common/table/ColumnSettings';
import { getChannelsColumns } from '../ChannelsColumnDefs';
diff --git a/src/components/table/channels/modals/EditChannelModal.jsx b/src/components/table/channels/modals/EditChannelModal.jsx
index d7860a0b..0273fec9 100644
--- a/src/components/table/channels/modals/EditChannelModal.jsx
+++ b/src/components/table/channels/modals/EditChannelModal.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatIdReference } from '../../../../helpers/safeDisplay';
import { I18N_TECHNICAL_TEXT } from '../../../../i18n/technicalText.js';
diff --git a/src/components/table/channels/modals/EditTagModal.jsx b/src/components/table/channels/modals/EditTagModal.jsx
index 0b504a0a..edf5c437 100644
--- a/src/components/table/channels/modals/EditTagModal.jsx
+++ b/src/components/table/channels/modals/EditTagModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { I18N_TECHNICAL_TEXT } from '../../../../i18n/technicalText.js';
import { useEffectEvent } from '../../../../hooks/common/useEffectEvent';
import React, { useState, useEffect, useRef } from 'react';
diff --git a/src/components/table/channels/modals/ModelSelectModal.jsx b/src/components/table/channels/modals/ModelSelectModal.jsx
index 1f9e3fc3..486302ab 100644
--- a/src/components/table/channels/modals/ModelSelectModal.jsx
+++ b/src/components/table/channels/modals/ModelSelectModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useState, useEffect, useMemo } from 'react';
import { useIsMobile } from '../../../../hooks/common/useIsMobile';
import {
diff --git a/src/components/table/channels/modals/ModelTestModal.jsx b/src/components/table/channels/modals/ModelTestModal.jsx
index de203b49..e1079d59 100644
--- a/src/components/table/channels/modals/ModelTestModal.jsx
+++ b/src/components/table/channels/modals/ModelTestModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useState } from 'react';
import Table from '../../../ui/CenterActionTable';
import { Modal, Button, Input, Tag, Typography, Select } from 'antd';
diff --git a/src/components/table/channels/modals/MultiKeyManageModal.jsx b/src/components/table/channels/modals/MultiKeyManageModal.jsx
index 55445cdd..b3520497 100644
--- a/src/components/table/channels/modals/MultiKeyManageModal.jsx
+++ b/src/components/table/channels/modals/MultiKeyManageModal.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatIdReference } from '../../../../helpers/safeDisplay';
import { useEffectEvent } from '../../../../hooks/common/useEffectEvent';
diff --git a/src/components/table/mj-logs/MjLogsActions.jsx b/src/components/table/mj-logs/MjLogsActions.jsx
index 42563e04..8e06ee11 100644
--- a/src/components/table/mj-logs/MjLogsActions.jsx
+++ b/src/components/table/mj-logs/MjLogsActions.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Skeleton, Typography } from '@/components/ui';
import { useMinimumLoadingTime } from '../../../hooks/common/useMinimumLoadingTime';
diff --git a/src/components/table/mj-logs/MjLogsColumnDefs.jsx b/src/components/table/mj-logs/MjLogsColumnDefs.jsx
index bd230c38..470e0fe7 100644
--- a/src/components/table/mj-logs/MjLogsColumnDefs.jsx
+++ b/src/components/table/mj-logs/MjLogsColumnDefs.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Button, Progress, Tag, Typography } from '@/components/ui';
import {
diff --git a/src/components/table/mj-logs/MjLogsFilters.jsx b/src/components/table/mj-logs/MjLogsFilters.jsx
index 982c501f..ab1744c6 100644
--- a/src/components/table/mj-logs/MjLogsFilters.jsx
+++ b/src/components/table/mj-logs/MjLogsFilters.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Button, Form } from '@/components/ui';
import FilterSearchButton from '../../common/table/FilterSearchButton';
diff --git a/src/components/table/mj-logs/MjLogsTable.jsx b/src/components/table/mj-logs/MjLogsTable.jsx
index bd6831fd..ab08edd8 100644
--- a/src/components/table/mj-logs/MjLogsTable.jsx
+++ b/src/components/table/mj-logs/MjLogsTable.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import TableEmpty from '../../common/table/TableEmpty';
import React, { useMemo } from 'react';
import CardTable from '../../common/ui/CardTable';
diff --git a/src/components/table/mj-logs/index.jsx b/src/components/table/mj-logs/index.jsx
index 333c6272..d693073e 100644
--- a/src/components/table/mj-logs/index.jsx
+++ b/src/components/table/mj-logs/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Layout } from '@/components/ui';
import CardPro from '../../common/ui/CardPro';
diff --git a/src/components/table/mj-logs/modals/ColumnSelectorModal.jsx b/src/components/table/mj-logs/modals/ColumnSelectorModal.jsx
index e0c0e60c..e96b5e28 100644
--- a/src/components/table/mj-logs/modals/ColumnSelectorModal.jsx
+++ b/src/components/table/mj-logs/modals/ColumnSelectorModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { ColumnVisibilitySettings } from '../../../common/table/ColumnSettings';
import { getMjLogsColumns } from '../MjLogsColumnDefs';
diff --git a/src/components/table/mj-logs/modals/ContentModal.jsx b/src/components/table/mj-logs/modals/ContentModal.jsx
index 02c9e7af..346dc956 100644
--- a/src/components/table/mj-logs/modals/ContentModal.jsx
+++ b/src/components/table/mj-logs/modals/ContentModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Modal, ImagePreview } from '@/components/ui';
diff --git a/src/components/table/model-pricing/filter/PricingEndpointTypes.jsx b/src/components/table/model-pricing/filter/PricingEndpointTypes.jsx
index c1320f1d..181a4a1a 100644
--- a/src/components/table/model-pricing/filter/PricingEndpointTypes.jsx
+++ b/src/components/table/model-pricing/filter/PricingEndpointTypes.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import MarketFilterGroup from '../market/MarketFilterGroup';
diff --git a/src/components/table/model-pricing/filter/PricingGroups.jsx b/src/components/table/model-pricing/filter/PricingGroups.jsx
index 2f1c7ebe..98fd687d 100644
--- a/src/components/table/model-pricing/filter/PricingGroups.jsx
+++ b/src/components/table/model-pricing/filter/PricingGroups.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import MarketFilterGroup from '../market/MarketFilterGroup';
diff --git a/src/components/table/model-pricing/filter/PricingQuotaTypes.jsx b/src/components/table/model-pricing/filter/PricingQuotaTypes.jsx
index a2201a36..1e93bdcb 100644
--- a/src/components/table/model-pricing/filter/PricingQuotaTypes.jsx
+++ b/src/components/table/model-pricing/filter/PricingQuotaTypes.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import MarketFilterGroup from '../market/MarketFilterGroup';
diff --git a/src/components/table/model-pricing/filter/PricingTags.jsx b/src/components/table/model-pricing/filter/PricingTags.jsx
index ab576392..a0e52628 100644
--- a/src/components/table/model-pricing/filter/PricingTags.jsx
+++ b/src/components/table/model-pricing/filter/PricingTags.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import MarketFilterGroup from '../market/MarketFilterGroup';
diff --git a/src/components/table/model-pricing/filter/PricingVendors.jsx b/src/components/table/model-pricing/filter/PricingVendors.jsx
index b0966294..bb3242ff 100644
--- a/src/components/table/model-pricing/filter/PricingVendors.jsx
+++ b/src/components/table/model-pricing/filter/PricingVendors.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import MarketFilterGroup from '../market/MarketFilterGroup';
import { getLobeHubIcon } from '../../../../helpers';
diff --git a/src/components/table/model-pricing/layout/PricingPage.jsx b/src/components/table/model-pricing/layout/PricingPage.jsx
index db7d3e6f..8459771b 100644
--- a/src/components/table/model-pricing/layout/PricingPage.jsx
+++ b/src/components/table/model-pricing/layout/PricingPage.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import ModelMarketPage from '../market/ModelMarketPage';
diff --git a/src/components/table/model-pricing/market/MarketCatalog.jsx b/src/components/table/model-pricing/market/MarketCatalog.jsx
index 8e3b58f5..cad64d4f 100644
--- a/src/components/table/model-pricing/market/MarketCatalog.jsx
+++ b/src/components/table/model-pricing/market/MarketCatalog.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useMemo, useRef, useState } from 'react';
import { Alert, Button, Card } from 'antd';
import { Layers } from 'lucide-react';
diff --git a/src/components/table/model-pricing/market/MarketFilterGroup.jsx b/src/components/table/model-pricing/market/MarketFilterGroup.jsx
index 10e84f9c..181728bb 100644
--- a/src/components/table/model-pricing/market/MarketFilterGroup.jsx
+++ b/src/components/table/model-pricing/market/MarketFilterGroup.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Button } from 'antd';
diff --git a/src/components/table/model-pricing/market/MarketFilterSidebar.jsx b/src/components/table/model-pricing/market/MarketFilterSidebar.jsx
index 62dd2251..5c7308d8 100644
--- a/src/components/table/model-pricing/market/MarketFilterSidebar.jsx
+++ b/src/components/table/model-pricing/market/MarketFilterSidebar.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Button, Card } from 'antd';
import { ChevronDown, ChevronUp } from '@/components/common/icons/ActionIcons';
diff --git a/src/components/table/model-pricing/market/MarketHero.jsx b/src/components/table/model-pricing/market/MarketHero.jsx
index 3f7b6ee5..200e97af 100644
--- a/src/components/table/model-pricing/market/MarketHero.jsx
+++ b/src/components/table/model-pricing/market/MarketHero.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Search as ActionSearch } from '@/components/common/icons/ActionIcons';
import React, { useCallback, useEffect, useRef, useState } from 'react';
import { Button, Input } from 'antd';
diff --git a/src/components/table/model-pricing/market/MarketLogo.jsx b/src/components/table/model-pricing/market/MarketLogo.jsx
index 2257fca6..274e5cb0 100644
--- a/src/components/table/model-pricing/market/MarketLogo.jsx
+++ b/src/components/table/model-pricing/market/MarketLogo.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Avatar } from 'antd';
import { getLobeHubIcon } from '../../../../helpers';
diff --git a/src/components/table/model-pricing/market/MarketModelCard.jsx b/src/components/table/model-pricing/market/MarketModelCard.jsx
index c9e80ce9..71f30846 100644
--- a/src/components/table/model-pricing/market/MarketModelCard.jsx
+++ b/src/components/table/model-pricing/market/MarketModelCard.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Copy as ActionCopy } from '@/components/common/icons/ActionIcons';
import React from 'react';
import { Button, Card, Tag, Tooltip } from 'antd';
diff --git a/src/components/table/model-pricing/market/ModelMarketPage.jsx b/src/components/table/model-pricing/market/ModelMarketPage.jsx
index 67270147..4df4afee 100644
--- a/src/components/table/model-pricing/market/ModelMarketPage.jsx
+++ b/src/components/table/model-pricing/market/ModelMarketPage.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useState } from 'react';
import { Image } from 'antd';
import { useModelPricingData } from '../../../../hooks/model-pricing/useModelPricingData';
diff --git a/src/components/table/model-pricing/market/marketTheme.js b/src/components/table/model-pricing/market/marketTheme.js
index aa8bf915..c64295cb 100644
--- a/src/components/table/model-pricing/market/marketTheme.js
+++ b/src/components/table/model-pricing/market/marketTheme.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { theme } from 'antd';
/**
diff --git a/src/components/table/model-pricing/modal/ModelDetailSideSheet.jsx b/src/components/table/model-pricing/modal/ModelDetailSideSheet.jsx
index 48878018..956ba70e 100644
--- a/src/components/table/model-pricing/modal/ModelDetailSideSheet.jsx
+++ b/src/components/table/model-pricing/modal/ModelDetailSideSheet.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Button, Drawer, Spin } from 'antd';
diff --git a/src/components/table/model-pricing/modal/components/ModelBasicInfo.jsx b/src/components/table/model-pricing/modal/components/ModelBasicInfo.jsx
index 8e2ffcbc..5ca86e3e 100644
--- a/src/components/table/model-pricing/modal/components/ModelBasicInfo.jsx
+++ b/src/components/table/model-pricing/modal/components/ModelBasicInfo.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Tag } from 'antd';
diff --git a/src/components/table/model-pricing/modal/components/ModelEndpoints.jsx b/src/components/table/model-pricing/modal/components/ModelEndpoints.jsx
index 66878122..de04fdd2 100644
--- a/src/components/table/model-pricing/modal/components/ModelEndpoints.jsx
+++ b/src/components/table/model-pricing/modal/components/ModelEndpoints.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Empty, Tag } from 'antd';
diff --git a/src/components/table/model-pricing/modal/components/ModelHeader.jsx b/src/components/table/model-pricing/modal/components/ModelHeader.jsx
index 456bceae..d87f759b 100644
--- a/src/components/table/model-pricing/modal/components/ModelHeader.jsx
+++ b/src/components/table/model-pricing/modal/components/ModelHeader.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Typography } from 'antd';
import { Copy } from 'lucide-react';
diff --git a/src/components/table/model-pricing/modal/components/ModelPricingTable.jsx b/src/components/table/model-pricing/modal/components/ModelPricingTable.jsx
index b65a12bc..6eb4e162 100644
--- a/src/components/table/model-pricing/modal/components/ModelPricingTable.jsx
+++ b/src/components/table/model-pricing/modal/components/ModelPricingTable.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Empty, Table, Tag, Tooltip } from 'antd';
import { ChevronRight } from 'lucide-react';
diff --git a/src/components/table/models/ModelsActions.jsx b/src/components/table/models/ModelsActions.jsx
index 43f9cdc0..515d3b73 100644
--- a/src/components/table/models/ModelsActions.jsx
+++ b/src/components/table/models/ModelsActions.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useState } from 'react';
import MissingModelsModal from './modals/MissingModelsModal';
import PrefillGroupManagement from './modals/PrefillGroupManagement';
diff --git a/src/components/table/models/ModelsCategoryStats.jsx b/src/components/table/models/ModelsCategoryStats.jsx
index 3fa751c0..6032ff7f 100644
--- a/src/components/table/models/ModelsCategoryStats.jsx
+++ b/src/components/table/models/ModelsCategoryStats.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../../hooks/common/useEffectEvent';
import React, { useState, useEffect } from 'react';
import { Card, Row, Col, Typography, Tag, Spin, Empty } from '@/components/ui';
diff --git a/src/components/table/models/ModelsColumnDefs.jsx b/src/components/table/models/ModelsColumnDefs.jsx
index 7f858402..8eccfdea 100644
--- a/src/components/table/models/ModelsColumnDefs.jsx
+++ b/src/components/table/models/ModelsColumnDefs.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Copy as ActionCopy } from '@/components/common/icons/ActionIcons';
import React from 'react';
import { Button as AntButton, Tooltip as AntTooltip } from 'antd';
diff --git a/src/components/table/models/ModelsDescription.jsx b/src/components/table/models/ModelsDescription.jsx
index c6ab8878..41300535 100644
--- a/src/components/table/models/ModelsDescription.jsx
+++ b/src/components/table/models/ModelsDescription.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Typography } from '@/components/ui';
import { Layers } from 'lucide-react';
diff --git a/src/components/table/models/ModelsFilters.jsx b/src/components/table/models/ModelsFilters.jsx
index 319d17d8..44c7faab 100644
--- a/src/components/table/models/ModelsFilters.jsx
+++ b/src/components/table/models/ModelsFilters.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useRef } from 'react';
import { Form } from '@/components/ui';
import { ConsoleFilterActions } from '../../console/ConsoleModuleFilters';
diff --git a/src/components/table/models/ModelsTable.jsx b/src/components/table/models/ModelsTable.jsx
index 1c56aded..8042f2ad 100644
--- a/src/components/table/models/ModelsTable.jsx
+++ b/src/components/table/models/ModelsTable.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import TableEmpty from '../../common/table/TableEmpty';
import React, { useMemo, useState } from 'react';
import { Descriptions } from 'antd';
diff --git a/src/components/table/models/ModelsTabs.jsx b/src/components/table/models/ModelsTabs.jsx
index 21ac03f8..3e200c37 100644
--- a/src/components/table/models/ModelsTabs.jsx
+++ b/src/components/table/models/ModelsTabs.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Plus as ActionPlus } from '@/components/common/icons/ActionIcons';
import React from 'react';
import { Modal } from '@/components/ui';
diff --git a/src/components/table/models/components/SelectionNotification.jsx b/src/components/table/models/components/SelectionNotification.jsx
index 753439f4..44e89572 100644
--- a/src/components/table/models/components/SelectionNotification.jsx
+++ b/src/components/table/models/components/SelectionNotification.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect } from 'react';
import { Notification, Button, Space, Typography } from '@/components/ui';
import { isRoot } from '../../../../helpers';
diff --git a/src/components/table/models/index.jsx b/src/components/table/models/index.jsx
index e9b2baed..2e2b3d00 100644
--- a/src/components/table/models/index.jsx
+++ b/src/components/table/models/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import CardPro from '../../common/ui/CardPro';
import ModelsTable from './ModelsTable';
diff --git a/src/components/table/models/modals/BatchCategoryModal.jsx b/src/components/table/models/modals/BatchCategoryModal.jsx
index eec3988b..0ad8dd7f 100644
--- a/src/components/table/models/modals/BatchCategoryModal.jsx
+++ b/src/components/table/models/modals/BatchCategoryModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../../../hooks/common/useEffectEvent';
import React, { useState, useEffect } from 'react';
import { Modal, Select, Typography, Spin } from '@/components/ui';
diff --git a/src/components/table/models/modals/EditModelModal.jsx b/src/components/table/models/modals/EditModelModal.jsx
index 29ecd142..b16ef8f0 100644
--- a/src/components/table/models/modals/EditModelModal.jsx
+++ b/src/components/table/models/modals/EditModelModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../../../hooks/common/useEffectEvent';
import '../../../console/module-alignment.css';
import React, { useState, useEffect, useRef } from 'react';
diff --git a/src/components/table/models/modals/EditPrefillGroupModal.jsx b/src/components/table/models/modals/EditPrefillGroupModal.jsx
index 0ca2ec64..9b3f98d9 100644
--- a/src/components/table/models/modals/EditPrefillGroupModal.jsx
+++ b/src/components/table/models/modals/EditPrefillGroupModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import '../../../console/module-alignment.css';
import React, { useState, useRef, useEffect } from 'react';
import JSONEditor from '../../../common/ui/JSONEditor';
diff --git a/src/components/table/models/modals/EditVendorModal.jsx b/src/components/table/models/modals/EditVendorModal.jsx
index df072536..d510af45 100644
--- a/src/components/table/models/modals/EditVendorModal.jsx
+++ b/src/components/table/models/modals/EditVendorModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../../../hooks/common/useEffectEvent';
import React, { useState, useRef, useEffect } from 'react';
import { Modal, Form, Col, Row } from '@/components/ui';
diff --git a/src/components/table/models/modals/MissingModelsModal.jsx b/src/components/table/models/modals/MissingModelsModal.jsx
index ff176144..4520e64e 100644
--- a/src/components/table/models/modals/MissingModelsModal.jsx
+++ b/src/components/table/models/modals/MissingModelsModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Trans } from 'react-i18next';
import { useEffectEvent } from '../../../../hooks/common/useEffectEvent';
import React, { useEffect, useState } from 'react';
diff --git a/src/components/table/models/modals/PrefillGroupManagement.jsx b/src/components/table/models/modals/PrefillGroupManagement.jsx
index 587ac4a6..a0cf8eb7 100644
--- a/src/components/table/models/modals/PrefillGroupManagement.jsx
+++ b/src/components/table/models/modals/PrefillGroupManagement.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import '../../../console/module-alignment.css';
import React, { useState, useEffect, useCallback } from 'react';
import {
diff --git a/src/components/table/models/modals/SyncWizardModal.jsx b/src/components/table/models/modals/SyncWizardModal.jsx
index f66eeeed..fbbe5ce8 100644
--- a/src/components/table/models/modals/SyncWizardModal.jsx
+++ b/src/components/table/models/modals/SyncWizardModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useState } from 'react';
import { Modal, RadioGroup, Radio, Steps, Button } from '@/components/ui';
import { useIsMobile } from '../../../../hooks/common/useIsMobile';
diff --git a/src/components/table/models/modals/UpstreamConflictModal.jsx b/src/components/table/models/modals/UpstreamConflictModal.jsx
index 568a3398..499748c9 100644
--- a/src/components/table/models/modals/UpstreamConflictModal.jsx
+++ b/src/components/table/models/modals/UpstreamConflictModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useMemo, useState, useCallback } from 'react';
import {
Modal,
diff --git a/src/components/table/redemptions/RedemptionsActions.jsx b/src/components/table/redemptions/RedemptionsActions.jsx
index 0bd3a3b1..43818cc6 100644
--- a/src/components/table/redemptions/RedemptionsActions.jsx
+++ b/src/components/table/redemptions/RedemptionsActions.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Copy, Plus, Trash2 } from '@/components/common/icons/ActionIcons';
import { Button } from '@/components/ui';
diff --git a/src/components/table/redemptions/RedemptionsColumnDefs.jsx b/src/components/table/redemptions/RedemptionsColumnDefs.jsx
index ed350c38..76a90d6d 100644
--- a/src/components/table/redemptions/RedemptionsColumnDefs.jsx
+++ b/src/components/table/redemptions/RedemptionsColumnDefs.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Tag, Button, Space, Popover, Dropdown } from '@/components/ui';
import { IconMore } from '@/components/ui/icons';
diff --git a/src/components/table/redemptions/RedemptionsDescription.jsx b/src/components/table/redemptions/RedemptionsDescription.jsx
index 5b70c17e..6db4f044 100644
--- a/src/components/table/redemptions/RedemptionsDescription.jsx
+++ b/src/components/table/redemptions/RedemptionsDescription.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Typography } from '@/components/ui';
import { Ticket } from 'lucide-react';
diff --git a/src/components/table/redemptions/RedemptionsFilters.jsx b/src/components/table/redemptions/RedemptionsFilters.jsx
index 9aea445a..d71ed2e3 100644
--- a/src/components/table/redemptions/RedemptionsFilters.jsx
+++ b/src/components/table/redemptions/RedemptionsFilters.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useRef } from 'react';
import { Form } from '@/components/ui';
import { ConsoleSearchActions } from '../../console/ConsolePrimitives';
diff --git a/src/components/table/redemptions/RedemptionsTable.jsx b/src/components/table/redemptions/RedemptionsTable.jsx
index 027fb30d..6253a732 100644
--- a/src/components/table/redemptions/RedemptionsTable.jsx
+++ b/src/components/table/redemptions/RedemptionsTable.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useMemo, useState } from 'react';
import TableEmpty from '../../common/table/TableEmpty';
import CardTable from '../../common/ui/CardTable';
diff --git a/src/components/table/redemptions/index.jsx b/src/components/table/redemptions/index.jsx
index 3b48ba9c..caac8116 100644
--- a/src/components/table/redemptions/index.jsx
+++ b/src/components/table/redemptions/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import CardPro from '../../common/ui/CardPro';
import RedemptionsTable from './RedemptionsTable';
diff --git a/src/components/table/redemptions/modals/DeleteRedemptionModal.jsx b/src/components/table/redemptions/modals/DeleteRedemptionModal.jsx
index 7ea6c8de..ae36fb63 100644
--- a/src/components/table/redemptions/modals/DeleteRedemptionModal.jsx
+++ b/src/components/table/redemptions/modals/DeleteRedemptionModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Modal } from '@/components/ui';
import { REDEMPTION_ACTIONS } from '../../../../constants/redemption.constants';
diff --git a/src/components/table/redemptions/modals/EditRedemptionModal.jsx b/src/components/table/redemptions/modals/EditRedemptionModal.jsx
index 0bd69819..c4d4cfe2 100644
--- a/src/components/table/redemptions/modals/EditRedemptionModal.jsx
+++ b/src/components/table/redemptions/modals/EditRedemptionModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../../../hooks/common/useEffectEvent';
import React, { useEffect, useState, useRef } from 'react';
import { useTranslation } from 'react-i18next';
diff --git a/src/components/table/task-logs/TaskLogsActions.jsx b/src/components/table/task-logs/TaskLogsActions.jsx
index cc8b7bfc..be183b06 100644
--- a/src/components/table/task-logs/TaskLogsActions.jsx
+++ b/src/components/table/task-logs/TaskLogsActions.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Download as ActionDownload } from '@/components/common/icons/ActionIcons';
import React from 'react';
import { Button } from '@/components/ui';
diff --git a/src/components/table/task-logs/TaskLogsColumnDefs.jsx b/src/components/table/task-logs/TaskLogsColumnDefs.jsx
index 78f684a5..b8d6d8d1 100644
--- a/src/components/table/task-logs/TaskLogsColumnDefs.jsx
+++ b/src/components/table/task-logs/TaskLogsColumnDefs.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Tag as AntTag } from 'antd';
import { Progress, Tooltip, Typography } from '@/components/ui';
diff --git a/src/components/table/task-logs/TaskLogsFilters.jsx b/src/components/table/task-logs/TaskLogsFilters.jsx
index 51339065..77f78fe2 100644
--- a/src/components/table/task-logs/TaskLogsFilters.jsx
+++ b/src/components/table/task-logs/TaskLogsFilters.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Search as ActionSearch } from '@/components/common/icons/ActionIcons';
import React from 'react';
import { Button, Form } from '@/components/ui';
diff --git a/src/components/table/task-logs/TaskLogsTable.jsx b/src/components/table/task-logs/TaskLogsTable.jsx
index ea2fc1c5..ec8de563 100644
--- a/src/components/table/task-logs/TaskLogsTable.jsx
+++ b/src/components/table/task-logs/TaskLogsTable.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import TableEmpty from '../../common/table/TableEmpty';
import React, { useMemo } from 'react';
import CardTable from '../../common/ui/CardTable';
diff --git a/src/components/table/task-logs/index.jsx b/src/components/table/task-logs/index.jsx
index bf3f0f27..3f37cddd 100644
--- a/src/components/table/task-logs/index.jsx
+++ b/src/components/table/task-logs/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Download as ActionDownload } from '@/components/common/icons/ActionIcons';
import React, { useState } from 'react';
import { Card, Tag as AntTag } from 'antd';
diff --git a/src/components/table/task-logs/modals/ColumnSelectorModal.jsx b/src/components/table/task-logs/modals/ColumnSelectorModal.jsx
index c7153ed7..469f20fd 100644
--- a/src/components/table/task-logs/modals/ColumnSelectorModal.jsx
+++ b/src/components/table/task-logs/modals/ColumnSelectorModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { ColumnVisibilitySettings } from '../../../common/table/ColumnSettings';
import { getTaskLogsColumns } from '../TaskLogsColumnDefs';
diff --git a/src/components/table/task-logs/modals/ContentModal.jsx b/src/components/table/task-logs/modals/ContentModal.jsx
index 55429746..b3a09038 100644
--- a/src/components/table/task-logs/modals/ContentModal.jsx
+++ b/src/components/table/task-logs/modals/ContentModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { writeClipboardText } from '../../../../helpers/clipboard';
import React, { useState, useEffect, useRef } from 'react';
import { Empty, theme } from 'antd';
diff --git a/src/components/table/tokens/TokensActions.jsx b/src/components/table/tokens/TokensActions.jsx
index 5c6c8276..0d5c07a3 100644
--- a/src/components/table/tokens/TokensActions.jsx
+++ b/src/components/table/tokens/TokensActions.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useState } from 'react';
import { Button } from '@/components/ui';
import { showError } from '../../../helpers';
diff --git a/src/components/table/tokens/TokensColumnDefs.jsx b/src/components/table/tokens/TokensColumnDefs.jsx
index 3fd51d5f..50e81549 100644
--- a/src/components/table/tokens/TokensColumnDefs.jsx
+++ b/src/components/table/tokens/TokensColumnDefs.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import {
Button,
diff --git a/src/components/table/tokens/TokensDescription.jsx b/src/components/table/tokens/TokensDescription.jsx
index d5bafec7..81118d2c 100644
--- a/src/components/table/tokens/TokensDescription.jsx
+++ b/src/components/table/tokens/TokensDescription.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Typography } from '@/components/ui';
import { Key } from 'lucide-react';
diff --git a/src/components/table/tokens/TokensFilters.jsx b/src/components/table/tokens/TokensFilters.jsx
index 300d7a3b..edc94bd3 100644
--- a/src/components/table/tokens/TokensFilters.jsx
+++ b/src/components/table/tokens/TokensFilters.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useRef } from 'react';
import { Form, Button } from '@/components/ui';
import { IconSearch } from '@/components/ui/icons';
diff --git a/src/components/table/tokens/TokensTable.jsx b/src/components/table/tokens/TokensTable.jsx
index c25472e5..44b6e545 100644
--- a/src/components/table/tokens/TokensTable.jsx
+++ b/src/components/table/tokens/TokensTable.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useMemo } from 'react';
import { Empty } from '@/components/ui';
import CardTable from '../../common/ui/CardTable';
diff --git a/src/components/table/tokens/index.jsx b/src/components/table/tokens/index.jsx
index eda15e86..1c422a0e 100644
--- a/src/components/table/tokens/index.jsx
+++ b/src/components/table/tokens/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../../hooks/common/useEffectEvent';
import React, { useEffect, useRef, useState } from 'react';
import { Notification, Button, Space, Toast, Select } from '@/components/ui';
diff --git a/src/components/table/tokens/modals/CopyTokensModal.jsx b/src/components/table/tokens/modals/CopyTokensModal.jsx
index d38d88d3..c7740209 100644
--- a/src/components/table/tokens/modals/CopyTokensModal.jsx
+++ b/src/components/table/tokens/modals/CopyTokensModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Modal, Button, Space } from '@/components/ui';
diff --git a/src/components/table/tokens/modals/DeleteTokensModal.jsx b/src/components/table/tokens/modals/DeleteTokensModal.jsx
index 7390372b..38a9eee6 100644
--- a/src/components/table/tokens/modals/DeleteTokensModal.jsx
+++ b/src/components/table/tokens/modals/DeleteTokensModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Modal } from '@/components/ui';
diff --git a/src/components/table/tokens/modals/EditTokenDrawer.jsx b/src/components/table/tokens/modals/EditTokenDrawer.jsx
index 1ad1b186..25f3429c 100644
--- a/src/components/table/tokens/modals/EditTokenDrawer.jsx
+++ b/src/components/table/tokens/modals/EditTokenDrawer.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useMemo, useState } from 'react';
import { Button, Collapse, DatePicker, Divider, Drawer, Spin } from 'antd';
import dayjs from 'dayjs';
diff --git a/src/components/table/tokens/modals/EditTokenModal.jsx b/src/components/table/tokens/modals/EditTokenModal.jsx
index 84f40746..43f2be28 100644
--- a/src/components/table/tokens/modals/EditTokenModal.jsx
+++ b/src/components/table/tokens/modals/EditTokenModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
X as ActionX,
Settings2 as ActionSettings2,
diff --git a/src/components/table/usage-logs/UsageLogsColumnDefs.jsx b/src/components/table/usage-logs/UsageLogsColumnDefs.jsx
index 7e96706b..5f689c34 100644
--- a/src/components/table/usage-logs/UsageLogsColumnDefs.jsx
+++ b/src/components/table/usage-logs/UsageLogsColumnDefs.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Tag as AntTag } from 'antd';
import {
diff --git a/src/components/table/usage-logs/UsageLogsFilters.jsx b/src/components/table/usage-logs/UsageLogsFilters.jsx
index babea867..25b84792 100644
--- a/src/components/table/usage-logs/UsageLogsFilters.jsx
+++ b/src/components/table/usage-logs/UsageLogsFilters.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Search as ActionSearch } from '@/components/common/icons/ActionIcons';
import React from 'react';
import { Button, Form } from '@/components/ui';
diff --git a/src/components/table/usage-logs/UsageLogsTable.jsx b/src/components/table/usage-logs/UsageLogsTable.jsx
index 6ebb31f6..05f0378a 100644
--- a/src/components/table/usage-logs/UsageLogsTable.jsx
+++ b/src/components/table/usage-logs/UsageLogsTable.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import TableEmpty from '../../common/table/TableEmpty';
import React, { useMemo, useState } from 'react';
import AntTable from '../../ui/CenterActionTable';
diff --git a/src/components/table/usage-logs/index.jsx b/src/components/table/usage-logs/index.jsx
index 83add23f..29c33596 100644
--- a/src/components/table/usage-logs/index.jsx
+++ b/src/components/table/usage-logs/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Download as ActionDownload } from '@/components/common/icons/ActionIcons';
import React, { useState } from 'react';
import { Card } from 'antd';
diff --git a/src/components/table/usage-logs/modals/ColumnSelectorModal.jsx b/src/components/table/usage-logs/modals/ColumnSelectorModal.jsx
index 005a224a..854e63bf 100644
--- a/src/components/table/usage-logs/modals/ColumnSelectorModal.jsx
+++ b/src/components/table/usage-logs/modals/ColumnSelectorModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { ColumnVisibilitySettings } from '../../../common/table/ColumnSettings';
import { getLogsColumns } from '../UsageLogsColumnDefs';
diff --git a/src/components/table/usage-logs/modals/UsageLogsExportModal.jsx b/src/components/table/usage-logs/modals/UsageLogsExportModal.jsx
index 50e7cf99..5544f575 100644
--- a/src/components/table/usage-logs/modals/UsageLogsExportModal.jsx
+++ b/src/components/table/usage-logs/modals/UsageLogsExportModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useMemo, useState } from 'react';
import { Modal, Button, Checkbox, Radio, RadioGroup } from '@/components/ui';
import {
diff --git a/src/components/table/usage-logs/modals/UserInfoModal.jsx b/src/components/table/usage-logs/modals/UserInfoModal.jsx
index b86719ea..af2584de 100644
--- a/src/components/table/usage-logs/modals/UserInfoModal.jsx
+++ b/src/components/table/usage-logs/modals/UserInfoModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Modal, Badge } from '@/components/ui';
import { renderQuota, renderNumber } from '../../../../helpers';
diff --git a/src/components/table/users/UsersActions.jsx b/src/components/table/users/UsersActions.jsx
index d8e2b35a..73ed6869 100644
--- a/src/components/table/users/UsersActions.jsx
+++ b/src/components/table/users/UsersActions.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Plus as ActionPlus } from '@/components/common/icons/ActionIcons';
import React from 'react';
import { Button } from 'antd';
diff --git a/src/components/table/users/UsersColumnDefs.jsx b/src/components/table/users/UsersColumnDefs.jsx
index 36a3ff23..22b41545 100644
--- a/src/components/table/users/UsersColumnDefs.jsx
+++ b/src/components/table/users/UsersColumnDefs.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import {
Button,
diff --git a/src/components/table/users/UsersDescription.jsx b/src/components/table/users/UsersDescription.jsx
index bc091bf4..b7c870b6 100644
--- a/src/components/table/users/UsersDescription.jsx
+++ b/src/components/table/users/UsersDescription.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Typography } from '@/components/ui';
import { IconUserAdd } from '@/components/ui/icons';
diff --git a/src/components/table/users/UsersFilters.jsx b/src/components/table/users/UsersFilters.jsx
index 6730cad7..4144ac75 100644
--- a/src/components/table/users/UsersFilters.jsx
+++ b/src/components/table/users/UsersFilters.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useRef } from 'react';
import { Form } from '@/components/ui';
import { ConsoleFilterActions } from '../../console/ConsoleModuleFilters';
diff --git a/src/components/table/users/UsersTable.jsx b/src/components/table/users/UsersTable.jsx
index bc981e26..b4b975b9 100644
--- a/src/components/table/users/UsersTable.jsx
+++ b/src/components/table/users/UsersTable.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import TableEmpty from '../../common/table/TableEmpty';
import React, { useMemo, useState } from 'react';
import CardTable from '../../common/ui/CardTable';
diff --git a/src/components/table/users/index.jsx b/src/components/table/users/index.jsx
index 26520736..2391e187 100644
--- a/src/components/table/users/index.jsx
+++ b/src/components/table/users/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import CardPro from '../../common/ui/CardPro';
import UsersTable from './UsersTable';
diff --git a/src/components/table/users/modals/AddUserModal.jsx b/src/components/table/users/modals/AddUserModal.jsx
index 33feeb03..1b613e8d 100644
--- a/src/components/table/users/modals/AddUserModal.jsx
+++ b/src/components/table/users/modals/AddUserModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useState, useRef } from 'react';
import { API, showError, showSuccess } from '../../../../helpers';
import { useIsMobile } from '../../../../hooks/common/useIsMobile';
diff --git a/src/components/table/users/modals/DeleteUserModal.jsx b/src/components/table/users/modals/DeleteUserModal.jsx
index 17659263..c04496d4 100644
--- a/src/components/table/users/modals/DeleteUserModal.jsx
+++ b/src/components/table/users/modals/DeleteUserModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Modal } from '@/components/ui';
diff --git a/src/components/table/users/modals/DemoteUserModal.jsx b/src/components/table/users/modals/DemoteUserModal.jsx
index 397570e4..cab892ba 100644
--- a/src/components/table/users/modals/DemoteUserModal.jsx
+++ b/src/components/table/users/modals/DemoteUserModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Modal } from '@/components/ui';
diff --git a/src/components/table/users/modals/EditUserModal.jsx b/src/components/table/users/modals/EditUserModal.jsx
index 7faea9ca..44c31415 100644
--- a/src/components/table/users/modals/EditUserModal.jsx
+++ b/src/components/table/users/modals/EditUserModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../../../hooks/common/useEffectEvent';
import React, { useEffect, useState, useRef } from 'react';
import { useTranslation } from 'react-i18next';
diff --git a/src/components/table/users/modals/EnableDisableUserModal.jsx b/src/components/table/users/modals/EnableDisableUserModal.jsx
index b3575761..bb9e8a8a 100644
--- a/src/components/table/users/modals/EnableDisableUserModal.jsx
+++ b/src/components/table/users/modals/EnableDisableUserModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Modal } from '@/components/ui';
diff --git a/src/components/table/users/modals/InvitedUsersModal.jsx b/src/components/table/users/modals/InvitedUsersModal.jsx
index d951af00..fd4ff19d 100644
--- a/src/components/table/users/modals/InvitedUsersModal.jsx
+++ b/src/components/table/users/modals/InvitedUsersModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Trans } from 'react-i18next';
import { useEffectEvent } from '../../../../hooks/common/useEffectEvent';
import React, { useState, useEffect } from 'react';
diff --git a/src/components/table/users/modals/PromoteUserModal.jsx b/src/components/table/users/modals/PromoteUserModal.jsx
index 87bd30f1..84256ce3 100644
--- a/src/components/table/users/modals/PromoteUserModal.jsx
+++ b/src/components/table/users/modals/PromoteUserModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Modal } from '@/components/ui';
diff --git a/src/components/table/users/modals/ResetPasskeyModal.jsx b/src/components/table/users/modals/ResetPasskeyModal.jsx
index 74d5c2a9..3ac4bfbc 100644
--- a/src/components/table/users/modals/ResetPasskeyModal.jsx
+++ b/src/components/table/users/modals/ResetPasskeyModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Modal } from '@/components/ui';
diff --git a/src/components/table/users/modals/ResetTwoFAModal.jsx b/src/components/table/users/modals/ResetTwoFAModal.jsx
index f6566417..7dc7bb8b 100644
--- a/src/components/table/users/modals/ResetTwoFAModal.jsx
+++ b/src/components/table/users/modals/ResetTwoFAModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Modal } from '@/components/ui';
diff --git a/src/components/topup/InvitationCard.jsx b/src/components/topup/InvitationCard.jsx
index c032a5a2..d1c80a48 100644
--- a/src/components/topup/InvitationCard.jsx
+++ b/src/components/topup/InvitationCard.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
Zap as ActionZap,
Copy as ActionCopy,
diff --git a/src/components/topup/RechargeCard.jsx b/src/components/topup/RechargeCard.jsx
index 04b99cb1..35f41bf1 100644
--- a/src/components/topup/RechargeCard.jsx
+++ b/src/components/topup/RechargeCard.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
import { Receipt as ActionReceipt } from '@/components/common/icons/ActionIcons';
import React, { useRef } from 'react';
diff --git a/src/components/topup/index.jsx b/src/components/topup/index.jsx
index a10e6eff..da105380 100644
--- a/src/components/topup/index.jsx
+++ b/src/components/topup/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../hooks/common/useEffectEvent';
import React, { useEffect, useState, useContext, useRef } from 'react';
import {
diff --git a/src/components/topup/modals/PaymentConfirmModal.jsx b/src/components/topup/modals/PaymentConfirmModal.jsx
index b354d0e0..5152631f 100644
--- a/src/components/topup/modals/PaymentConfirmModal.jsx
+++ b/src/components/topup/modals/PaymentConfirmModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Trans } from 'react-i18next';
import { I18N_TECHNICAL_TEXT } from '../../../i18n/technicalText.js';
import './payment-confirm.css';
diff --git a/src/components/topup/modals/TopupHistoryModal.jsx b/src/components/topup/modals/TopupHistoryModal.jsx
index dbf3058d..ebb2f34c 100644
--- a/src/components/topup/modals/TopupHistoryModal.jsx
+++ b/src/components/topup/modals/TopupHistoryModal.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { useEffectEvent } from '../../../hooks/common/useEffectEvent';
import React, { useState, useEffect, useMemo } from 'react';
import {
diff --git a/src/components/topup/modals/TransferModal.jsx b/src/components/topup/modals/TransferModal.jsx
index 6a731043..48f561e9 100644
--- a/src/components/topup/modals/TransferModal.jsx
+++ b/src/components/topup/modals/TransferModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Trans } from 'react-i18next';
import React from 'react';
import { Modal, Typography, Input } from '@/components/ui';
diff --git a/src/components/topup/modals/WechatQRModal.jsx b/src/components/topup/modals/WechatQRModal.jsx
index 85c71b16..e00f9caa 100644
--- a/src/components/topup/modals/WechatQRModal.jsx
+++ b/src/components/topup/modals/WechatQRModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../../hooks/common/useEffectEvent';
import React, { useState, useEffect, useRef } from 'react';
import { Modal, Button, Spin, Typography, Space, Toast } from '@/components/ui';
diff --git a/src/components/ui/CenterActionTable.jsx b/src/components/ui/CenterActionTable.jsx
index adfd8a30..e5577d40 100644
--- a/src/components/ui/CenterActionTable.jsx
+++ b/src/components/ui/CenterActionTable.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, {
forwardRef,
useEffect,
diff --git a/src/components/ui/UiThemeProvider.jsx b/src/components/ui/UiThemeProvider.jsx
index 9fe7899c..f2da96f4 100644
--- a/src/components/ui/UiThemeProvider.jsx
+++ b/src/components/ui/UiThemeProvider.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useLayoutEffect, useMemo, useState } from 'react';
import { App, ConfigProvider, theme } from 'antd';
import zhCN from 'antd/locale/zh_CN';
diff --git a/src/components/ui/centerTablePolicy.js b/src/components/ui/centerTablePolicy.js
index f268f7c1..d59ab6d1 100644
--- a/src/components/ui/centerTablePolicy.js
+++ b/src/components/ui/centerTablePolicy.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import i18next from 'i18next';
export const isCenterTableScope = (pathname) =>
diff --git a/src/components/ui/chartTheme.js b/src/components/ui/chartTheme.js
index e62af79a..810a731a 100644
--- a/src/components/ui/chartTheme.js
+++ b/src/components/ui/chartTheme.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { ThemeManager } from '@visactor/vchart';
let observer;
diff --git a/src/components/ui/chat.jsx b/src/components/ui/chat.jsx
index 221a7383..e58c9fc4 100644
--- a/src/components/ui/chat.jsx
+++ b/src/components/ui/chat.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
Send as ActionSend,
Trash2 as ActionTrash2,
diff --git a/src/components/ui/controls.jsx b/src/components/ui/controls.jsx
index de3fc4d0..67aac3c6 100644
--- a/src/components/ui/controls.jsx
+++ b/src/components/ui/controls.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { forwardRef } from 'react';
import {
AutoComplete as AntAutoComplete,
diff --git a/src/components/ui/form.jsx b/src/components/ui/form.jsx
index efe4df09..1d2189c3 100644
--- a/src/components/ui/form.jsx
+++ b/src/components/ui/form.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, {
createContext,
forwardRef,
diff --git a/src/components/ui/icons.jsx b/src/components/ui/icons.jsx
index 8f167935..4a44583a 100644
--- a/src/components/ui/icons.jsx
+++ b/src/components/ui/icons.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import * as Icons from '../common/icons/ActionIcons';
diff --git a/src/components/ui/index.jsx b/src/components/ui/index.jsx
index ca4a3d44..a9df8f00 100644
--- a/src/components/ui/index.jsx
+++ b/src/components/ui/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { forwardRef } from 'react';
import * as Ant from 'antd';
import { controlSize, placement } from './controls';
diff --git a/src/components/ui/overlayPolicy.js b/src/components/ui/overlayPolicy.js
index 7dcd9cce..aa2de375 100644
--- a/src/components/ui/overlayPolicy.js
+++ b/src/components/ui/overlayPolicy.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// Shared overlays also serve admin pages; apply the personal-page policy only
// when rendering an overlay or opening an imperative confirmation on these routes.
export function overlayMaskClosable(
diff --git a/src/components/ui/pagination.js b/src/components/ui/pagination.js
index 4060f385..fc919e55 100644
--- a/src/components/ui/pagination.js
+++ b/src/components/ui/pagination.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import i18next from 'i18next';
export const isCenterPaginationScope = () =>
diff --git a/src/config/cloudBrainUi.js b/src/config/cloudBrainUi.js
index 923344c3..b1791b87 100644
--- a/src/config/cloudBrainUi.js
+++ b/src/config/cloudBrainUi.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export const parseFrontendBoolean = (value, fallback = false) => {
if (value === undefined || value === null || value === '') return fallback;
return ['1', 'true', 'yes', 'on'].includes(String(value).toLowerCase());
diff --git a/src/constants/channel.constants.js b/src/constants/channel.constants.js
index 2ccf0ac0..f503e897 100644
--- a/src/constants/channel.constants.js
+++ b/src/constants/channel.constants.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import i18next from 'i18next';
// label 以简体中文(或厂商英文名)为 i18n 键;读取 label 时按当前界面语言翻译,
diff --git a/src/constants/common.constant.js b/src/constants/common.constant.js
index 5600c8c1..90790080 100644
--- a/src/constants/common.constant.js
+++ b/src/constants/common.constant.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export const ITEMS_PER_PAGE = 10; // this value must keep same as the one defined in backend!
export const DEFAULT_ENDPOINT = '/api/ratio_config';
diff --git a/src/constants/console.constants.js b/src/constants/console.constants.js
index bef19e4b..a84d434d 100644
--- a/src/constants/console.constants.js
+++ b/src/constants/console.constants.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import dayjs from 'dayjs';
// ========== 日期预设常量 ==========
diff --git a/src/constants/countries.js b/src/constants/countries.js
index 1000eb00..39d59c69 100644
--- a/src/constants/countries.js
+++ b/src/constants/countries.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// ISO 3166-1 alpha-2 全表 + XK(科索沃)。须与后端 setting/language_setting/countries.go
// 一致(Go 契约测试比对);国家名称由浏览器 Intl.DisplayNames 按界面语言本地化,无需翻译词条。
const RAW_COUNTRY_CODES = `
diff --git a/src/constants/creationTemplates.js b/src/constants/creationTemplates.js
index f71332e4..61340029 100644
--- a/src/constants/creationTemplates.js
+++ b/src/constants/creationTemplates.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 创作台静态灵感模板(方案 §4.4,B 阶段用静态 JSON,后台配置后置)。
// title / group 为 i18n key;prompt 是直接提交给模型的内容,不翻译。
// model(可选)为推荐模型名:可用时点击模板会切过去,否则保持当前模型(见 creationDock.templateModelFor)。
diff --git a/src/constants/dashboard.constants.js b/src/constants/dashboard.constants.js
index 31036346..8dc61533 100644
--- a/src/constants/dashboard.constants.js
+++ b/src/constants/dashboard.constants.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// ========== UI 配置常量 ==========
export const CHART_CONFIG = { mode: 'desktop-browser' };
diff --git a/src/constants/headerNavModules.js b/src/constants/headerNavModules.js
index 815e9121..6b759b35 100644
--- a/src/constants/headerNavModules.js
+++ b/src/constants/headerNavModules.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
export const HEADER_NAV_AUTH_MODULES = [
'experienceCenter',
'keyManagement',
diff --git a/src/constants/imageModelCapabilities.js b/src/constants/imageModelCapabilities.js
index 92231778..0a4b53f8 100644
--- a/src/constants/imageModelCapabilities.js
+++ b/src/constants/imageModelCapabilities.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import i18next from 'i18next';
// 图像生成模型族能力注册表
diff --git a/src/constants/index.js b/src/constants/index.js
index b2d48cc7..c339fc45 100644
--- a/src/constants/index.js
+++ b/src/constants/index.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export * from './channel.constants';
export * from './user.constants';
export * from './toast.constants';
diff --git a/src/constants/invoice.constants.js b/src/constants/invoice.constants.js
index f6bf22ab..d9258229 100644
--- a/src/constants/invoice.constants.js
+++ b/src/constants/invoice.constants.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
export const INVOICE_STATUS = {
PENDING: 1,
APPROVED: 2,
diff --git a/src/constants/model-category.constant.js b/src/constants/model-category.constant.js
index 1b275a43..b7c46be4 100644
--- a/src/constants/model-category.constant.js
+++ b/src/constants/model-category.constant.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import i18next from 'i18next';
/**
diff --git a/src/constants/playground.constants.js b/src/constants/playground.constants.js
index ed69d125..bc905340 100644
--- a/src/constants/playground.constants.js
+++ b/src/constants/playground.constants.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { getServerURL } from '../helpers/config';
export const MESSAGE_STATUS = {
diff --git a/src/constants/redemption.constants.js b/src/constants/redemption.constants.js
index baba96ee..036d2af6 100644
--- a/src/constants/redemption.constants.js
+++ b/src/constants/redemption.constants.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export const REDEMPTION_STATUS = {
UNUSED: 1, // Unused
DISABLED: 2, // Disabled
diff --git a/src/constants/settingTabs.js b/src/constants/settingTabs.js
index 1af417e9..61c874aa 100644
--- a/src/constants/settingTabs.js
+++ b/src/constants/settingTabs.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
/*
* 系统设置(/console/setting)页面 tab 的单一数据源。
* 供 Setting/index.jsx 与运营设置中的「下放管理员」勾选 UI 共用,避免两处 tab 列表漂移。
diff --git a/src/constants/sidebarModules.js b/src/constants/sidebarModules.js
index 930cc371..395e2db5 100644
--- a/src/constants/sidebarModules.js
+++ b/src/constants/sidebarModules.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
export const getDefaultSidebarModulesAdmin = () => ({
experienceCenter: {
enabled: true,
diff --git a/src/constants/skillCategories.js b/src/constants/skillCategories.js
index e8ac5e52..62a85e1f 100644
--- a/src/constants/skillCategories.js
+++ b/src/constants/skillCategories.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import i18next from 'i18next';
// 技能分类标签的展示名映射(技能超市 + 平台管理台共用)。
diff --git a/src/constants/toast.constants.js b/src/constants/toast.constants.js
index 901caa49..f8853df6 100644
--- a/src/constants/toast.constants.js
+++ b/src/constants/toast.constants.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export const toastConstants = {
SUCCESS_TIMEOUT: 1500,
INFO_TIMEOUT: 3000,
diff --git a/src/constants/user.constants.js b/src/constants/user.constants.js
index 364e2abe..e69de29b 100644
--- a/src/constants/user.constants.js
+++ b/src/constants/user.constants.js
@@ -1,18 +0,0 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
diff --git a/src/constants/video-generation.constant.js b/src/constants/video-generation.constant.js
index 9fa956f7..3a03e4a8 100644
--- a/src/constants/video-generation.constant.js
+++ b/src/constants/video-generation.constant.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 提示词模板
export const PROMPT_TEMPLATES = [
{
diff --git a/src/context/Org/index.jsx b/src/context/Org/index.jsx
index dc95e857..d5c66a99 100644
--- a/src/context/Org/index.jsx
+++ b/src/context/Org/index.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React, { createContext, useReducer, useCallback } from 'react';
import { reducer, initialState } from './reducer';
import { API } from '../../helpers/api';
diff --git a/src/context/Org/reducer.js b/src/context/Org/reducer.js
index 2ffc51f6..75d29124 100644
--- a/src/context/Org/reducer.js
+++ b/src/context/Org/reducer.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
export const initialState = {
currentOrg: null,
orgs: [],
diff --git a/src/context/Playground/index.js b/src/context/Playground/index.js
index eff24e49..1d9f1bda 100644
--- a/src/context/Playground/index.js
+++ b/src/context/Playground/index.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { createContext, createElement, useContext } from 'react';
/**
diff --git a/src/context/Status/index.jsx b/src/context/Status/index.jsx
index baae8a17..f02835e7 100644
--- a/src/context/Status/index.jsx
+++ b/src/context/Status/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { initialState, reducer } from './reducer';
diff --git a/src/context/Status/reducer.js b/src/context/Status/reducer.js
index 457b5f1d..ec9ac6ae 100644
--- a/src/context/Status/reducer.js
+++ b/src/context/Status/reducer.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export const reducer = (state, action) => {
switch (action.type) {
case 'set':
diff --git a/src/context/Theme/index.jsx b/src/context/Theme/index.jsx
index 8733b842..64446c7a 100644
--- a/src/context/Theme/index.jsx
+++ b/src/context/Theme/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
createContext,
useCallback,
diff --git a/src/context/User/index.jsx b/src/context/User/index.jsx
index a57aab1b..6d736d47 100644
--- a/src/context/User/index.jsx
+++ b/src/context/User/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { reducer, initialState } from './reducer';
diff --git a/src/context/User/reducer.js b/src/context/User/reducer.js
index aab8d3af..2f815a11 100644
--- a/src/context/User/reducer.js
+++ b/src/context/User/reducer.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export const reducer = (state, action) => {
switch (action.type) {
case 'login':
diff --git a/src/helpers/adminDelegation.js b/src/helpers/adminDelegation.js
index 30b07f85..c0ac2eb8 100644
--- a/src/helpers/adminDelegation.js
+++ b/src/helpers/adminDelegation.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
DELEGATABLE_ADMIN_PAGES,
DELEGATABLE_SETTING_TABS,
diff --git a/src/helpers/api.js b/src/helpers/api.js
index ab13025c..4c4ee2d6 100644
--- a/src/helpers/api.js
+++ b/src/helpers/api.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
getUserIdFromLocalStorage,
redirectToExpiredLogin,
diff --git a/src/helpers/auth.jsx b/src/helpers/auth.jsx
index 57d17278..931213d0 100644
--- a/src/helpers/auth.jsx
+++ b/src/helpers/auth.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useContext, useEffect, useRef } from 'react';
import { Navigate, useLocation, useNavigate } from 'react-router-dom';
import { history } from './history';
diff --git a/src/helpers/authRedirect.js b/src/helpers/authRedirect.js
index e28c99ce..0dfd1cd6 100644
--- a/src/helpers/authRedirect.js
+++ b/src/helpers/authRedirect.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { DEFAULT_LOGIN_REDIRECT } from './data.js';
export function authRedirectTarget({
diff --git a/src/helpers/authRedirect.test.js b/src/helpers/authRedirect.test.js
index e4a60ef2..8fb991cb 100644
--- a/src/helpers/authRedirect.test.js
+++ b/src/helpers/authRedirect.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import test from 'node:test';
import assert from 'node:assert/strict';
diff --git a/src/helpers/avatar.js b/src/helpers/avatar.js
index 7db089b0..e7e7fe36 100644
--- a/src/helpers/avatar.js
+++ b/src/helpers/avatar.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { encodeToBase64 } from './base64';
import { stringToColor } from './render';
diff --git a/src/helpers/baiduChannelSettings.js b/src/helpers/baiduChannelSettings.js
index 3bcbde78..8a2d39b1 100644
--- a/src/helpers/baiduChannelSettings.js
+++ b/src/helpers/baiduChannelSettings.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import i18next from 'i18next';
// Preserve settings unknown to this version of the channel form.
diff --git a/src/helpers/baiduChannelSettings.test.js b/src/helpers/baiduChannelSettings.test.js
index cc7418e3..37afcedc 100644
--- a/src/helpers/baiduChannelSettings.test.js
+++ b/src/helpers/baiduChannelSettings.test.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import test from 'node:test';
import assert from 'node:assert/strict';
import { mergeChannelSettings } from './baiduChannelSettings.js';
diff --git a/src/helpers/base64.js b/src/helpers/base64.js
index 1e15d6b9..d5792864 100644
--- a/src/helpers/base64.js
+++ b/src/helpers/base64.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
const toBinaryString = (text) => {
if (typeof TextEncoder !== 'undefined') {
const bytes = new TextEncoder().encode(text);
diff --git a/src/helpers/boolean.js b/src/helpers/boolean.js
index 8181cf3c..cc8caa75 100644
--- a/src/helpers/boolean.js
+++ b/src/helpers/boolean.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export const toBoolean = (value) => {
// 兼容字符串、数字以及布尔原生类型
if (typeof value === 'boolean') return value;
diff --git a/src/helpers/brandPalette.js b/src/helpers/brandPalette.js
index d1aac717..6b10408e 100644
--- a/src/helpers/brandPalette.js
+++ b/src/helpers/brandPalette.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { colord, extend } from 'colord';
import a11yPlugin from 'colord/plugins/a11y';
import mixPlugin from 'colord/plugins/mix';
diff --git a/src/helpers/chunkReload.js b/src/helpers/chunkReload.js
index c26b3bae..cf3ebaf8 100644
--- a/src/helpers/chunkReload.js
+++ b/src/helpers/chunkReload.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
const CHUNK_RELOAD_KEY = 'weelinking:chunk-reload';
const CHUNK_RELOAD_PARAM = '__wl_reload';
const RELOAD_COOLDOWN_MS = 60 * 1000;
diff --git a/src/helpers/clipboard.js b/src/helpers/clipboard.js
index 86588f4d..6695a79e 100644
--- a/src/helpers/clipboard.js
+++ b/src/helpers/clipboard.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// Keep clipboard access in one place so HTTP deployments can use the fallback.
export async function copyText(text) {
if (text === null || text === undefined) return false;
diff --git a/src/helpers/columnVisibility.js b/src/helpers/columnVisibility.js
index 0e59a023..00817737 100644
--- a/src/helpers/columnVisibility.js
+++ b/src/helpers/columnVisibility.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { parseStoredObject } from './storageJson.js';
// Resolve raw localStorage JSON without mutating defaults or performing I/O.
diff --git a/src/helpers/columnVisibility.test.js b/src/helpers/columnVisibility.test.js
index 91a7dafd..9e3eada3 100644
--- a/src/helpers/columnVisibility.test.js
+++ b/src/helpers/columnVisibility.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import test from 'node:test';
import assert from 'node:assert/strict';
import { resolveColumnVisibility } from './columnVisibility.js';
diff --git a/src/helpers/config.js b/src/helpers/config.js
index 0b2c3bb6..cf91fd27 100644
--- a/src/helpers/config.js
+++ b/src/helpers/config.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export function getServerURL() {
return import.meta.env.VITE_REACT_APP_SERVER_URL || '';
}
diff --git a/src/helpers/config.test.js b/src/helpers/config.test.js
index 97334f2e..b2107b8b 100644
--- a/src/helpers/config.test.js
+++ b/src/helpers/config.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import { readFile } from 'node:fs/promises';
import test from 'node:test';
diff --git a/src/helpers/creationError.js b/src/helpers/creationError.js
index fea723da..7bae98aa 100644
--- a/src/helpers/creationError.js
+++ b/src/helpers/creationError.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 创作台统一错误映射(WP B-7,方案 §4.4「失败可理解」):图像 / 视频的提交错误与任务失败原因
// → 中文文案(i18n key)+ 下一步动作。纯函数、无 React / i18n 依赖,可直接 node --test。
// 旧视频页仍使用 helpers/videoTask.normalizeExperienceVideoError(只取 code / message),两者互不影响。
diff --git a/src/helpers/creationError.test.js b/src/helpers/creationError.test.js
index e96b1d26..f774ada9 100644
--- a/src/helpers/creationError.test.js
+++ b/src/helpers/creationError.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import {
diff --git a/src/helpers/creationEvents.js b/src/helpers/creationEvents.js
index 3d519ee4..098f149b 100644
--- a/src/helpers/creationEvents.js
+++ b/src/helpers/creationEvents.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 创作页前端埋点(WP B-7,方案 §7.1),批量发往 POST /api/creation/events(WP A1-11)。
// - 每 10 秒 / 攒满 50 条 / 页面隐藏或 pagehide 时发送;每批 ≤ 50 条(后端上限);
// - fire-and-forget:发送失败直接丢弃、不重试;任何情况下都不抛异常、不打断页面。
diff --git a/src/helpers/creationEvents.test.js b/src/helpers/creationEvents.test.js
index 24ed1879..8c20f32e 100644
--- a/src/helpers/creationEvents.test.js
+++ b/src/helpers/creationEvents.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import {
diff --git a/src/helpers/creationStudio.js b/src/helpers/creationStudio.js
index 68d6c734..c5176f7d 100644
--- a/src/helpers/creationStudio.js
+++ b/src/helpers/creationStudio.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
/**
* 新创作台灰度开关(/api/status 的 experience_creation_v2_enabled,对应系统选项
* ExperienceCreationV2Enabled,默认 "false")。只读服务端状态,不读 localStorage,
diff --git a/src/helpers/dashboard.jsx b/src/helpers/dashboard.jsx
index 67df7dfa..1252857a 100644
--- a/src/helpers/dashboard.jsx
+++ b/src/helpers/dashboard.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Progress, Divider, Empty } from '@/components/ui';
import {
diff --git a/src/helpers/data.js b/src/helpers/data.js
index 4090a61f..6721bcaa 100644
--- a/src/helpers/data.js
+++ b/src/helpers/data.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export function setStatusData(data) {
localStorage.setItem('status', JSON.stringify(data));
localStorage.setItem('system_name', data.system_name);
diff --git a/src/helpers/eventBus.js b/src/helpers/eventBus.js
index b1e1e66a..0cc1c37f 100644
--- a/src/helpers/eventBus.js
+++ b/src/helpers/eventBus.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 极简事件总线,用于在不建立父子 props 链的前提下让页面间互相通知
// 典型场景:任务日志轮询到某任务完成后,通知使用日志刷新,使额度/费用统计即时更新
const listeners = new Map();
diff --git a/src/helpers/experienceCenter.js b/src/helpers/experienceCenter.js
index 8b096424..e972866b 100644
--- a/src/helpers/experienceCenter.js
+++ b/src/helpers/experienceCenter.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export const getExperienceCenterValue = (
status,
statusKey,
diff --git a/src/helpers/exportConversation.js b/src/helpers/exportConversation.js
index 8c75022d..13d332de 100644
--- a/src/helpers/exportConversation.js
+++ b/src/helpers/exportConversation.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 把当前会话的 messages 数组转成可分享的 Markdown 文档。
//
// 设计要点:
diff --git a/src/helpers/exportCsv.js b/src/helpers/exportCsv.js
index 6f10d5a4..a37b6016 100644
--- a/src/helpers/exportCsv.js
+++ b/src/helpers/exportCsv.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 导出当前页日志为 CSV,只在前端处理,不新增后端接口
// 作用域:仅当前页(rows 是已加载到内存的列表)。如需全量导出,后续可接后端 stream 接口
// 用 \uFEFF BOM 让 Excel 自动识别 UTF-8;字段值里遇到 "、,、换行 的用双引号包裹并转义
diff --git a/src/helpers/exportMessages.js b/src/helpers/exportMessages.js
index 06870756..719bc02e 100644
--- a/src/helpers/exportMessages.js
+++ b/src/helpers/exportMessages.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 体验中心:把用户多选的若干条消息导出为 TXT / Word 文件。
//
// 设计要点:
diff --git a/src/helpers/history.js b/src/helpers/history.js
index f6f4d9a8..f529e5d6 100644
--- a/src/helpers/history.js
+++ b/src/helpers/history.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { createBrowserHistory } from 'history';
export const history = createBrowserHistory();
diff --git a/src/helpers/index.js b/src/helpers/index.js
index 17722d0c..5ca7341c 100644
--- a/src/helpers/index.js
+++ b/src/helpers/index.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export * from './history';
export * from './auth';
export * from './utils';
diff --git a/src/helpers/log.js b/src/helpers/log.js
index ddc53bff..5d55c03b 100644
--- a/src/helpers/log.js
+++ b/src/helpers/log.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export function getLogOther(otherStr) {
if (otherStr === undefined || otherStr === null || otherStr === '') {
otherStr = '{}';
diff --git a/src/helpers/loginFlow.js b/src/helpers/loginFlow.js
index 1d8fd3ee..6e6c4d73 100644
--- a/src/helpers/loginFlow.js
+++ b/src/helpers/loginFlow.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { API, updateAPI } from './api';
import { clearUserData, consumePostLoginRedirect, setUserData } from './data';
import { showError } from './utils';
diff --git a/src/helpers/miniProgram.js b/src/helpers/miniProgram.js
index 5076bd07..76b6f8c0 100644
--- a/src/helpers/miniProgram.js
+++ b/src/helpers/miniProgram.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// WeyAi 微信小程序的 web-view 里打开登录页时(WeyAi 仓库 docs/fork/16 第 5.2 节 MP-M1):
// web-view 只能打开登记过的业务域名,第三方登录要跳到 GitHub、OIDC 等外部域名,会被拦下;
// passkey 依赖的 WebAuthn 在 web-view 里也用不了。所以只留站内能完成的方式:
diff --git a/src/helpers/miniProgram.test.js b/src/helpers/miniProgram.test.js
index a1ef1e36..83d47c19 100644
--- a/src/helpers/miniProgram.test.js
+++ b/src/helpers/miniProgram.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import test from 'node:test';
import assert from 'node:assert/strict';
diff --git a/src/helpers/navigationVisibility.js b/src/helpers/navigationVisibility.js
index 86a082db..3c02c8ac 100644
--- a/src/helpers/navigationVisibility.js
+++ b/src/helpers/navigationVisibility.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
export const normalizeGroups = (groups) => {
if (!Array.isArray(groups)) return [];
return groups.map((group) => String(group).trim()).filter(Boolean);
diff --git a/src/helpers/navigationVisibility.test.js b/src/helpers/navigationVisibility.test.js
index d5c014d6..49e5aeb5 100644
--- a/src/helpers/navigationVisibility.test.js
+++ b/src/helpers/navigationVisibility.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import test from 'node:test';
import assert from 'node:assert/strict';
@@ -28,9 +9,7 @@ test('header tutorial action follows the saved enabled switch', () => {
'function',
);
- const disabledConfig = [
- { key: 'tutorial', enabled: false, groups: [] },
- ];
+ const disabledConfig = [{ key: 'tutorial', enabled: false, groups: [] }];
assert.equal(
navigationVisibility.isHeaderActionButtonVisible?.(
diff --git a/src/helpers/notificationReadState.js b/src/helpers/notificationReadState.js
index 8c89632a..186163f4 100644
--- a/src/helpers/notificationReadState.js
+++ b/src/helpers/notificationReadState.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { parseStoredArray, readStorageValue } from './storageJson.js';
export const NOTICE_READ_KEYS_KEY = 'notice_read_keys';
diff --git a/src/helpers/officialPrice.js b/src/helpers/officialPrice.js
index d6f6169d..ec4f92f1 100644
--- a/src/helpers/officialPrice.js
+++ b/src/helpers/officialPrice.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import i18next from 'i18next';
// ============================================================================
diff --git a/src/helpers/officialPrice.test.js b/src/helpers/officialPrice.test.js
index 10e4c9fa..a4fecebb 100644
--- a/src/helpers/officialPrice.test.js
+++ b/src/helpers/officialPrice.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import test from 'node:test';
import assert from 'node:assert/strict';
diff --git a/src/helpers/orgLogFilters.js b/src/helpers/orgLogFilters.js
index e4b6df05..813a9979 100644
--- a/src/helpers/orgLogFilters.js
+++ b/src/helpers/orgLogFilters.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
/** Map the shared consumption filters without adding endpoint-specific options. */
export function buildOrgLogFilters({
userId,
diff --git a/src/helpers/orgLogFilters.test.js b/src/helpers/orgLogFilters.test.js
index aec5d428..cae10cd1 100644
--- a/src/helpers/orgLogFilters.test.js
+++ b/src/helpers/orgLogFilters.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import { buildOrgLogFilters } from './orgLogFilters.js';
diff --git a/src/helpers/orgLoginName.js b/src/helpers/orgLoginName.js
index 7b57b25a..9134ced7 100644
--- a/src/helpers/orgLoginName.js
+++ b/src/helpers/orgLoginName.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 企业管理员(Owner)登录名的前置校验,与后端 controller.normalizeOrgOwnerLoginName /
// common.OrgDirectLoginNameDenylist 保持一致。管理员登录名不再默认 admin——默认名让所有企业的
// 管理员账号高度可预测(扩大撞库面),且 admin 命中直登黑名单,管理员反而用不了「账号直登」。
diff --git a/src/helpers/orgLoginName.test.js b/src/helpers/orgLoginName.test.js
index 57aba769..5a81c9ab 100644
--- a/src/helpers/orgLoginName.test.js
+++ b/src/helpers/orgLoginName.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import test from 'node:test';
import assert from 'node:assert/strict';
@@ -52,13 +33,26 @@ test('保留名判定大小写不敏感且忽略首尾空格(同后端 IsDirec
for (const name of ['admin', 'ADMIN', ' Admin ', 'Root', 'SuperAdmin']) {
assert.equal(isReservedLoginName(name), true, name);
}
- for (const name of ['admin2', 'root_user', 'zhang.san', '', null, undefined]) {
+ for (const name of [
+ 'admin2',
+ 'root_user',
+ 'zhang.san',
+ '',
+ null,
+ undefined,
+ ]) {
assert.equal(isReservedLoginName(name), false, String(name));
}
});
test('格式规则:3-32 位、字母开头、仅 字母/数字/_ . -', () => {
- for (const ok of ['abc', 'Lee_Wei', 'zhang.san', 'acme-ops', 'a'.repeat(32)]) {
+ for (const ok of [
+ 'abc',
+ 'Lee_Wei',
+ 'zhang.san',
+ 'acme-ops',
+ 'a'.repeat(32),
+ ]) {
assert.equal(LOGIN_NAME_PATTERN.test(ok), true, ok);
}
for (const bad of [
diff --git a/src/helpers/paging.js b/src/helpers/paging.js
index 72f6a0d9..b834e0ae 100644
--- a/src/helpers/paging.js
+++ b/src/helpers/paging.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 后端 common/page_info.go 的 GetPageQuery 对 page_size > 100 是**静默钳到
// 100**——不报错、不提示。因此前端"传个大 page_size 一次取全"的写法拿到的
// 永远只有前 100 条,且无从察觉。这类页面往往还带前端分页控件(Table 的
diff --git a/src/helpers/passkey.js b/src/helpers/passkey.js
index 213234ce..29756e85 100644
--- a/src/helpers/passkey.js
+++ b/src/helpers/passkey.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import i18next from 'i18next';
export function base64UrlToBuffer(base64url) {
diff --git a/src/helpers/paypalPayment.js b/src/helpers/paypalPayment.js
index 8d8fcef5..182692ea 100644
--- a/src/helpers/paypalPayment.js
+++ b/src/helpers/paypalPayment.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export const PAYPAL_RETURN_STATES = {
success: { type: 'success', message: 'PayPal 充值成功' },
pending: { type: 'info', message: 'PayPal 支付处理中,请稍后查看充值记录' },
diff --git a/src/helpers/paypalPayment.test.js b/src/helpers/paypalPayment.test.js
index 7a97dd36..bff3bf86 100644
--- a/src/helpers/paypalPayment.test.js
+++ b/src/helpers/paypalPayment.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import test from 'node:test';
import assert from 'node:assert/strict';
import {
diff --git a/src/helpers/playgroundCapability.js b/src/helpers/playgroundCapability.js
index e487773a..f3a96984 100644
--- a/src/helpers/playgroundCapability.js
+++ b/src/helpers/playgroundCapability.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 体验中心:判断当前模型是否具备分析上传文件的能力。
//
// 采用"反向黑名单"策略而不是正向白名单:
diff --git a/src/helpers/playgroundHistory.js b/src/helpers/playgroundHistory.js
index 99c39216..169045d9 100644
--- a/src/helpers/playgroundHistory.js
+++ b/src/helpers/playgroundHistory.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 体验中心长会话上下文管理:历史窗口裁剪 + 摘要拼接。
// 纯函数,不依赖 React,供 Playground 各发送入口与摘要 hook 复用。
diff --git a/src/helpers/postLoginRedirect.test.js b/src/helpers/postLoginRedirect.test.js
index e7a67b19..c79e4a0f 100644
--- a/src/helpers/postLoginRedirect.test.js
+++ b/src/helpers/postLoginRedirect.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import test from 'node:test';
import assert from 'node:assert/strict';
diff --git a/src/helpers/rechargeAmount.js b/src/helpers/rechargeAmount.js
index a94878b8..f71f989c 100644
--- a/src/helpers/rechargeAmount.js
+++ b/src/helpers/rechargeAmount.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export function calculatePresetPayableAmount(
preset,
priceRatio = 1,
diff --git a/src/helpers/rechargeAmount.test.js b/src/helpers/rechargeAmount.test.js
index 79479555..89282b4c 100644
--- a/src/helpers/rechargeAmount.test.js
+++ b/src/helpers/rechargeAmount.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import test from 'node:test';
import assert from 'node:assert/strict';
import { calculatePresetPayableAmount } from './rechargeAmount.js';
diff --git a/src/helpers/render.jsx b/src/helpers/render.jsx
index dece4a39..66b2b79c 100644
--- a/src/helpers/render.jsx
+++ b/src/helpers/render.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
OpenAIMono as OpenAI,
ClaudeColor as Claude,
diff --git a/src/helpers/requestDedupe.js b/src/helpers/requestDedupe.js
index 03ba2b76..15943db3 100644
--- a/src/helpers/requestDedupe.js
+++ b/src/helpers/requestDedupe.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export function getHeaderValue(headers, name) {
if (!headers) return '';
if (typeof headers.get === 'function') {
diff --git a/src/helpers/requestDedupe.test.js b/src/helpers/requestDedupe.test.js
index 6aa203f5..2b8c7fc1 100644
--- a/src/helpers/requestDedupe.test.js
+++ b/src/helpers/requestDedupe.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import test from 'node:test';
import assert from 'node:assert/strict';
diff --git a/src/helpers/requestLifecycle.js b/src/helpers/requestLifecycle.js
index 679e57bb..01ff2e3f 100644
--- a/src/helpers/requestLifecycle.js
+++ b/src/helpers/requestLifecycle.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { CanceledError, isCancel } from 'axios';
const PUBLIC_API_PATH =
diff --git a/src/helpers/safeDisplay.js b/src/helpers/safeDisplay.js
index bd97d992..c57146d1 100644
--- a/src/helpers/safeDisplay.js
+++ b/src/helpers/safeDisplay.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export const toFiniteNumber = (value) => {
if (value === null || value === undefined) return null;
if (typeof value === 'string' && value.trim() === '') return null;
diff --git a/src/helpers/safeUrl.js b/src/helpers/safeUrl.js
index 62effd2e..a33edb9a 100644
--- a/src/helpers/safeUrl.js
+++ b/src/helpers/safeUrl.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
/**
* 只放行 http(s) 绝对地址:来自后台配置或接口的地址在做成链接、发请求前先过滤,
* 挡住 javascript:、data:、file: 之类的伪协议和协议相对地址。
diff --git a/src/helpers/safeUrl.test.js b/src/helpers/safeUrl.test.js
index 25160c8b..110fe023 100644
--- a/src/helpers/safeUrl.test.js
+++ b/src/helpers/safeUrl.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import test from 'node:test';
import assert from 'node:assert/strict';
diff --git a/src/helpers/secureApiCall.js b/src/helpers/secureApiCall.js
index a743ad14..8e642500 100644
--- a/src/helpers/secureApiCall.js
+++ b/src/helpers/secureApiCall.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
/**
* 安全 API 调用包装器
* 自动处理需要验证的 403 错误,透明地触发验证流程
diff --git a/src/helpers/sidebarScroll.js b/src/helpers/sidebarScroll.js
index b2bd88be..089f289c 100644
--- a/src/helpers/sidebarScroll.js
+++ b/src/helpers/sidebarScroll.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export function revealActiveSidebarItem(container) {
if (!container || container.scrollHeight <= container.clientHeight) return;
const active = container.querySelector('[aria-current="page"]');
diff --git a/src/helpers/storageJson.js b/src/helpers/storageJson.js
index ed5f269f..8caa4e00 100644
--- a/src/helpers/storageJson.js
+++ b/src/helpers/storageJson.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
function parseStoredJson(json, isValid, fallback) {
if (typeof json !== 'string') return fallback;
try {
diff --git a/src/helpers/storageJson.test.js b/src/helpers/storageJson.test.js
index d0e7e732..c3a0dcb7 100644
--- a/src/helpers/storageJson.test.js
+++ b/src/helpers/storageJson.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import test from 'node:test';
import assert from 'node:assert/strict';
import {
diff --git a/src/helpers/tableCompactMode.js b/src/helpers/tableCompactMode.js
index 2eb505ff..63629f71 100644
--- a/src/helpers/tableCompactMode.js
+++ b/src/helpers/tableCompactMode.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { TABLE_COMPACT_MODES_KEY } from '../constants/common.constant.js';
import { parseStoredObject, readStorageValue } from './storageJson.js';
diff --git a/src/helpers/theme.js b/src/helpers/theme.js
index 3c36b840..7f33748a 100644
--- a/src/helpers/theme.js
+++ b/src/helpers/theme.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { colord, extend } from 'colord';
import mixPlugin from 'colord/plugins/mix';
import { getPreset, DEFAULT_PRESET_KEY } from '../styles/presets';
diff --git a/src/helpers/token.js b/src/helpers/token.js
index f37e4ebd..c2f1a424 100644
--- a/src/helpers/token.js
+++ b/src/helpers/token.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { API } from './api';
/**
diff --git a/src/helpers/utils.jsx b/src/helpers/utils.jsx
index 773a3a5a..cd80c579 100644
--- a/src/helpers/utils.jsx
+++ b/src/helpers/utils.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Toast, Pagination } from '@/components/ui';
import { toastConstants } from '../constants';
import React from 'react';
diff --git a/src/helpers/videoTask.js b/src/helpers/videoTask.js
index 68b2564a..5dca2cf9 100644
--- a/src/helpers/videoTask.js
+++ b/src/helpers/videoTask.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import i18next from 'i18next';
const SUCCESS_STATUSES = new Set(['success', 'completed', 'succeeded']);
diff --git a/src/helpers/videoTask.test.js b/src/helpers/videoTask.test.js
index f7ab6969..4d372e5f 100644
--- a/src/helpers/videoTask.test.js
+++ b/src/helpers/videoTask.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import test from 'node:test';
import assert from 'node:assert/strict';
diff --git a/src/helpers/websiteApi.js b/src/helpers/websiteApi.js
index dcfed486..2b908c7d 100644
--- a/src/helpers/websiteApi.js
+++ b/src/helpers/websiteApi.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { API } from './api';
import { showError } from './utils';
diff --git a/src/hooks/admin-tokens/useAdminTokensData.jsx b/src/hooks/admin-tokens/useAdminTokensData.jsx
index 4ddb427a..42c3dd60 100644
--- a/src/hooks/admin-tokens/useAdminTokensData.jsx
+++ b/src/hooks/admin-tokens/useAdminTokensData.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useState, useEffect, useCallback, useRef } from 'react';
import { useTranslation } from 'react-i18next';
import { API, showError, showSuccess } from '../../helpers';
diff --git a/src/hooks/analytics/useAnalyticsData.js b/src/hooks/analytics/useAnalyticsData.js
index 2deb88b1..0f3c8bdb 100644
--- a/src/hooks/analytics/useAnalyticsData.js
+++ b/src/hooks/analytics/useAnalyticsData.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { useState, useCallback, useEffect, useRef } from 'react';
import { API, showError } from '../../helpers';
diff --git a/src/hooks/analytics/useOrgCacheHourly.js b/src/hooks/analytics/useOrgCacheHourly.js
index 3f093273..86cddeb0 100644
--- a/src/hooks/analytics/useOrgCacheHourly.js
+++ b/src/hooks/analytics/useOrgCacheHourly.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { useState, useCallback, useEffect, useRef } from 'react';
import { API } from '../../helpers';
diff --git a/src/hooks/analytics/useOrgConsumptionData.js b/src/hooks/analytics/useOrgConsumptionData.js
index 56f8b8d7..aadfc02e 100644
--- a/src/hooks/analytics/useOrgConsumptionData.js
+++ b/src/hooks/analytics/useOrgConsumptionData.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { useState, useCallback, useEffect, useRef } from 'react';
import { API } from '../../helpers';
diff --git a/src/hooks/analytics/useOrgRealtimeUsage.js b/src/hooks/analytics/useOrgRealtimeUsage.js
index f938f8c3..f2a24bac 100644
--- a/src/hooks/analytics/useOrgRealtimeUsage.js
+++ b/src/hooks/analytics/useOrgRealtimeUsage.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { useState, useCallback, useEffect, useRef } from 'react';
import { API } from '../../helpers';
diff --git a/src/hooks/analytics/useRiskControlData.js b/src/hooks/analytics/useRiskControlData.js
index 10ae0acb..7a8e3a4d 100644
--- a/src/hooks/analytics/useRiskControlData.js
+++ b/src/hooks/analytics/useRiskControlData.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React, { useState, useCallback, useEffect } from 'react';
import { API, showError, showSuccess } from '../../helpers';
import i18next from 'i18next';
diff --git a/src/hooks/channels/useChannelsData.jsx b/src/hooks/channels/useChannelsData.jsx
index a1797b28..04b34f44 100644
--- a/src/hooks/channels/useChannelsData.jsx
+++ b/src/hooks/channels/useChannelsData.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../common/useEffectEvent';
import { useState, useEffect, useRef, useMemo } from 'react';
import { useTranslation } from 'react-i18next';
diff --git a/src/hooks/chat/useTokenKeys.js b/src/hooks/chat/useTokenKeys.js
index 9160ae71..44403e8b 100644
--- a/src/hooks/chat/useTokenKeys.js
+++ b/src/hooks/chat/useTokenKeys.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffect, useState } from 'react';
import { fetchTokenKeys, getServerAddress } from '../../helpers/token';
import { showError } from '../../helpers';
diff --git a/src/hooks/common/useContainerWidth.js b/src/hooks/common/useContainerWidth.js
index 9f686966..1105f5d3 100644
--- a/src/hooks/common/useContainerWidth.js
+++ b/src/hooks/common/useContainerWidth.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useState, useEffect, useRef } from 'react';
/**
diff --git a/src/hooks/common/useCountUp.js b/src/hooks/common/useCountUp.js
index 40205f4c..c254efd7 100644
--- a/src/hooks/common/useCountUp.js
+++ b/src/hooks/common/useCountUp.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { useEffect, useRef, useState } from 'react';
/**
diff --git a/src/hooks/common/useEffectEvent.js b/src/hooks/common/useEffectEvent.js
index 45451b3f..0db3e9c8 100644
--- a/src/hooks/common/useEffectEvent.js
+++ b/src/hooks/common/useEffectEvent.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useCallback, useEffect, useLayoutEffect, useRef } from 'react';
const useCommitEffect =
diff --git a/src/hooks/common/useFilterSearch.js b/src/hooks/common/useFilterSearch.js
index 10ba67c2..d4b08306 100644
--- a/src/hooks/common/useFilterSearch.js
+++ b/src/hooks/common/useFilterSearch.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useDebouncedCallback } from 'use-debounce';
export function useFilterSearch(search) {
diff --git a/src/hooks/common/useHeaderBar.js b/src/hooks/common/useHeaderBar.js
index 42c874c2..132604d3 100644
--- a/src/hooks/common/useHeaderBar.js
+++ b/src/hooks/common/useHeaderBar.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useState, useEffect, useContext, useCallback, useMemo } from 'react';
import { useNavigate, useLocation } from 'react-router-dom';
import { useTranslation } from 'react-i18next';
diff --git a/src/hooks/common/useIsMobile.js b/src/hooks/common/useIsMobile.js
index 86aeb3fc..9091306f 100644
--- a/src/hooks/common/useIsMobile.js
+++ b/src/hooks/common/useIsMobile.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export const MOBILE_BREAKPOINT = 768;
import { useSyncExternalStore } from 'react';
diff --git a/src/hooks/common/useMarquee.js b/src/hooks/common/useMarquee.js
index f296332a..11295acf 100644
--- a/src/hooks/common/useMarquee.js
+++ b/src/hooks/common/useMarquee.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { useCallback, useContext, useSyncExternalStore } from 'react';
import { StatusContext } from '../../context/Status';
diff --git a/src/hooks/common/useMinimumLoadingTime.js b/src/hooks/common/useMinimumLoadingTime.js
index 5a940c53..5e17efac 100644
--- a/src/hooks/common/useMinimumLoadingTime.js
+++ b/src/hooks/common/useMinimumLoadingTime.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useState, useEffect, useRef } from 'react';
/**
diff --git a/src/hooks/common/useNavigation.js b/src/hooks/common/useNavigation.js
index a7825c14..c02580f1 100644
--- a/src/hooks/common/useNavigation.js
+++ b/src/hooks/common/useNavigation.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useMemo } from 'react';
import {
getConfigGroups,
diff --git a/src/hooks/common/useNotifications.js b/src/hooks/common/useNotifications.js
index c9f2e4ce..8ae81c3b 100644
--- a/src/hooks/common/useNotifications.js
+++ b/src/hooks/common/useNotifications.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useState, useEffect, useCallback } from 'react';
import {
getUnreadAnnouncementKeys,
diff --git a/src/hooks/common/useOrgMembership.js b/src/hooks/common/useOrgMembership.js
index 31bfceb9..e1a8f69b 100644
--- a/src/hooks/common/useOrgMembership.js
+++ b/src/hooks/common/useOrgMembership.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useState, useEffect } from 'react';
import { API } from '../../helpers';
diff --git a/src/hooks/common/usePartnerWorkspaceEntry.js b/src/hooks/common/usePartnerWorkspaceEntry.js
index 451c0ba2..4bc98046 100644
--- a/src/hooks/common/usePartnerWorkspaceEntry.js
+++ b/src/hooks/common/usePartnerWorkspaceEntry.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useContext, useEffect, useMemo, useState } from 'react';
import { API } from '../../helpers/api';
import { UserContext } from '../../context/User';
diff --git a/src/hooks/common/usePayPalQuote.js b/src/hooks/common/usePayPalQuote.js
index f664a800..6c53962e 100644
--- a/src/hooks/common/usePayPalQuote.js
+++ b/src/hooks/common/usePayPalQuote.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useCallback, useEffect, useRef, useState } from 'react';
import { API } from '../../helpers';
import { parsePayPalQuote } from '../../helpers/paypalPayment';
diff --git a/src/hooks/common/useSecureVerification.jsx b/src/hooks/common/useSecureVerification.jsx
index c54cad29..5ad5884c 100644
--- a/src/hooks/common/useSecureVerification.jsx
+++ b/src/hooks/common/useSecureVerification.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useState, useEffect, useCallback } from 'react';
import { useTranslation } from 'react-i18next';
import { SecureVerificationService } from '../../services/secureVerification';
diff --git a/src/hooks/common/useSidebar.js b/src/hooks/common/useSidebar.js
index e25bbb87..97692a39 100644
--- a/src/hooks/common/useSidebar.js
+++ b/src/hooks/common/useSidebar.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from './useEffectEvent';
import { useState, useEffect, useMemo, useContext, useRef } from 'react';
import { StatusContext } from '../../context/Status';
diff --git a/src/hooks/common/useSidebarCollapsed.js b/src/hooks/common/useSidebarCollapsed.js
index 039eff2c..8a5bdb86 100644
--- a/src/hooks/common/useSidebarCollapsed.js
+++ b/src/hooks/common/useSidebarCollapsed.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useCallback, useSyncExternalStore } from 'react';
const KEY = 'default_collapse_sidebar';
diff --git a/src/hooks/common/useTableCompactMode.js b/src/hooks/common/useTableCompactMode.js
index 786cc1f4..fbc735b5 100644
--- a/src/hooks/common/useTableCompactMode.js
+++ b/src/hooks/common/useTableCompactMode.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useState, useEffect, useCallback } from 'react';
import {
getTableCompactMode,
diff --git a/src/hooks/common/useUserPermissions.js b/src/hooks/common/useUserPermissions.js
index 4e0107c8..6c9a1f89 100644
--- a/src/hooks/common/useUserPermissions.js
+++ b/src/hooks/common/useUserPermissions.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { useState, useEffect } from 'react';
import { API } from '../../helpers';
import i18next from 'i18next';
diff --git a/src/hooks/common/useWeyAiWebEntry.js b/src/hooks/common/useWeyAiWebEntry.js
index 8d597102..88af572e 100644
--- a/src/hooks/common/useWeyAiWebEntry.js
+++ b/src/hooks/common/useWeyAiWebEntry.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useContext, useEffect, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { API } from '../../helpers/api';
diff --git a/src/hooks/creation/creationApiCode.js b/src/hooks/creation/creationApiCode.js
index 79b0647e..a065b2ac 100644
--- a/src/hooks/creation/creationApiCode.js
+++ b/src/hooks/creation/creationApiCode.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 获取 API 代码(WP C-1,方案 §4.4):由作品的参数快照(任务详情 request)生成等价的公开接口调用。
// 图像 → POST /v1/images/generations(编辑模式的参考图换成占位 URL);
// 视频 → POST /v1/video/generations 标准 director 协议(model / prompt / duration /
diff --git a/src/hooks/creation/creationApiCode.test.js b/src/hooks/creation/creationApiCode.test.js
index bedf2e7b..f1169799 100644
--- a/src/hooks/creation/creationApiCode.test.js
+++ b/src/hooks/creation/creationApiCode.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import {
diff --git a/src/hooks/creation/creationCompare.js b/src/hooks/creation/creationCompare.js
index 6ba5b34b..eb602b2f 100644
--- a/src/hooks/creation/creationCompare.js
+++ b/src/hooks/creation/creationCompare.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 图像对比生成(WP C-2,方案 §4.2)纯函数:可选模型、参数交集、逐模型参数解析、
// 估价 items[]、batch_id、作品流成组、合计阈值确认。
// 不依赖 React / 浏览器,node --test 覆盖(creationCompare.test.js)。
diff --git a/src/hooks/creation/creationCompare.test.js b/src/hooks/creation/creationCompare.test.js
index 9aabc5cf..3cc2f0e9 100644
--- a/src/hooks/creation/creationCompare.test.js
+++ b/src/hooks/creation/creationCompare.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import {
diff --git a/src/hooks/creation/creationDock.js b/src/hooks/creation/creationDock.js
index 97c9abef..932006da 100644
--- a/src/hooks/creation/creationDock.js
+++ b/src/hooks/creation/creationDock.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 创作台(CreationDock,WP B-3)的纯函数:先传图时的模式推断、图片角色记忆、
// 「图N」引用改写、模板参数套用。无 React / i18n 依赖,可直接 node --test。
diff --git a/src/hooks/creation/creationDock.test.js b/src/hooks/creation/creationDock.test.js
index fd03a3cf..6f20b932 100644
--- a/src/hooks/creation/creationDock.test.js
+++ b/src/hooks/creation/creationDock.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import {
diff --git a/src/hooks/creation/creationForm.js b/src/hooks/creation/creationForm.js
index 08a07c7a..45057a17 100644
--- a/src/hooks/creation/creationForm.js
+++ b/src/hooks/creation/creationForm.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 新创作台(CreationStudio,WP B-2)图像 / 视频共用的表单状态机纯函数。
// 无 React / i18n 依赖,可直接 node --test。
//
diff --git a/src/hooks/creation/creationForm.test.js b/src/hooks/creation/creationForm.test.js
index 612635a7..8cb31e49 100644
--- a/src/hooks/creation/creationForm.test.js
+++ b/src/hooks/creation/creationForm.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import {
diff --git a/src/hooks/creation/creationModeAndPrefill.test.js b/src/hooks/creation/creationModeAndPrefill.test.js
index feb37fb7..e085a77f 100644
--- a/src/hooks/creation/creationModeAndPrefill.test.js
+++ b/src/hooks/creation/creationModeAndPrefill.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 回归测试:
// - 手动提交不能用上一次参数的估价跳过多张确认(manualSubmitDecision);
// - 复用参数 / 再生成 / 换种子:任务快照对请求参数是权威的,不泄漏此前会话值 / 模型记忆;
diff --git a/src/hooks/creation/creationTasks.js b/src/hooks/creation/creationTasks.js
index 5ecdd0ba..7ed246f4 100644
--- a/src/hooks/creation/creationTasks.js
+++ b/src/hooks/creation/creationTasks.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 作品流(WP B-6)纯函数:任务归一化、日期分组、轮询结果合并、退避、筛选参数。
// 不依赖 React / 浏览器,node --test 覆盖(creationTasks.test.js)。
diff --git a/src/hooks/creation/creationTasks.test.js b/src/hooks/creation/creationTasks.test.js
index 3274a235..504865f1 100644
--- a/src/hooks/creation/creationTasks.test.js
+++ b/src/hooks/creation/creationTasks.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import {
diff --git a/src/hooks/creation/creationWatch.js b/src/hooks/creation/creationWatch.js
index 62bea934..7bf7794e 100644
--- a/src/hooks/creation/creationWatch.js
+++ b/src/hooks/creation/creationWatch.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 完成提醒(WP C-4,方案 §4.5)纯函数:进行中任务登记、完成结算、未读角标计数、已读时间。
//
// 状态(localStorage creation.watch.v1,读写全部 try/catch):
diff --git a/src/hooks/creation/creationWatch.test.js b/src/hooks/creation/creationWatch.test.js
index 71d51781..51182c7f 100644
--- a/src/hooks/creation/creationWatch.test.js
+++ b/src/hooks/creation/creationWatch.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import {
diff --git a/src/hooks/creation/useCreationCompare.js b/src/hooks/creation/useCreationCompare.js
index 5df3f38a..d85205f9 100644
--- a/src/hooks/creation/useCreationCompare.js
+++ b/src/hooks/creation/useCreationCompare.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useCallback, useContext, useMemo, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { API, showError, showInfo, showSuccess } from '../../helpers';
diff --git a/src/hooks/creation/useCreationForm.js b/src/hooks/creation/useCreationForm.js
index 57127954..a9052151 100644
--- a/src/hooks/creation/useCreationForm.js
+++ b/src/hooks/creation/useCreationForm.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
useCallback,
useContext,
diff --git a/src/hooks/creation/useCreationModels.js b/src/hooks/creation/useCreationModels.js
index 5ab43215..c674dca5 100644
--- a/src/hooks/creation/useCreationModels.js
+++ b/src/hooks/creation/useCreationModels.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useCallback, useEffect, useRef, useState } from 'react';
import { API } from '../../helpers';
diff --git a/src/hooks/creation/useCreationQuote.js b/src/hooks/creation/useCreationQuote.js
index 88e63640..2bfed170 100644
--- a/src/hooks/creation/useCreationQuote.js
+++ b/src/hooks/creation/useCreationQuote.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffect, useMemo, useState } from 'react';
import { API } from '../../helpers';
diff --git a/src/hooks/creation/useCreationTasks.js b/src/hooks/creation/useCreationTasks.js
index 5848d2bd..c807cbe3 100644
--- a/src/hooks/creation/useCreationTasks.js
+++ b/src/hooks/creation/useCreationTasks.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { API, showError, showSuccess } from '../../helpers';
diff --git a/src/hooks/creation/useCreationWatch.js b/src/hooks/creation/useCreationWatch.js
index c091a7d4..14c061ea 100644
--- a/src/hooks/creation/useCreationWatch.js
+++ b/src/hooks/creation/useCreationWatch.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffect, useMemo, useSyncExternalStore } from 'react';
import { API } from '../../helpers';
import i18n from '../../i18n/i18n';
diff --git a/src/hooks/dashboard/useDashboardCharts.jsx b/src/hooks/dashboard/useDashboardCharts.jsx
index 1255bc2a..8af2f6b7 100644
--- a/src/hooks/dashboard/useDashboardCharts.jsx
+++ b/src/hooks/dashboard/useDashboardCharts.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useState, useCallback, useEffect } from 'react';
import { initVChartTheme } from '@/components/ui/chartTheme';
import {
diff --git a/src/hooks/dashboard/useDashboardData.js b/src/hooks/dashboard/useDashboardData.js
index f5d4358c..059fe858 100644
--- a/src/hooks/dashboard/useDashboardData.js
+++ b/src/hooks/dashboard/useDashboardData.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useState, useEffect, useRef, useCallback, useMemo } from 'react';
import { useNavigate } from 'react-router-dom';
import { useTranslation } from 'react-i18next';
diff --git a/src/hooks/dashboard/useDashboardStats.jsx b/src/hooks/dashboard/useDashboardStats.jsx
index ac471d6a..f12fea3a 100644
--- a/src/hooks/dashboard/useDashboardStats.jsx
+++ b/src/hooks/dashboard/useDashboardStats.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useMemo } from 'react';
import { Wallet, Activity, Gauge, Cpu } from 'lucide-react';
import {
diff --git a/src/hooks/image/imageCreation.js b/src/hooks/image/imageCreation.js
index 32524c4a..8074090b 100644
--- a/src/hooks/image/imageCreation.js
+++ b/src/hooks/image/imageCreation.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 体验中心图像页(WP A2-3)schema 驱动的纯函数:模式 / 参考图槽 / 参数合成 / 尺寸 / 请求体 / 草稿。
// 无 React / i18n 依赖,可直接 node --test。schema 见 service/creation/image.go(GET /api/creation/models?kind=image)。
diff --git a/src/hooks/image/imageCreation.test.js b/src/hooks/image/imageCreation.test.js
index 47138de2..c983e8a5 100644
--- a/src/hooks/image/imageCreation.test.js
+++ b/src/hooks/image/imageCreation.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import {
diff --git a/src/hooks/image/useImageCreation.js b/src/hooks/image/useImageCreation.js
index 166d052f..736d8b37 100644
--- a/src/hooks/image/useImageCreation.js
+++ b/src/hooks/image/useImageCreation.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
useCallback,
useContext,
diff --git a/src/hooks/image/useImageTaskManagement.js b/src/hooks/image/useImageTaskManagement.js
index 68673c36..056b33a1 100644
--- a/src/hooks/image/useImageTaskManagement.js
+++ b/src/hooks/image/useImageTaskManagement.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useState, useCallback, useEffect, useRef } from 'react';
import { API, showError, showSuccess } from '../../helpers';
import i18next from 'i18next';
diff --git a/src/hooks/mj-logs/useMjLogsData.js b/src/hooks/mj-logs/useMjLogsData.js
index 79665a6b..dcf14e0e 100644
--- a/src/hooks/mj-logs/useMjLogsData.js
+++ b/src/hooks/mj-logs/useMjLogsData.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../common/useEffectEvent';
import { useState, useEffect, useRef } from 'react';
import { useTranslation } from 'react-i18next';
diff --git a/src/hooks/model-pricing/useModelPricingData.jsx b/src/hooks/model-pricing/useModelPricingData.jsx
index 4118f442..8037336f 100644
--- a/src/hooks/model-pricing/useModelPricingData.jsx
+++ b/src/hooks/model-pricing/useModelPricingData.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../common/useEffectEvent';
import { useState, useEffect, useContext, useRef, useMemo } from 'react';
import { useTranslation } from 'react-i18next';
diff --git a/src/hooks/model-pricing/usePricingFilterCounts.js b/src/hooks/model-pricing/usePricingFilterCounts.js
index d6271772..ff2d4fca 100644
--- a/src/hooks/model-pricing/usePricingFilterCounts.js
+++ b/src/hooks/model-pricing/usePricingFilterCounts.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useCallback, useMemo } from 'react';
// 工具函数:将 tags 字符串转为小写去重数组
diff --git a/src/hooks/models/useModelCategories.js b/src/hooks/models/useModelCategories.js
index 895ba4dc..726794e7 100644
--- a/src/hooks/models/useModelCategories.js
+++ b/src/hooks/models/useModelCategories.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useState, useEffect } from 'react';
import { API, showError } from '../../helpers';
import i18next from 'i18next';
diff --git a/src/hooks/models/useModelSelector.js b/src/hooks/models/useModelSelector.js
index a1f030de..d8b9998e 100644
--- a/src/hooks/models/useModelSelector.js
+++ b/src/hooks/models/useModelSelector.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useState, useEffect, useCallback } from 'react';
import { API, showError } from '../../helpers';
import i18next from 'i18next';
diff --git a/src/hooks/models/useModelsData.jsx b/src/hooks/models/useModelsData.jsx
index b23c0e93..0cad7bf1 100644
--- a/src/hooks/models/useModelsData.jsx
+++ b/src/hooks/models/useModelsData.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../common/useEffectEvent';
import { useState, useEffect, useMemo, useRef } from 'react';
import { useTranslation } from 'react-i18next';
diff --git a/src/hooks/org/useOrgData.js b/src/hooks/org/useOrgData.js
index 897c7dba..b6cc5957 100644
--- a/src/hooks/org/useOrgData.js
+++ b/src/hooks/org/useOrgData.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { useState, useCallback, useEffect, useRef } from 'react';
import { API } from '../../helpers/api';
import { showError } from '../../helpers';
diff --git a/src/hooks/org/useOrgMembers.js b/src/hooks/org/useOrgMembers.js
index d43b0382..7b16cd17 100644
--- a/src/hooks/org/useOrgMembers.js
+++ b/src/hooks/org/useOrgMembers.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { useState, useCallback } from 'react';
import { API } from '../../helpers/api';
import { showError } from '../../helpers';
diff --git a/src/hooks/org/useOrgTokenEditOptions.test.js b/src/hooks/org/useOrgTokenEditOptions.test.js
index fb09d47a..696fea66 100644
--- a/src/hooks/org/useOrgTokenEditOptions.test.js
+++ b/src/hooks/org/useOrgTokenEditOptions.test.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import assert from 'node:assert/strict';
import test from 'node:test';
import { createRequire } from 'node:module';
diff --git a/src/hooks/playground/sessionFlow.js b/src/hooks/playground/sessionFlow.js
index 4902be80..0915be34 100644
--- a/src/hooks/playground/sessionFlow.js
+++ b/src/hooks/playground/sessionFlow.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export const shouldRequireExplicitSession = ({
sessionEnabled = false,
activeSessionId = null,
diff --git a/src/hooks/playground/sessionFlow.test.js b/src/hooks/playground/sessionFlow.test.js
index 90a383f1..49d95699 100644
--- a/src/hooks/playground/sessionFlow.test.js
+++ b/src/hooks/playground/sessionFlow.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import test from 'node:test';
import assert from 'node:assert/strict';
diff --git a/src/hooks/playground/useApiRequest.jsx b/src/hooks/playground/useApiRequest.jsx
index c643178b..1b880a87 100644
--- a/src/hooks/playground/useApiRequest.jsx
+++ b/src/hooks/playground/useApiRequest.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useCallback } from 'react';
import { useTranslation } from 'react-i18next';
import { Toast } from '@/components/ui';
diff --git a/src/hooks/playground/useChatScroll.js b/src/hooks/playground/useChatScroll.js
index fa7c6de2..c39d3321 100644
--- a/src/hooks/playground/useChatScroll.js
+++ b/src/hooks/playground/useChatScroll.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useCallback, useEffect, useRef, useState } from 'react';
/**
diff --git a/src/hooks/playground/useConversationSummary.js b/src/hooks/playground/useConversationSummary.js
index e4cc24dc..e56b856d 100644
--- a/src/hooks/playground/useConversationSummary.js
+++ b/src/hooks/playground/useConversationSummary.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 体验中心长会话自动摘要:未摘要区间累积超过阈值时,把较早的对话压缩成一段摘要。
//
// 关键设计:
diff --git a/src/hooks/playground/useDataLoader.js b/src/hooks/playground/useDataLoader.js
index aeaf35e3..1b4ee18b 100644
--- a/src/hooks/playground/useDataLoader.js
+++ b/src/hooks/playground/useDataLoader.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useCallback, useContext, useEffect, useRef } from 'react';
import { useTranslation } from 'react-i18next';
import {
diff --git a/src/hooks/playground/useFileUpload.js b/src/hooks/playground/useFileUpload.js
index aab77aae..1ddb7296 100644
--- a/src/hooks/playground/useFileUpload.js
+++ b/src/hooks/playground/useFileUpload.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useCallback, useRef, useState } from 'react';
import { Toast } from '@/components/ui';
import { useTranslation } from 'react-i18next';
diff --git a/src/hooks/playground/useImageGen.js b/src/hooks/playground/useImageGen.js
index e71fcf03..4dd7c29d 100644
--- a/src/hooks/playground/useImageGen.js
+++ b/src/hooks/playground/useImageGen.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useState, useCallback } from 'react';
import { useTranslation } from 'react-i18next';
import { API } from '../../helpers';
diff --git a/src/hooks/playground/useKeyboardShortcuts.js b/src/hooks/playground/useKeyboardShortcuts.js
index cac5b949..a7682021 100644
--- a/src/hooks/playground/useKeyboardShortcuts.js
+++ b/src/hooks/playground/useKeyboardShortcuts.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffect } from 'react';
// 是否处于"用户正在输入框里打字"的状态 —— 这种时候单字符快捷键(如 ?)不该触发,
diff --git a/src/hooks/playground/useMessageActions.jsx b/src/hooks/playground/useMessageActions.jsx
index a4ded236..aceb6c4a 100644
--- a/src/hooks/playground/useMessageActions.jsx
+++ b/src/hooks/playground/useMessageActions.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { writeClipboardText } from '../../helpers/clipboard';
import { useCallback } from 'react';
import { Toast, Modal } from '@/components/ui';
diff --git a/src/hooks/playground/useMessageEdit.jsx b/src/hooks/playground/useMessageEdit.jsx
index d78dd75e..458f0d43 100644
--- a/src/hooks/playground/useMessageEdit.jsx
+++ b/src/hooks/playground/useMessageEdit.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useCallback, useState, useRef } from 'react';
import { Toast, Modal } from '@/components/ui';
import { useTranslation } from 'react-i18next';
diff --git a/src/hooks/playground/useOptimizePrompt.js b/src/hooks/playground/useOptimizePrompt.js
index 98ab6a9c..ff6df454 100644
--- a/src/hooks/playground/useOptimizePrompt.js
+++ b/src/hooks/playground/useOptimizePrompt.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useState, useCallback } from 'react';
import { useTranslation } from 'react-i18next';
import { API } from '../../helpers';
diff --git a/src/hooks/playground/usePlaygroundState.js b/src/hooks/playground/usePlaygroundState.js
index 0bd14d59..d1fb1823 100644
--- a/src/hooks/playground/usePlaygroundState.js
+++ b/src/hooks/playground/usePlaygroundState.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../common/useEffectEvent';
import { useState, useCallback, useRef, useEffect } from 'react';
import { useTranslation } from 'react-i18next';
diff --git a/src/hooks/playground/useSpeechRecognition.js b/src/hooks/playground/useSpeechRecognition.js
index 86c5c0db..268adff2 100644
--- a/src/hooks/playground/useSpeechRecognition.js
+++ b/src/hooks/playground/useSpeechRecognition.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useCallback, useEffect, useRef, useState } from 'react';
/**
diff --git a/src/hooks/playground/useSpeechSynthesis.js b/src/hooks/playground/useSpeechSynthesis.js
index bede98fc..fd438afd 100644
--- a/src/hooks/playground/useSpeechSynthesis.js
+++ b/src/hooks/playground/useSpeechSynthesis.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useCallback, useEffect, useRef, useState } from 'react';
/**
diff --git a/src/hooks/playground/useSyncMessageAndCustomBody.js b/src/hooks/playground/useSyncMessageAndCustomBody.js
index 418d7817..7031f3cf 100644
--- a/src/hooks/playground/useSyncMessageAndCustomBody.js
+++ b/src/hooks/playground/useSyncMessageAndCustomBody.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useCallback, useRef } from 'react';
import { MESSAGE_ROLES } from '../../constants/playground.constants';
diff --git a/src/hooks/quality/useQualityDashboard.js b/src/hooks/quality/useQualityDashboard.js
index c0389386..6292db62 100644
--- a/src/hooks/quality/useQualityDashboard.js
+++ b/src/hooks/quality/useQualityDashboard.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
import { API } from '../../helpers';
import {
diff --git a/src/hooks/redemptions/useRedemptionsData.jsx b/src/hooks/redemptions/useRedemptionsData.jsx
index d1af47a6..1d203136 100644
--- a/src/hooks/redemptions/useRedemptionsData.jsx
+++ b/src/hooks/redemptions/useRedemptionsData.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../common/useEffectEvent';
import { useState, useEffect } from 'react';
import { API, showError, showSuccess, copy } from '../../helpers';
diff --git a/src/hooks/task-logs/useTaskLogsData.js b/src/hooks/task-logs/useTaskLogsData.js
index e86dd26b..c6b4260e 100644
--- a/src/hooks/task-logs/useTaskLogsData.js
+++ b/src/hooks/task-logs/useTaskLogsData.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../common/useEffectEvent';
import { useState, useEffect, useRef, useMemo } from 'react';
import { useTranslation } from 'react-i18next';
diff --git a/src/hooks/tokens/useTokensData.jsx b/src/hooks/tokens/useTokensData.jsx
index bae94721..12fdfed4 100644
--- a/src/hooks/tokens/useTokensData.jsx
+++ b/src/hooks/tokens/useTokensData.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../common/useEffectEvent';
import { useState, useEffect } from 'react';
import { useTranslation } from 'react-i18next';
diff --git a/src/hooks/usage-logs/useUsageLogsData.jsx b/src/hooks/usage-logs/useUsageLogsData.jsx
index 098511f5..605cc50f 100644
--- a/src/hooks/usage-logs/useUsageLogsData.jsx
+++ b/src/hooks/usage-logs/useUsageLogsData.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../common/useEffectEvent';
import { useState, useEffect, useRef } from 'react';
import { useTranslation } from 'react-i18next';
diff --git a/src/hooks/users/useUsersData.jsx b/src/hooks/users/useUsersData.jsx
index db00424d..16afb273 100644
--- a/src/hooks/users/useUsersData.jsx
+++ b/src/hooks/users/useUsersData.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../common/useEffectEvent';
import { useState, useEffect } from 'react';
import { useTranslation } from 'react-i18next';
diff --git a/src/hooks/users/useUsersData.test.js b/src/hooks/users/useUsersData.test.js
index 07c0ef03..58e7f4b0 100644
--- a/src/hooks/users/useUsersData.test.js
+++ b/src/hooks/users/useUsersData.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import { readFile } from 'node:fs/promises';
import test from 'node:test';
diff --git a/src/hooks/video/usePortraitAssets.js b/src/hooks/video/usePortraitAssets.js
index c0e51059..ede7044b 100644
--- a/src/hooks/video/usePortraitAssets.js
+++ b/src/hooks/video/usePortraitAssets.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useCallback, useEffect, useRef, useState } from 'react';
import { API } from '../../helpers';
import i18next from 'i18next';
diff --git a/src/hooks/video/useVideoGeneration.js b/src/hooks/video/useVideoGeneration.js
index 14f9ece0..ccb052f8 100644
--- a/src/hooks/video/useVideoGeneration.js
+++ b/src/hooks/video/useVideoGeneration.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
useState,
useEffect,
diff --git a/src/hooks/video/videoCreation.js b/src/hooks/video/videoCreation.js
index e9e69860..444cd7d7 100644
--- a/src/hooks/video/videoCreation.js
+++ b/src/hooks/video/videoCreation.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 体验中心视频页(WP A1-12)schema 驱动的纯函数:模式 / 图片槽 / 参数合成 / 请求体 / 草稿。
// 无 React / i18n 依赖,可直接 node --test。schema 见 controller/creation_models.go。
diff --git a/src/hooks/video/videoCreation.test.js b/src/hooks/video/videoCreation.test.js
index 8b1df1e8..59ac65c7 100644
--- a/src/hooks/video/videoCreation.test.js
+++ b/src/hooks/video/videoCreation.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import {
diff --git a/src/i18n/bootstrap.js b/src/i18n/bootstrap.js
index dc98432e..edb143eb 100644
--- a/src/i18n/bootstrap.js
+++ b/src/i18n/bootstrap.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 界面语言启动判定(React 渲染前执行),方案见 docs/11-前端与体验中心/i18n/按IP国家自动切换界面语言方案.md。
//
// 优先级:URL ?lang=(本会话保持)> 用户在顶栏亲手点选 > 服务端判定(IP 国家 / 浏览器语言 / 默认语言)。
diff --git a/src/i18n/bootstrap.test.js b/src/i18n/bootstrap.test.js
index 4324a3e4..2135e9c7 100644
--- a/src/i18n/bootstrap.test.js
+++ b/src/i18n/bootstrap.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import {
diff --git a/src/i18n/catalog.js b/src/i18n/catalog.js
index 1e92f2b3..12e1e273 100644
--- a/src/i18n/catalog.js
+++ b/src/i18n/catalog.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 界面语言目录——前端唯一来源(加载器、顶栏展示、后台配置页均从这里取)。
//
// 新增语种:补 locales/xx.json → 在此登记 → 后端 setting/language_setting 的
diff --git a/src/i18n/i18n.js b/src/i18n/i18n.js
index fa4397ef..fe370dbc 100644
--- a/src/i18n/i18n.js
+++ b/src/i18n/i18n.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import i18n from 'i18next';
import { initReactI18next } from 'react-i18next';
import { normalizeLanguage } from './language';
diff --git a/src/i18n/language.js b/src/i18n/language.js
index a5b5e36b..3c057e12 100644
--- a/src/i18n/language.js
+++ b/src/i18n/language.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 界面语言码归一化——全站唯一入口。
//
// 以前一律 split('-')[0] 取主语言,但繁体中文与简体共用主语言 zh,只能靠
diff --git a/src/i18n/language.test.js b/src/i18n/language.test.js
index 87e5cd7d..62f2991a 100644
--- a/src/i18n/language.test.js
+++ b/src/i18n/language.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import { readFileSync } from 'node:fs';
import test from 'node:test';
diff --git a/src/i18n/locale-coverage.test.js b/src/i18n/locale-coverage.test.js
index c1eae440..80b9ce46 100644
--- a/src/i18n/locale-coverage.test.js
+++ b/src/i18n/locale-coverage.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 全部九种语言包必须覆盖 zh 的全部键且不能留空:
// 缺键或 "" 都会让 i18next 回退到简体中文键原文,界面出现中英/中韩/简繁混排。
@@ -37,7 +18,8 @@ const en = readLocale('en');
const locales = Object.fromEntries(TARGETS.map((c) => [c, readLocale(c)]));
const PLACEHOLDER = /\{\{\s*([\w.]+)\s*\}\}/g;
-const placeholders = (s) => [...s.matchAll(PLACEHOLDER)].map((m) => m[1]).sort();
+const placeholders = (s) =>
+ [...s.matchAll(PLACEHOLDER)].map((m) => m[1]).sort();
const stripPlural = (k) => k.replace(/_(zero|one|two|few|many|other)$/, '');
// 英语独有的复数键不强加给其他语种;各语种的 CLDR 复数完整性由 i18n:status 检查。
@@ -69,8 +51,10 @@ for (const code of TARGETS) {
});
test(`${code} 保留富文本组件标签及嵌套结构`, () => {
- const tags = (value) => [...value.matchAll(/<\/?part\d+\s*\/?>/g)]
- .map(([tag]) => tag.replace(/\s/g, ''));
+ const tags = (value) =>
+ [...value.matchAll(/<\/?part\d+\s*\/?>/g)].map(([tag]) =>
+ tag.replace(/\s/g, ''),
+ );
for (const [key, value] of Object.entries(zh)) {
const expected = tags(value);
if (expected.length === 0) continue;
@@ -79,7 +63,8 @@ for (const code of TARGETS) {
const stack = [];
for (const tag of actual) {
if (tag.endsWith('/>')) continue;
- if (tag.startsWith('')) assert.equal(stack.pop(), tag.slice(2, -1), key);
+ if (tag.startsWith(''))
+ assert.equal(stack.pop(), tag.slice(2, -1), key);
else stack.push(tag.slice(1, -1));
}
assert.deepEqual(stack, [], key);
diff --git a/src/i18n/locales/zh.test.js b/src/i18n/locales/zh.test.js
index 62725c89..fbf5478e 100644
--- a/src/i18n/locales/zh.test.js
+++ b/src/i18n/locales/zh.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import { readFileSync } from 'node:fs';
import test from 'node:test';
diff --git a/src/i18n/paypal-locales.test.js b/src/i18n/paypal-locales.test.js
index 7bed85fb..c0548d68 100644
--- a/src/i18n/paypal-locales.test.js
+++ b/src/i18n/paypal-locales.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import { readFileSync } from 'node:fs';
import test from 'node:test';
diff --git a/src/i18n/technicalText.js b/src/i18n/technicalText.js
index fc2b2cc8..101642d2 100644
--- a/src/i18n/technicalText.js
+++ b/src/i18n/technicalText.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// Protocol examples, product names, symbols and units have fixed spelling across locales.
export const I18N_TECHNICAL_TEXT = Object.freeze({
ANDROID: 'Android',
diff --git a/src/index.jsx b/src/index.jsx
index cec86a4a..216bfd6c 100644
--- a/src/index.jsx
+++ b/src/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import ReactDOM from 'react-dom/client';
import { BrowserRouter } from 'react-router-dom';
diff --git a/src/pages/About/index.jsx b/src/pages/About/index.jsx
index 74898489..3a50e8a1 100644
--- a/src/pages/About/index.jsx
+++ b/src/pages/About/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../hooks/common/useEffectEvent';
import React, { useContext, useEffect, useState } from 'react';
import { API, getSystemName, showError } from '../../helpers';
diff --git a/src/pages/AdminInvoice/index.jsx b/src/pages/AdminInvoice/index.jsx
index 83c7287d..3902dac7 100644
--- a/src/pages/AdminInvoice/index.jsx
+++ b/src/pages/AdminInvoice/index.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import {
formatCurrency,
formatNumber,
diff --git a/src/pages/AdminMenuPreview/index.jsx b/src/pages/AdminMenuPreview/index.jsx
index 5c5b0037..adbc9536 100644
--- a/src/pages/AdminMenuPreview/index.jsx
+++ b/src/pages/AdminMenuPreview/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Card, Input, Tag, Typography } from '@/components/ui';
import { CalendarDays, Globe } from 'lucide-react';
diff --git a/src/pages/AdminOrder/index.jsx b/src/pages/AdminOrder/index.jsx
index 0c726e70..0282a5d2 100644
--- a/src/pages/AdminOrder/index.jsx
+++ b/src/pages/AdminOrder/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Trans } from 'react-i18next';
import {
Check as ActionCheck,
diff --git a/src/pages/AdminOrganizations/OrgAlertSettingsModal.jsx b/src/pages/AdminOrganizations/OrgAlertSettingsModal.jsx
index f6d23e57..6445f100 100644
--- a/src/pages/AdminOrganizations/OrgAlertSettingsModal.jsx
+++ b/src/pages/AdminOrganizations/OrgAlertSettingsModal.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
// 企业通知预警 · 通知设置弹窗(方案 11 号文档 §8-2 / §8.1)
// 配置存储为 org_alert_setting.* 的 option 行(root-only,未登记下放白名单即天然 root-only)。
// 密钥回读为 ***ALREADY_SET*** 时置空展示、未改动不提交,防掩码覆盖真值。
diff --git a/src/pages/AdminOrganizations/index.jsx b/src/pages/AdminOrganizations/index.jsx
index 8c4de9fd..ba03c71a 100644
--- a/src/pages/AdminOrganizations/index.jsx
+++ b/src/pages/AdminOrganizations/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
ExternalLink as ActionExternalLink,
BarChart3 as ActionBarChart3,
diff --git a/src/pages/Analytics/index.jsx b/src/pages/Analytics/index.jsx
index 0b19c88d..fdbb6730 100644
--- a/src/pages/Analytics/index.jsx
+++ b/src/pages/Analytics/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../hooks/common/useEffectEvent';
import { ConsolePageActions } from '../../components/console/ConsolePageContainer';
import React, {
diff --git a/src/pages/Channel/index.jsx b/src/pages/Channel/index.jsx
index d784ebeb..100970ff 100644
--- a/src/pages/Channel/index.jsx
+++ b/src/pages/Channel/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import ChannelsTable from '../../components/table/channels';
diff --git a/src/pages/Chat/index.jsx b/src/pages/Chat/index.jsx
index 9e1ee59a..45dca4dd 100644
--- a/src/pages/Chat/index.jsx
+++ b/src/pages/Chat/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { useTokenKeys } from '../../hooks/chat/useTokenKeys';
import { Spin } from '@/components/ui';
diff --git a/src/pages/Chat2Link/index.jsx b/src/pages/Chat2Link/index.jsx
index c69d79f0..1af5cd7d 100644
--- a/src/pages/Chat2Link/index.jsx
+++ b/src/pages/Chat2Link/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { useTranslation } from 'react-i18next';
import { useTokenKeys } from '../../hooks/chat/useTokenKeys';
diff --git a/src/pages/ClientAuthorize/ScopeOptionList.jsx b/src/pages/ClientAuthorize/ScopeOptionList.jsx
index 1160968f..31bb6897 100644
--- a/src/pages/ClientAuthorize/ScopeOptionList.jsx
+++ b/src/pages/ClientAuthorize/ScopeOptionList.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Avatar, Radio, RadioGroup, Typography } from '@/components/ui';
import { Building2, User } from 'lucide-react';
diff --git a/src/pages/ClientAuthorize/WeyAiHandoff.jsx b/src/pages/ClientAuthorize/WeyAiHandoff.jsx
index 8d07e737..b7771471 100644
--- a/src/pages/ClientAuthorize/WeyAiHandoff.jsx
+++ b/src/pages/ClientAuthorize/WeyAiHandoff.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 进入 WeyAi 的过渡画面。授权页在三个瞬态里没有任何可操作内容:拉授权信息、
// 静默签发、授权完成等浏览器跳走。原来这三态套在登录卡片里只放一个 Spin,
// 而登录页背景主题是按需懒加载的 chunk,这个页面通常在 chunk 到达前就跳走了,
diff --git a/src/pages/ClientAuthorize/authorizeParams.js b/src/pages/ClientAuthorize/authorizeParams.js
index eaed1d60..ed55d311 100644
--- a/src/pages/ClientAuthorize/authorizeParams.js
+++ b/src/pages/ClientAuthorize/authorizeParams.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 授权页的纯函数(不依赖 React 和请求封装,便于单测)。
export const DESKTOP_CLIENT_ID = 'weyai-desktop';
diff --git a/src/pages/ClientAuthorize/authorizeParams.test.js b/src/pages/ClientAuthorize/authorizeParams.test.js
index 1bf2eef8..7698e9c7 100644
--- a/src/pages/ClientAuthorize/authorizeParams.test.js
+++ b/src/pages/ClientAuthorize/authorizeParams.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import {
diff --git a/src/pages/ClientAuthorize/clientAuthorizeApi.js b/src/pages/ClientAuthorize/clientAuthorizeApi.js
index e35ce457..51c73a29 100644
--- a/src/pages/ClientAuthorize/clientAuthorizeApi.js
+++ b/src/pages/ClientAuthorize/clientAuthorizeApi.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// WeyAi 客户端授权页(/client/authorize)的接口封装。
// 接口约定见 WeyAi 仓库 docs/fork/账号登录接入方案.md 4.2、4.4:
// 成功 { success: true, data };失败 { success: false, code, message, data },
diff --git a/src/pages/ClientAuthorize/index.jsx b/src/pages/ClientAuthorize/index.jsx
index c0987b7c..5f8aa99f 100644
--- a/src/pages/ClientAuthorize/index.jsx
+++ b/src/pages/ClientAuthorize/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// WeyAi 客户端授权页 /client/authorize(方案 4.4)。
// - 自带登录判断,不套 PrivateRoute(PrivateRoute 总是去企业登录页)。
// - client_id / redirect_uri 不合法时只报错、不做任何跳转。
diff --git a/src/pages/CloudBrain/index.jsx b/src/pages/CloudBrain/index.jsx
index e86ed1aa..8c4a19cd 100644
--- a/src/pages/CloudBrain/index.jsx
+++ b/src/pages/CloudBrain/index.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatIdReference } from '../../helpers/safeDisplay';
import { formatPercent } from '../../helpers/safeDisplay';
diff --git a/src/pages/CommissionV2/Dashboard.jsx b/src/pages/CommissionV2/Dashboard.jsx
index 1d59de70..73cd65df 100644
--- a/src/pages/CommissionV2/Dashboard.jsx
+++ b/src/pages/CommissionV2/Dashboard.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useMemo, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { Button, Tooltip } from 'antd';
diff --git a/src/pages/CommissionV2/LatestTierPanel.jsx b/src/pages/CommissionV2/LatestTierPanel.jsx
index cd9c9a5c..ff25048f 100644
--- a/src/pages/CommissionV2/LatestTierPanel.jsx
+++ b/src/pages/CommissionV2/LatestTierPanel.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React, {
useCallback,
useEffect,
diff --git a/src/pages/CommissionV2/ListPanel.jsx b/src/pages/CommissionV2/ListPanel.jsx
index 59556a7f..0b9df040 100644
--- a/src/pages/CommissionV2/ListPanel.jsx
+++ b/src/pages/CommissionV2/ListPanel.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useState } from 'react';
import { useTranslation } from 'react-i18next';
import { Button, Empty, Input, Select } from 'antd';
diff --git a/src/pages/CommissionV2/PartnerDetail.jsx b/src/pages/CommissionV2/PartnerDetail.jsx
index 16dbd444..6ac10c45 100644
--- a/src/pages/CommissionV2/PartnerDetail.jsx
+++ b/src/pages/CommissionV2/PartnerDetail.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatIdReference } from '../../helpers/safeDisplay';
import { formatUserReference } from '../../helpers/safeDisplay';
diff --git a/src/pages/CommissionV2/PartnerPortal.jsx b/src/pages/CommissionV2/PartnerPortal.jsx
index 679d9d71..7f66c36e 100644
--- a/src/pages/CommissionV2/PartnerPortal.jsx
+++ b/src/pages/CommissionV2/PartnerPortal.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatIdReference } from '../../helpers/safeDisplay';
import { ConsoleCollectionSearch } from '@/components/console/ConsoleCollection';
diff --git a/src/pages/CommissionV2/RemoteIdentitySelect.jsx b/src/pages/CommissionV2/RemoteIdentitySelect.jsx
index 05b32aba..3aa3296a 100644
--- a/src/pages/CommissionV2/RemoteIdentitySelect.jsx
+++ b/src/pages/CommissionV2/RemoteIdentitySelect.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React, {
forwardRef,
useEffect,
diff --git a/src/pages/CommissionV2/commissionTheme.js b/src/pages/CommissionV2/commissionTheme.js
index 62301872..8a3238f4 100644
--- a/src/pages/CommissionV2/commissionTheme.js
+++ b/src/pages/CommissionV2/commissionTheme.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { theme } from 'antd';
// Portal overlays need the same semantic colors as the workspace root.
diff --git a/src/pages/CommissionV2/dashboardHistory.js b/src/pages/CommissionV2/dashboardHistory.js
index 6ae3a6d3..c0102b18 100644
--- a/src/pages/CommissionV2/dashboardHistory.js
+++ b/src/pages/CommissionV2/dashboardHistory.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export function shouldLoadHistoricalTrend({
ready,
suppliedTrend,
diff --git a/src/pages/CommissionV2/dashboardHistory.test.js b/src/pages/CommissionV2/dashboardHistory.test.js
index 82449106..101ab6ce 100644
--- a/src/pages/CommissionV2/dashboardHistory.test.js
+++ b/src/pages/CommissionV2/dashboardHistory.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import test from 'node:test';
import assert from 'node:assert/strict';
import { shouldLoadHistoricalTrend } from './dashboardHistory.js';
diff --git a/src/pages/CommissionV2/datePicker.js b/src/pages/CommissionV2/datePicker.js
index 0e796bee..72379b17 100644
--- a/src/pages/CommissionV2/datePicker.js
+++ b/src/pages/CommissionV2/datePicker.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
export function pickerEpoch(firstValue, secondValue) {
// Semi DatePicker defaults to onChangeWithDateFirst=true, but callers can
// opt into the legacy text-first order. Prefer the actual Date object in
diff --git a/src/pages/CommissionV2/datePicker.test.js b/src/pages/CommissionV2/datePicker.test.js
index 2b741e0f..cb291807 100644
--- a/src/pages/CommissionV2/datePicker.test.js
+++ b/src/pages/CommissionV2/datePicker.test.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import test from 'node:test';
import assert from 'node:assert/strict';
import { pickerEpoch } from './datePicker.js';
diff --git a/src/pages/CommissionV2/evidenceUpload.js b/src/pages/CommissionV2/evidenceUpload.js
index 634c7ac2..9eccf274 100644
--- a/src/pages/CommissionV2/evidenceUpload.js
+++ b/src/pages/CommissionV2/evidenceUpload.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export const COMMISSION_EVIDENCE_MAX_BYTES = 10 * 1024 * 1024;
export const COMMISSION_EVIDENCE_ACCEPT =
'.pdf,.jpg,.jpeg,.png,.webp,.doc,.docx,.xls,.xlsx';
diff --git a/src/pages/CommissionV2/evidenceUpload.test.js b/src/pages/CommissionV2/evidenceUpload.test.js
index 3f8a733e..d5b0e0e6 100644
--- a/src/pages/CommissionV2/evidenceUpload.test.js
+++ b/src/pages/CommissionV2/evidenceUpload.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import {
diff --git a/src/pages/CommissionV2/index.jsx b/src/pages/CommissionV2/index.jsx
index 584737af..4a036d90 100644
--- a/src/pages/CommissionV2/index.jsx
+++ b/src/pages/CommissionV2/index.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import {
formatCurrency,
formatIdReference,
diff --git a/src/pages/CommissionV2/labels.js b/src/pages/CommissionV2/labels.js
index 9b1b9641..ca7e25da 100644
--- a/src/pages/CommissionV2/labels.js
+++ b/src/pages/CommissionV2/labels.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// Keep API codes unchanged; translate only known display labels.
export const commissionLabels = {
level: {
diff --git a/src/pages/CommissionV2/labels.test.js b/src/pages/CommissionV2/labels.test.js
index cc66c50e..a92d0653 100644
--- a/src/pages/CommissionV2/labels.test.js
+++ b/src/pages/CommissionV2/labels.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import { readFileSync } from 'node:fs';
import test from 'node:test';
diff --git a/src/pages/CommissionV2/latestTiers.js b/src/pages/CommissionV2/latestTiers.js
index b7c9c465..f7c4baf4 100644
--- a/src/pages/CommissionV2/latestTiers.js
+++ b/src/pages/CommissionV2/latestTiers.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatIdReference } from '../../helpers/safeDisplay.js';
export function latestTierURL(filters = {}, page = 1, snapshot = {}) {
diff --git a/src/pages/CommissionV2/latestTiers.test.js b/src/pages/CommissionV2/latestTiers.test.js
index 5b722ac7..a584e32e 100644
--- a/src/pages/CommissionV2/latestTiers.test.js
+++ b/src/pages/CommissionV2/latestTiers.test.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import test from 'node:test';
import assert from 'node:assert/strict';
import {
diff --git a/src/pages/CommissionV2/listFilters.js b/src/pages/CommissionV2/listFilters.js
index 89c2cb07..0ae08bdc 100644
--- a/src/pages/CommissionV2/listFilters.js
+++ b/src/pages/CommissionV2/listFilters.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export function tierStatus(row, now = Date.now() / 1000) {
if (row.effective_to && row.effective_to <= now) return 'disabled';
if (row.effective_from > now) return 'scheduled';
diff --git a/src/pages/CommissionV2/listFilters.test.js b/src/pages/CommissionV2/listFilters.test.js
index 2bbb54ee..9c72febc 100644
--- a/src/pages/CommissionV2/listFilters.test.js
+++ b/src/pages/CommissionV2/listFilters.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import test from 'node:test';
import assert from 'node:assert/strict';
import {
diff --git a/src/pages/CommissionV2/operationForm.js b/src/pages/CommissionV2/operationForm.js
index ab546f9e..ece7221f 100644
--- a/src/pages/CommissionV2/operationForm.js
+++ b/src/pages/CommissionV2/operationForm.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export function validateContractSignedConversion(
form,
translate = (key) => key,
diff --git a/src/pages/CommissionV2/operationForm.test.js b/src/pages/CommissionV2/operationForm.test.js
index 70123e59..2ad6db67 100644
--- a/src/pages/CommissionV2/operationForm.test.js
+++ b/src/pages/CommissionV2/operationForm.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import test from 'node:test';
import assert from 'node:assert/strict';
import {
diff --git a/src/pages/CommissionV2/operations.jsx b/src/pages/CommissionV2/operations.jsx
index bd039152..cefeff35 100644
--- a/src/pages/CommissionV2/operations.jsx
+++ b/src/pages/CommissionV2/operations.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useRef, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { Button, Checkbox, Empty, Spin } from 'antd';
diff --git a/src/pages/CommissionV2/partnerNavigation.js b/src/pages/CommissionV2/partnerNavigation.js
index 8b93a0eb..7c935069 100644
--- a/src/pages/CommissionV2/partnerNavigation.js
+++ b/src/pages/CommissionV2/partnerNavigation.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
export const PARTNER_NAVIGATION = [
{ key: 'overview', label: '分佣概览' },
{ key: 'customers', label: '我的客户' },
diff --git a/src/pages/CommissionV2/partnerScope.js b/src/pages/CommissionV2/partnerScope.js
index 8dd225c9..939cd4bb 100644
--- a/src/pages/CommissionV2/partnerScope.js
+++ b/src/pages/CommissionV2/partnerScope.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
const PARTNER_PREFIX = '/api/partner/v2';
export function partnerScope(userId, organizationId = null) {
diff --git a/src/pages/CommissionV2/partnerScope.test.js b/src/pages/CommissionV2/partnerScope.test.js
index 0cae116b..10f13d51 100644
--- a/src/pages/CommissionV2/partnerScope.test.js
+++ b/src/pages/CommissionV2/partnerScope.test.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import test from 'node:test';
import assert from 'node:assert/strict';
import { partnerScope, createPartnerTransport } from './partnerScope.js';
diff --git a/src/pages/Dashboard/index.jsx b/src/pages/Dashboard/index.jsx
index 8d534bfb..3143e212 100644
--- a/src/pages/Dashboard/index.jsx
+++ b/src/pages/Dashboard/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import Dashboard from '../../components/dashboard';
diff --git a/src/pages/DemoReservations/index.jsx b/src/pages/DemoReservations/index.jsx
index 667cb1cd..c3a45e07 100644
--- a/src/pages/DemoReservations/index.jsx
+++ b/src/pages/DemoReservations/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import TableEmpty from '../../components/common/table/TableEmpty';
import React, { useEffect, useMemo, useRef, useState } from 'react';
import { Banner, Button, Form, Spin } from '@/components/ui';
diff --git a/src/pages/DemoReservations/reservationsApi.js b/src/pages/DemoReservations/reservationsApi.js
index 2cfe6e48..bf8a57e4 100644
--- a/src/pages/DemoReservations/reservationsApi.js
+++ b/src/pages/DemoReservations/reservationsApi.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { requestWebsite } from '../../helpers/websiteApi';
export async function fetchDemoReservations({
diff --git a/src/pages/Docs/index.jsx b/src/pages/Docs/index.jsx
index dbfdf60a..fc743c74 100644
--- a/src/pages/Docs/index.jsx
+++ b/src/pages/Docs/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
import React, { useEffect, useRef, useState } from 'react';
import { useTranslation } from 'react-i18next';
diff --git a/src/pages/ExperienceCenter/components/AICreation.jsx b/src/pages/ExperienceCenter/components/AICreation.jsx
index 384895d3..09217696 100644
--- a/src/pages/ExperienceCenter/components/AICreation.jsx
+++ b/src/pages/ExperienceCenter/components/AICreation.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useState, useEffect } from 'react';
import { Tabs, TabPane } from '@/components/ui';
import { IconImage, IconVideo, IconBolt } from '@/components/ui/icons';
diff --git a/src/pages/ExperienceCenter/components/AICreation/Image/ImageSizePicker.jsx b/src/pages/ExperienceCenter/components/AICreation/Image/ImageSizePicker.jsx
index 348f4c99..902202c1 100644
--- a/src/pages/ExperienceCenter/components/AICreation/Image/ImageSizePicker.jsx
+++ b/src/pages/ExperienceCenter/components/AICreation/Image/ImageSizePicker.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useMemo, useState } from 'react';
import { InputNumber } from '@/components/ui';
import { SlidersHorizontal } from 'lucide-react';
diff --git a/src/pages/ExperienceCenter/components/AICreation/ImageCompareModal.jsx b/src/pages/ExperienceCenter/components/AICreation/ImageCompareModal.jsx
index 10f913e5..0f0408c0 100644
--- a/src/pages/ExperienceCenter/components/AICreation/ImageCompareModal.jsx
+++ b/src/pages/ExperienceCenter/components/AICreation/ImageCompareModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useState, useEffect } from 'react';
import { Modal, Typography, Tag } from '@/components/ui';
import { useTranslation } from 'react-i18next';
diff --git a/src/pages/ExperienceCenter/components/AICreation/ImageDetailModal.jsx b/src/pages/ExperienceCenter/components/AICreation/ImageDetailModal.jsx
index 4f7fe59b..1adf828e 100644
--- a/src/pages/ExperienceCenter/components/AICreation/ImageDetailModal.jsx
+++ b/src/pages/ExperienceCenter/components/AICreation/ImageDetailModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
Download as ActionDownload,
Copy as ActionCopy,
diff --git a/src/pages/ExperienceCenter/components/AICreation/ImageGenerationForm.jsx b/src/pages/ExperienceCenter/components/AICreation/ImageGenerationForm.jsx
index 934c31c8..97b3d2e4 100644
--- a/src/pages/ExperienceCenter/components/AICreation/ImageGenerationForm.jsx
+++ b/src/pages/ExperienceCenter/components/AICreation/ImageGenerationForm.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { I18N_TECHNICAL_TEXT } from '../../../../i18n/technicalText.js';
import {
Wallet as ActionWallet,
diff --git a/src/pages/ExperienceCenter/components/AICreation/ImageGenerationTab.jsx b/src/pages/ExperienceCenter/components/AICreation/ImageGenerationTab.jsx
index 8a6d2ad4..ff424ab7 100644
--- a/src/pages/ExperienceCenter/components/AICreation/ImageGenerationTab.jsx
+++ b/src/pages/ExperienceCenter/components/AICreation/ImageGenerationTab.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useState } from 'react';
import { useImageTaskManagement } from '../../../../hooks/image/useImageTaskManagement';
import { useImageCreation } from '../../../../hooks/image/useImageCreation';
diff --git a/src/pages/ExperienceCenter/components/AICreation/ImageTaskList.jsx b/src/pages/ExperienceCenter/components/AICreation/ImageTaskList.jsx
index d3ba18d8..cd515999 100644
--- a/src/pages/ExperienceCenter/components/AICreation/ImageTaskList.jsx
+++ b/src/pages/ExperienceCenter/components/AICreation/ImageTaskList.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { GitCompare as ActionGitCompare } from '@/components/common/icons/ActionIcons';
import {
Rows as ActionRows,
diff --git a/src/pages/ExperienceCenter/components/AICreation/Video/PortraitAssetPicker.jsx b/src/pages/ExperienceCenter/components/AICreation/Video/PortraitAssetPicker.jsx
index 323c7990..d289611d 100644
--- a/src/pages/ExperienceCenter/components/AICreation/Video/PortraitAssetPicker.jsx
+++ b/src/pages/ExperienceCenter/components/AICreation/Video/PortraitAssetPicker.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
UserRound as ActionUserRound,
Plus as ActionPlus,
diff --git a/src/pages/ExperienceCenter/components/AICreation/Video/VideoInputPanel.jsx b/src/pages/ExperienceCenter/components/AICreation/Video/VideoInputPanel.jsx
index 9558a714..deb89374 100644
--- a/src/pages/ExperienceCenter/components/AICreation/Video/VideoInputPanel.jsx
+++ b/src/pages/ExperienceCenter/components/AICreation/Video/VideoInputPanel.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
ChevronRight as ActionChevronRight,
ChevronLeft as ActionChevronLeft,
diff --git a/src/pages/ExperienceCenter/components/AICreation/Video/VideoModelPanel.jsx b/src/pages/ExperienceCenter/components/AICreation/Video/VideoModelPanel.jsx
index 83a38d1c..1ca5f1a1 100644
--- a/src/pages/ExperienceCenter/components/AICreation/Video/VideoModelPanel.jsx
+++ b/src/pages/ExperienceCenter/components/AICreation/Video/VideoModelPanel.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect } from 'react';
import { Card, Typography, Space, Tag } from '@/components/ui';
import { IconCreditCard, IconTickCircle } from '@/components/ui/icons';
diff --git a/src/pages/ExperienceCenter/components/AICreation/Video/VideoPreviewPanel.jsx b/src/pages/ExperienceCenter/components/AICreation/Video/VideoPreviewPanel.jsx
index d6fc682e..6f446c54 100644
--- a/src/pages/ExperienceCenter/components/AICreation/Video/VideoPreviewPanel.jsx
+++ b/src/pages/ExperienceCenter/components/AICreation/Video/VideoPreviewPanel.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Trans } from 'react-i18next';
import {
Wallet as ActionWallet,
diff --git a/src/pages/ExperienceCenter/components/AICreation/Video/VideoTaskQueue.jsx b/src/pages/ExperienceCenter/components/AICreation/Video/VideoTaskQueue.jsx
index a8a7397d..6d7cb4c8 100644
--- a/src/pages/ExperienceCenter/components/AICreation/Video/VideoTaskQueue.jsx
+++ b/src/pages/ExperienceCenter/components/AICreation/Video/VideoTaskQueue.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
Play as ActionPlay,
Download as ActionDownload,
diff --git a/src/pages/ExperienceCenter/components/AICreation/VideoGenerationTab.jsx b/src/pages/ExperienceCenter/components/AICreation/VideoGenerationTab.jsx
index 6f33797c..e596628a 100644
--- a/src/pages/ExperienceCenter/components/AICreation/VideoGenerationTab.jsx
+++ b/src/pages/ExperienceCenter/components/AICreation/VideoGenerationTab.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useState, useEffect, useRef } from 'react';
import { useTranslation } from 'react-i18next';
import VideoInputPanel from './Video/VideoInputPanel';
diff --git a/src/pages/ExperienceCenter/components/AICreation/VideoRemixTab.jsx b/src/pages/ExperienceCenter/components/AICreation/VideoRemixTab.jsx
index 8472aa11..5a779e57 100644
--- a/src/pages/ExperienceCenter/components/AICreation/VideoRemixTab.jsx
+++ b/src/pages/ExperienceCenter/components/AICreation/VideoRemixTab.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Card, Empty } from '@/components/ui';
import { useTranslation } from 'react-i18next';
diff --git a/src/pages/ExperienceCenter/components/ExperienceSidebar.jsx b/src/pages/ExperienceCenter/components/ExperienceSidebar.jsx
index 5496d2b3..8477f9e1 100644
--- a/src/pages/ExperienceCenter/components/ExperienceSidebar.jsx
+++ b/src/pages/ExperienceCenter/components/ExperienceSidebar.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { I18N_TECHNICAL_TEXT } from '../../../i18n/technicalText.js';
import {
ChevronRight as ActionChevronRight,
diff --git a/src/pages/ExperienceCenter/components/ImageGeneration.jsx b/src/pages/ExperienceCenter/components/ImageGeneration.jsx
index f40ed69a..b0478fa8 100644
--- a/src/pages/ExperienceCenter/components/ImageGeneration.jsx
+++ b/src/pages/ExperienceCenter/components/ImageGeneration.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useContext } from 'react';
import ImageGenerationTab from './AICreation/ImageGenerationTab';
import CreationStudio from '../../../components/creation/CreationStudio';
diff --git a/src/pages/ExperienceCenter/components/KeyManagement.jsx b/src/pages/ExperienceCenter/components/KeyManagement.jsx
index f0b22cd4..e72098b5 100644
--- a/src/pages/ExperienceCenter/components/KeyManagement.jsx
+++ b/src/pages/ExperienceCenter/components/KeyManagement.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import Token from '../../Token';
diff --git a/src/pages/ExperienceCenter/components/TextModel.jsx b/src/pages/ExperienceCenter/components/TextModel.jsx
index 6b1496d2..ca57d882 100644
--- a/src/pages/ExperienceCenter/components/TextModel.jsx
+++ b/src/pages/ExperienceCenter/components/TextModel.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import Playground from '../../Playground';
diff --git a/src/pages/ExperienceCenter/components/VideoGeneration.jsx b/src/pages/ExperienceCenter/components/VideoGeneration.jsx
index 1bf5483d..ac3ebdc7 100644
--- a/src/pages/ExperienceCenter/components/VideoGeneration.jsx
+++ b/src/pages/ExperienceCenter/components/VideoGeneration.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useContext } from 'react';
import { useTranslation } from 'react-i18next';
import { Video, Sparkles, Clapperboard, Film, Play } from 'lucide-react';
diff --git a/src/pages/ExperienceCenter/index.jsx b/src/pages/ExperienceCenter/index.jsx
index 04a49dd3..7b1bb1a3 100644
--- a/src/pages/ExperienceCenter/index.jsx
+++ b/src/pages/ExperienceCenter/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
import React, { useContext } from 'react';
import { Navigate, useLocation, useNavigate } from 'react-router-dom';
diff --git a/src/pages/ExperienceCenter/useExperienceModules.js b/src/pages/ExperienceCenter/useExperienceModules.js
index 69a185f6..51ae8fb6 100644
--- a/src/pages/ExperienceCenter/useExperienceModules.js
+++ b/src/pages/ExperienceCenter/useExperienceModules.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useCallback, useContext, useMemo } from 'react';
import { StatusContext } from '../../context/Status';
import { UserContext } from '../../context/User';
diff --git a/src/pages/ExperienceCenterAudit/index.jsx b/src/pages/ExperienceCenterAudit/index.jsx
index 24897998..34821d50 100644
--- a/src/pages/ExperienceCenterAudit/index.jsx
+++ b/src/pages/ExperienceCenterAudit/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Download as ActionDownload } from '@/components/common/icons/ActionIcons';
import React, {
useCallback,
diff --git a/src/pages/ExpertPlatform/index.jsx b/src/pages/ExpertPlatform/index.jsx
index f033f576..b95bade8 100644
--- a/src/pages/ExpertPlatform/index.jsx
+++ b/src/pages/ExpertPlatform/index.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatIdReference, formatNumber } from '../../helpers/safeDisplay';
import { Trans } from 'react-i18next';
diff --git a/src/pages/Forbidden/index.jsx b/src/pages/Forbidden/index.jsx
index f96ead90..59b72798 100644
--- a/src/pages/Forbidden/index.jsx
+++ b/src/pages/Forbidden/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Empty } from '@/components/ui';
import {
diff --git a/src/pages/Home/index.jsx b/src/pages/Home/index.jsx
index ba92c526..50db8879 100644
--- a/src/pages/Home/index.jsx
+++ b/src/pages/Home/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Rocket as ActionRocket } from '@/components/common/icons/ActionIcons';
import { useEffectEvent } from '../../hooks/common/useEffectEvent';
import {
diff --git a/src/pages/ImageGeneration/index.jsx b/src/pages/ImageGeneration/index.jsx
index df4c354c..018e40bc 100644
--- a/src/pages/ImageGeneration/index.jsx
+++ b/src/pages/ImageGeneration/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
Download as ActionDownload,
Check as ActionCheck,
diff --git a/src/pages/KeyManagement/index.jsx b/src/pages/KeyManagement/index.jsx
index f46e9434..5e7cc427 100644
--- a/src/pages/KeyManagement/index.jsx
+++ b/src/pages/KeyManagement/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
import {
EyeOff as ActionEyeOff,
diff --git a/src/pages/Log/index.jsx b/src/pages/Log/index.jsx
index 8a2c2e0b..a7a02653 100644
--- a/src/pages/Log/index.jsx
+++ b/src/pages/Log/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import UsageLogsTable from '../../components/table/usage-logs';
diff --git a/src/pages/LogoShowcase/index.jsx b/src/pages/LogoShowcase/index.jsx
index 9f27a158..361986dc 100644
--- a/src/pages/LogoShowcase/index.jsx
+++ b/src/pages/LogoShowcase/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
import React from 'react';
import WeeLogo from '../components/common/logo/WeeLogo';
diff --git a/src/pages/Midjourney/index.jsx b/src/pages/Midjourney/index.jsx
index 06ac6849..62d264d9 100644
--- a/src/pages/Midjourney/index.jsx
+++ b/src/pages/Midjourney/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import MjLogsTable from '../../components/table/mj-logs';
diff --git a/src/pages/Model/index.jsx b/src/pages/Model/index.jsx
index 34c16a58..7b25621c 100644
--- a/src/pages/Model/index.jsx
+++ b/src/pages/Model/index.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React from 'react';
import ModelsTable from '../../components/table/models';
diff --git a/src/pages/MonitorCenter/AdminMonitor.jsx b/src/pages/MonitorCenter/AdminMonitor.jsx
index 703adb40..eefc7ebc 100644
--- a/src/pages/MonitorCenter/AdminMonitor.jsx
+++ b/src/pages/MonitorCenter/AdminMonitor.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
import React, { useState, useEffect } from 'react';
import { Card, Row, Col, Table, Spin } from '@/components/ui';
diff --git a/src/pages/MonitorCenter/ChannelMonitor.jsx b/src/pages/MonitorCenter/ChannelMonitor.jsx
index dfbd16fe..380d006b 100644
--- a/src/pages/MonitorCenter/ChannelMonitor.jsx
+++ b/src/pages/MonitorCenter/ChannelMonitor.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatPercent } from '../../helpers/safeDisplay';
import { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
diff --git a/src/pages/MonitorCenter/index.jsx b/src/pages/MonitorCenter/index.jsx
index bdafbd25..fe4511f4 100644
--- a/src/pages/MonitorCenter/index.jsx
+++ b/src/pages/MonitorCenter/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useState, useEffect } from 'react';
import { Tabs, Card } from '@/components/ui';
import { Activity, Shield } from 'lucide-react';
diff --git a/src/pages/Monitoring/components/ChannelMonitorView.jsx b/src/pages/Monitoring/components/ChannelMonitorView.jsx
index df4695c6..aeac55e5 100644
--- a/src/pages/Monitoring/components/ChannelMonitorView.jsx
+++ b/src/pages/Monitoring/components/ChannelMonitorView.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatPercent } from '../../../helpers/safeDisplay';
import { I18N_TECHNICAL_TEXT } from '../../../i18n/technicalText.js';
diff --git a/src/pages/Monitoring/index.jsx b/src/pages/Monitoring/index.jsx
index 52795e03..90824c00 100644
--- a/src/pages/Monitoring/index.jsx
+++ b/src/pages/Monitoring/index.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React, { useState, useEffect } from 'react';
import { useEffectEvent } from '../../hooks/common/useEffectEvent';
import {
diff --git a/src/pages/MyCommission/index.jsx b/src/pages/MyCommission/index.jsx
index 07f47a1b..05cbe5d8 100644
--- a/src/pages/MyCommission/index.jsx
+++ b/src/pages/MyCommission/index.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { RefreshCw as ActionRefreshCw } from '@/components/common/icons/ActionIcons';
import TableEmpty from '../../components/common/table/TableEmpty';
import TableToolbar from '../../components/common/table/TableToolbar';
diff --git a/src/pages/NotFound/index.jsx b/src/pages/NotFound/index.jsx
index 202bd26e..8faf3a0f 100644
--- a/src/pages/NotFound/index.jsx
+++ b/src/pages/NotFound/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Empty } from '@/components/ui';
import {
diff --git a/src/pages/OrgLogin/index.jsx b/src/pages/OrgLogin/index.jsx
index 23d83546..6062c9aa 100644
--- a/src/pages/OrgLogin/index.jsx
+++ b/src/pages/OrgLogin/index.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React, { useContext, useEffect, useRef, useState } from 'react';
import { useNavigate, useParams, useSearchParams } from 'react-router-dom';
import { useTranslation } from 'react-i18next';
diff --git a/src/pages/OrgRegister/index.jsx b/src/pages/OrgRegister/index.jsx
index ad841dd0..badec8a7 100644
--- a/src/pages/OrgRegister/index.jsx
+++ b/src/pages/OrgRegister/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useContext, useRef, useState } from 'react';
import { useNavigate } from 'react-router-dom';
import { useTranslation } from 'react-i18next';
diff --git a/src/pages/Organization/OrgAgentAudit.jsx b/src/pages/Organization/OrgAgentAudit.jsx
index a3f863be..ca488d31 100644
--- a/src/pages/Organization/OrgAgentAudit.jsx
+++ b/src/pages/Organization/OrgAgentAudit.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useCallback, useEffect, useMemo, useState } from 'react';
import {
Button,
diff --git a/src/pages/Organization/OrgAudit.jsx b/src/pages/Organization/OrgAudit.jsx
index 9c3e6b44..1db43086 100644
--- a/src/pages/Organization/OrgAudit.jsx
+++ b/src/pages/Organization/OrgAudit.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatUserReference } from '../../helpers/safeDisplay';
import { RefreshCw as ActionRefreshCw } from '@/components/common/icons/ActionIcons';
import TableEmpty from '../../components/common/table/TableEmpty';
diff --git a/src/pages/Organization/OrgBudgets.jsx b/src/pages/Organization/OrgBudgets.jsx
index a00653d7..f9807881 100644
--- a/src/pages/Organization/OrgBudgets.jsx
+++ b/src/pages/Organization/OrgBudgets.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatIdReference } from '../../helpers/safeDisplay';
import {
RefreshCw as ActionRefreshCw,
diff --git a/src/pages/Organization/OrgCommissionNavigation.jsx b/src/pages/Organization/OrgCommissionNavigation.jsx
index 69a2719a..ee8f5548 100644
--- a/src/pages/Organization/OrgCommissionNavigation.jsx
+++ b/src/pages/Organization/OrgCommissionNavigation.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React, { useEffect, useId, useState } from 'react';
import { Link, useLocation } from 'react-router-dom';
import { useTranslation } from 'react-i18next';
diff --git a/src/pages/Organization/OrgConnectors.jsx b/src/pages/Organization/OrgConnectors.jsx
index 245c383b..a7787acf 100644
--- a/src/pages/Organization/OrgConnectors.jsx
+++ b/src/pages/Organization/OrgConnectors.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
import {
RefreshCw as ActionRefreshCw,
diff --git a/src/pages/Organization/OrgDashboard.jsx b/src/pages/Organization/OrgDashboard.jsx
index 9a41a8c1..0ff9399d 100644
--- a/src/pages/Organization/OrgDashboard.jsx
+++ b/src/pages/Organization/OrgDashboard.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
import {
Search as ActionSearch,
diff --git a/src/pages/Organization/OrgDataSecurity.jsx b/src/pages/Organization/OrgDataSecurity.jsx
index 8b7b2387..1d93eb0e 100644
--- a/src/pages/Organization/OrgDataSecurity.jsx
+++ b/src/pages/Organization/OrgDataSecurity.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React from 'react';
import { useTranslation } from 'react-i18next';
import { Tabs, TabPane } from '@/components/ui';
diff --git a/src/pages/Organization/OrgDepartments.jsx b/src/pages/Organization/OrgDepartments.jsx
index 91f3b65b..80824780 100644
--- a/src/pages/Organization/OrgDepartments.jsx
+++ b/src/pages/Organization/OrgDepartments.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatIdReference } from '../../helpers/safeDisplay';
import {
RefreshCw as ActionRefreshCw,
diff --git a/src/pages/Organization/OrgDeptManage.jsx b/src/pages/Organization/OrgDeptManage.jsx
index cac8f239..1ab9e7c7 100644
--- a/src/pages/Organization/OrgDeptManage.jsx
+++ b/src/pages/Organization/OrgDeptManage.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatIdReference } from '../../helpers/safeDisplay';
import { formatUserReference } from '../../helpers/safeDisplay';
import {
diff --git a/src/pages/Organization/OrgEffectiveness.jsx b/src/pages/Organization/OrgEffectiveness.jsx
index 1e9dede2..c107af09 100644
--- a/src/pages/Organization/OrgEffectiveness.jsx
+++ b/src/pages/Organization/OrgEffectiveness.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import {
formatIdReference,
formatNumber,
diff --git a/src/pages/Organization/OrgExperts.jsx b/src/pages/Organization/OrgExperts.jsx
index 2abddf55..52d67fa5 100644
--- a/src/pages/Organization/OrgExperts.jsx
+++ b/src/pages/Organization/OrgExperts.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useCallback, useEffect, useMemo, useState } from 'react';
import {
Button,
diff --git a/src/pages/Organization/OrgKnowledge.jsx b/src/pages/Organization/OrgKnowledge.jsx
index ffe636ba..18ad9434 100644
--- a/src/pages/Organization/OrgKnowledge.jsx
+++ b/src/pages/Organization/OrgKnowledge.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import {
formatIdReference,
formatPercent,
diff --git a/src/pages/Organization/OrgLogs.jsx b/src/pages/Organization/OrgLogs.jsx
index f3f3c41b..6e2d41ec 100644
--- a/src/pages/Organization/OrgLogs.jsx
+++ b/src/pages/Organization/OrgLogs.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatUserReference } from '../../helpers/safeDisplay';
import { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
diff --git a/src/pages/Organization/OrgMemberAccounts.jsx b/src/pages/Organization/OrgMemberAccounts.jsx
index b3ba57e3..493d0970 100644
--- a/src/pages/Organization/OrgMemberAccounts.jsx
+++ b/src/pages/Organization/OrgMemberAccounts.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatIdReference } from '../../helpers/safeDisplay';
import { formatUserReference } from '../../helpers/safeDisplay';
import {
diff --git a/src/pages/Organization/OrgMembers.jsx b/src/pages/Organization/OrgMembers.jsx
index 14ce53e6..6a936dae 100644
--- a/src/pages/Organization/OrgMembers.jsx
+++ b/src/pages/Organization/OrgMembers.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import {
Pencil as ActionPencil,
RefreshCw as ActionRefreshCw,
diff --git a/src/pages/Organization/OrgMyCapabilities.jsx b/src/pages/Organization/OrgMyCapabilities.jsx
index 3d06e17b..f13f6daa 100644
--- a/src/pages/Organization/OrgMyCapabilities.jsx
+++ b/src/pages/Organization/OrgMyCapabilities.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React from 'react';
import { useTranslation } from 'react-i18next';
import OrgSubpageTabs from './components/OrgSubpageTabs';
diff --git a/src/pages/Organization/OrgMyConnectors.jsx b/src/pages/Organization/OrgMyConnectors.jsx
index d34e4ca5..9db668b1 100644
--- a/src/pages/Organization/OrgMyConnectors.jsx
+++ b/src/pages/Organization/OrgMyConnectors.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { Trans } from 'react-i18next';
import React, { useEffect, useMemo, useState } from 'react';
import { Button, Card, Empty, Tag, Typography } from 'antd';
diff --git a/src/pages/Organization/OrgMySkills.jsx b/src/pages/Organization/OrgMySkills.jsx
index 784172bf..1e6ea06b 100644
--- a/src/pages/Organization/OrgMySkills.jsx
+++ b/src/pages/Organization/OrgMySkills.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useCallback, useEffect, useMemo, useState } from 'react';
import { Card, Empty, Switch, Tag, Tooltip, Typography } from 'antd';
import { Toast } from '@/components/ui';
diff --git a/src/pages/Organization/OrgPersonalSettings.jsx b/src/pages/Organization/OrgPersonalSettings.jsx
index 21e34887..ce8b8441 100644
--- a/src/pages/Organization/OrgPersonalSettings.jsx
+++ b/src/pages/Organization/OrgPersonalSettings.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Trans } from 'react-i18next';
import { useEffectEvent } from '../../hooks/common/useEffectEvent';
import React, { useCallback, useContext, useEffect, useState } from 'react';
diff --git a/src/pages/Organization/OrgPrivateSkills.jsx b/src/pages/Organization/OrgPrivateSkills.jsx
index caad60e3..cc59a50e 100644
--- a/src/pages/Organization/OrgPrivateSkills.jsx
+++ b/src/pages/Organization/OrgPrivateSkills.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
import {
FileCheck2 as ActionFileCheck2,
diff --git a/src/pages/Organization/OrgProjectManage.jsx b/src/pages/Organization/OrgProjectManage.jsx
index 6c03fd70..a6f70789 100644
--- a/src/pages/Organization/OrgProjectManage.jsx
+++ b/src/pages/Organization/OrgProjectManage.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatIdReference } from '../../helpers/safeDisplay';
import {
RefreshCw as ActionRefreshCw,
diff --git a/src/pages/Organization/OrgProjects.jsx b/src/pages/Organization/OrgProjects.jsx
index e05c9baa..e0260766 100644
--- a/src/pages/Organization/OrgProjects.jsx
+++ b/src/pages/Organization/OrgProjects.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatIdReference } from '../../helpers/safeDisplay';
import {
RefreshCw as ActionRefreshCw,
diff --git a/src/pages/Organization/OrgPromptRecords.jsx b/src/pages/Organization/OrgPromptRecords.jsx
index 01d6d2c1..049965c3 100644
--- a/src/pages/Organization/OrgPromptRecords.jsx
+++ b/src/pages/Organization/OrgPromptRecords.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatUserReference } from '../../helpers/safeDisplay';
import {
Copy as ActionCopy,
diff --git a/src/pages/Organization/OrgQuality.jsx b/src/pages/Organization/OrgQuality.jsx
index a548e4ae..d02acb5a 100644
--- a/src/pages/Organization/OrgQuality.jsx
+++ b/src/pages/Organization/OrgQuality.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Typography } from '@/components/ui';
import { useTranslation } from 'react-i18next';
diff --git a/src/pages/Organization/OrgRecharge.jsx b/src/pages/Organization/OrgRecharge.jsx
index 06022618..a17092f6 100644
--- a/src/pages/Organization/OrgRecharge.jsx
+++ b/src/pages/Organization/OrgRecharge.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
import { formatNumber } from '../../helpers/safeDisplay';
import { Check as ActionCheck } from '@/components/common/icons/ActionIcons';
diff --git a/src/pages/Organization/OrgRequests.jsx b/src/pages/Organization/OrgRequests.jsx
index 96ae7e06..8d2604d4 100644
--- a/src/pages/Organization/OrgRequests.jsx
+++ b/src/pages/Organization/OrgRequests.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { RefreshCw as ActionRefreshCw } from '@/components/common/icons/ActionIcons';
import TableEmpty from '../../components/common/table/TableEmpty';
import React, { useCallback, useEffect, useRef, useState } from 'react';
diff --git a/src/pages/Organization/OrgResolver.jsx b/src/pages/Organization/OrgResolver.jsx
index c791fd04..114d762e 100644
--- a/src/pages/Organization/OrgResolver.jsx
+++ b/src/pages/Organization/OrgResolver.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
Home as ActionHome,
RefreshCw as ActionRefreshCw,
diff --git a/src/pages/Organization/OrgSettings.jsx b/src/pages/Organization/OrgSettings.jsx
index c97a5aa6..b2ea2a94 100644
--- a/src/pages/Organization/OrgSettings.jsx
+++ b/src/pages/Organization/OrgSettings.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatCurrency, formatUserReference } from '../../helpers/safeDisplay';
import {
diff --git a/src/pages/Organization/OrgSidebar.jsx b/src/pages/Organization/OrgSidebar.jsx
index 289ef99f..59827283 100644
--- a/src/pages/Organization/OrgSidebar.jsx
+++ b/src/pages/Organization/OrgSidebar.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
import {
ChevronDown as ActionChevronDown,
diff --git a/src/pages/Organization/OrgSkillAssignments.jsx b/src/pages/Organization/OrgSkillAssignments.jsx
index faa9e325..0a56b25c 100644
--- a/src/pages/Organization/OrgSkillAssignments.jsx
+++ b/src/pages/Organization/OrgSkillAssignments.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useCallback, useEffect, useMemo, useState } from 'react';
import {
Button,
diff --git a/src/pages/Organization/OrgSkillCenter.jsx b/src/pages/Organization/OrgSkillCenter.jsx
index 78c8a45b..31891534 100644
--- a/src/pages/Organization/OrgSkillCenter.jsx
+++ b/src/pages/Organization/OrgSkillCenter.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React from 'react';
import { useTranslation } from 'react-i18next';
import OrgSubpageTabs from './components/OrgSubpageTabs';
diff --git a/src/pages/Organization/OrgSkillLibrary.jsx b/src/pages/Organization/OrgSkillLibrary.jsx
index 73ca8e3b..bf3718b9 100644
--- a/src/pages/Organization/OrgSkillLibrary.jsx
+++ b/src/pages/Organization/OrgSkillLibrary.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, {
useCallback,
useContext,
diff --git a/src/pages/Organization/OrgSmartRouter.jsx b/src/pages/Organization/OrgSmartRouter.jsx
index 0e5325db..6ee3255d 100644
--- a/src/pages/Organization/OrgSmartRouter.jsx
+++ b/src/pages/Organization/OrgSmartRouter.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useState } from 'react';
import { useTranslation } from 'react-i18next';
import { Alert, Tabs as AntTabs } from 'antd';
diff --git a/src/pages/Organization/OrgTokens.jsx b/src/pages/Organization/OrgTokens.jsx
index 2d94baa7..ec7de30c 100644
--- a/src/pages/Organization/OrgTokens.jsx
+++ b/src/pages/Organization/OrgTokens.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatIdReference } from '../../helpers/safeDisplay';
import { formatUserReference } from '../../helpers/safeDisplay';
diff --git a/src/pages/Organization/OrgWorkbench.jsx b/src/pages/Organization/OrgWorkbench.jsx
index a2ee99e5..1be8e9f7 100644
--- a/src/pages/Organization/OrgWorkbench.jsx
+++ b/src/pages/Organization/OrgWorkbench.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { RefreshCw as ActionRefreshCw } from '@/components/common/icons/ActionIcons';
import React, { useCallback, useEffect, useMemo, useState } from 'react';
import {
diff --git a/src/pages/Organization/components/DeptFlowCanvas.css b/src/pages/Organization/components/DeptFlowCanvas.css
index bbf3b686..6d4fe09f 100644
--- a/src/pages/Organization/components/DeptFlowCanvas.css
+++ b/src/pages/Organization/components/DeptFlowCanvas.css
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
/* 部门画布「影棚」皮肤:去点阵,改用品牌色辉光 + 渐晕背景;
卡片/工具条/控件/小地图统一磨玻璃。深浅色跟随 React Flow
colorMode(容器上的 .dark/.light 类,与全局主题一致)。 */
diff --git a/src/pages/Organization/components/DeptFlowCanvas.jsx b/src/pages/Organization/components/DeptFlowCanvas.jsx
index c2b2f3c8..8b973fcb 100644
--- a/src/pages/Organization/components/DeptFlowCanvas.jsx
+++ b/src/pages/Organization/components/DeptFlowCanvas.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatUserReference } from '../../../helpers/safeDisplay';
import { Trans } from 'react-i18next';
import {
diff --git a/src/pages/Organization/components/DeptTreeSelect.jsx b/src/pages/Organization/components/DeptTreeSelect.jsx
index 0c8917c7..5ed8b599 100644
--- a/src/pages/Organization/components/DeptTreeSelect.jsx
+++ b/src/pages/Organization/components/DeptTreeSelect.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React, { useMemo } from 'react';
import { useTranslation } from 'react-i18next';
import { TreeSelect } from '@/components/ui';
diff --git a/src/pages/Organization/components/OrgAnalyticsPanel.jsx b/src/pages/Organization/components/OrgAnalyticsPanel.jsx
index b168be8e..fb282893 100644
--- a/src/pages/Organization/components/OrgAnalyticsPanel.jsx
+++ b/src/pages/Organization/components/OrgAnalyticsPanel.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatIdReference, formatPercent } from '../../../helpers/safeDisplay';
import { RefreshCw as ActionRefreshCw } from '@/components/common/icons/ActionIcons';
import React, { useCallback, useEffect, useMemo, useState } from 'react';
diff --git a/src/pages/Organization/components/OrgBreadcrumb.jsx b/src/pages/Organization/components/OrgBreadcrumb.jsx
index aba71d47..72797bde 100644
--- a/src/pages/Organization/components/OrgBreadcrumb.jsx
+++ b/src/pages/Organization/components/OrgBreadcrumb.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Breadcrumb } from 'antd';
import { useLocation } from 'react-router-dom';
diff --git a/src/pages/Organization/components/OrgHero.jsx b/src/pages/Organization/components/OrgHero.jsx
index e95ab26d..5e5e070f 100644
--- a/src/pages/Organization/components/OrgHero.jsx
+++ b/src/pages/Organization/components/OrgHero.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React from 'react';
/**
diff --git a/src/pages/Organization/components/OrgListCard.jsx b/src/pages/Organization/components/OrgListCard.jsx
index 670f72b6..93e2c612 100644
--- a/src/pages/Organization/components/OrgListCard.jsx
+++ b/src/pages/Organization/components/OrgListCard.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Card } from 'antd';
import '../../../styles/org-center.css';
diff --git a/src/pages/Organization/components/OrgModal.jsx b/src/pages/Organization/components/OrgModal.jsx
index 7324d351..035675ef 100644
--- a/src/pages/Organization/components/OrgModal.jsx
+++ b/src/pages/Organization/components/OrgModal.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React from 'react';
import { Modal } from '@/components/ui';
diff --git a/src/pages/Organization/components/OrgNicknameModal.jsx b/src/pages/Organization/components/OrgNicknameModal.jsx
index 347997b5..4b2aa922 100644
--- a/src/pages/Organization/components/OrgNicknameModal.jsx
+++ b/src/pages/Organization/components/OrgNicknameModal.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React, { useEffect, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { Input, Toast, Typography } from '@/components/ui';
diff --git a/src/pages/Organization/components/OrgPageHeader.jsx b/src/pages/Organization/components/OrgPageHeader.jsx
index ec4a47c0..0b20b2e7 100644
--- a/src/pages/Organization/components/OrgPageHeader.jsx
+++ b/src/pages/Organization/components/OrgPageHeader.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React from 'react';
import UserCenterPageHeader from '../../../components/common/UserCenterPageHeader';
import OrgBreadcrumb from './OrgBreadcrumb';
diff --git a/src/pages/Organization/components/OrgPanel.jsx b/src/pages/Organization/components/OrgPanel.jsx
index c2996a8f..7c4f0305 100644
--- a/src/pages/Organization/components/OrgPanel.jsx
+++ b/src/pages/Organization/components/OrgPanel.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React from 'react';
import { Card } from 'antd';
diff --git a/src/pages/Organization/components/OrgPasswordModal.jsx b/src/pages/Organization/components/OrgPasswordModal.jsx
index 0f8e9c2b..c56602a1 100644
--- a/src/pages/Organization/components/OrgPasswordModal.jsx
+++ b/src/pages/Organization/components/OrgPasswordModal.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React, { useEffect, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { Input, Toast, Typography } from '@/components/ui';
diff --git a/src/pages/Organization/components/OrgScopedLimitButtons.jsx b/src/pages/Organization/components/OrgScopedLimitButtons.jsx
index 5dca8166..0abffc2d 100644
--- a/src/pages/Organization/components/OrgScopedLimitButtons.jsx
+++ b/src/pages/Organization/components/OrgScopedLimitButtons.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { Layers as ActionLayers } from '@/components/common/icons/ActionIcons';
import React, { useCallback, useState } from 'react';
import { useTranslation } from 'react-i18next';
diff --git a/src/pages/Organization/components/OrgSideSheet.jsx b/src/pages/Organization/components/OrgSideSheet.jsx
index 1c49a16f..109a225c 100644
--- a/src/pages/Organization/components/OrgSideSheet.jsx
+++ b/src/pages/Organization/components/OrgSideSheet.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React from 'react';
import { SideSheet } from '@/components/ui';
diff --git a/src/pages/Organization/components/OrgStatCard.jsx b/src/pages/Organization/components/OrgStatCard.jsx
index a75adda2..9573cfc7 100644
--- a/src/pages/Organization/components/OrgStatCard.jsx
+++ b/src/pages/Organization/components/OrgStatCard.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React from 'react';
import useCountUp from '../../../hooks/common/useCountUp';
diff --git a/src/pages/Organization/components/OrgStateBlock.jsx b/src/pages/Organization/components/OrgStateBlock.jsx
index ef7f5d07..148904e2 100644
--- a/src/pages/Organization/components/OrgStateBlock.jsx
+++ b/src/pages/Organization/components/OrgStateBlock.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React from 'react';
import { Spin } from '@/components/ui';
import { Inbox } from 'lucide-react';
diff --git a/src/pages/Organization/components/OrgSubpageTabs.jsx b/src/pages/Organization/components/OrgSubpageTabs.jsx
index 4b83c720..6e36a918 100644
--- a/src/pages/Organization/components/OrgSubpageTabs.jsx
+++ b/src/pages/Organization/components/OrgSubpageTabs.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React, { useEffect } from 'react';
import { TabPane, Tabs } from '@/components/ui';
import { useSearchParams } from 'react-router-dom';
diff --git a/src/pages/Organization/components/OrgTaskRecords.jsx b/src/pages/Organization/components/OrgTaskRecords.jsx
index be0158bf..43a23d98 100644
--- a/src/pages/Organization/components/OrgTaskRecords.jsx
+++ b/src/pages/Organization/components/OrgTaskRecords.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
Download as ActionDownload,
RefreshCw as ActionRefreshCw,
diff --git a/src/pages/Organization/components/deptTree.js b/src/pages/Organization/components/deptTree.js
index 11d912c4..d319d82d 100644
--- a/src/pages/Organization/components/deptTree.js
+++ b/src/pages/Organization/components/deptTree.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import i18next from 'i18next';
// 部门树构建工具:/api/org/dept 返回按 sort asc, id asc 排序的扁平列表,
diff --git a/src/pages/Organization/components/orgStatus.js b/src/pages/Organization/components/orgStatus.js
index c3c47b82..54730dd7 100644
--- a/src/pages/Organization/components/orgStatus.js
+++ b/src/pages/Organization/components/orgStatus.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 企业中心统一状态语义色映射(Semi Tag color)。
// 统一各页面 Tag 颜色口径,避免「pending 一会 amber 一会 orange」「停用一会红一会灰」。
const ORG_STATUS_COLOR = {
diff --git a/src/pages/Organization/components/useOrgLogsThemeStyle.js b/src/pages/Organization/components/useOrgLogsThemeStyle.js
index 811623af..05847280 100644
--- a/src/pages/Organization/components/useOrgLogsThemeStyle.js
+++ b/src/pages/Organization/components/useOrgLogsThemeStyle.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useMemo } from 'react';
import { theme } from 'antd';
diff --git a/src/pages/Organization/customRechargeAmount.js b/src/pages/Organization/customRechargeAmount.js
index 18bbf42f..abbef1f0 100644
--- a/src/pages/Organization/customRechargeAmount.js
+++ b/src/pages/Organization/customRechargeAmount.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export const MAX_CUSTOM_AMOUNT = 10000;
export function normalizeCustomAmount(input) {
diff --git a/src/pages/Organization/datasecurity/OrgDsChanges.jsx b/src/pages/Organization/datasecurity/OrgDsChanges.jsx
index 7bcca6f4..1bc56d2d 100644
--- a/src/pages/Organization/datasecurity/OrgDsChanges.jsx
+++ b/src/pages/Organization/datasecurity/OrgDsChanges.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React, {
useCallback,
useEffect,
diff --git a/src/pages/Organization/datasecurity/OrgDsHitLogs.jsx b/src/pages/Organization/datasecurity/OrgDsHitLogs.jsx
index fb2ab0bb..3c56ea78 100644
--- a/src/pages/Organization/datasecurity/OrgDsHitLogs.jsx
+++ b/src/pages/Organization/datasecurity/OrgDsHitLogs.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React, {
useCallback,
useEffect,
diff --git a/src/pages/Organization/datasecurity/OrgDsPolicy.jsx b/src/pages/Organization/datasecurity/OrgDsPolicy.jsx
index ba8afa56..7cb5db37 100644
--- a/src/pages/Organization/datasecurity/OrgDsPolicy.jsx
+++ b/src/pages/Organization/datasecurity/OrgDsPolicy.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { Trans } from 'react-i18next';
import React, {
useCallback,
diff --git a/src/pages/Organization/datasecurity/OrgDsRules.jsx b/src/pages/Organization/datasecurity/OrgDsRules.jsx
index a59f0810..66b4d67d 100644
--- a/src/pages/Organization/datasecurity/OrgDsRules.jsx
+++ b/src/pages/Organization/datasecurity/OrgDsRules.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React, {
useCallback,
useEffect,
diff --git a/src/pages/Organization/datasecurity/OrgDsTest.jsx b/src/pages/Organization/datasecurity/OrgDsTest.jsx
index 99f594ff..c9013ba4 100644
--- a/src/pages/Organization/datasecurity/OrgDsTest.jsx
+++ b/src/pages/Organization/datasecurity/OrgDsTest.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React, { useMemo, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { FlaskConical } from 'lucide-react';
diff --git a/src/pages/Organization/fund/DeptFundsPanel.jsx b/src/pages/Organization/fund/DeptFundsPanel.jsx
index ee17922b..5072df5b 100644
--- a/src/pages/Organization/fund/DeptFundsPanel.jsx
+++ b/src/pages/Organization/fund/DeptFundsPanel.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, {
useCallback,
useEffect,
diff --git a/src/pages/Organization/fund/FundLedgerSheet.jsx b/src/pages/Organization/fund/FundLedgerSheet.jsx
index 72aca7be..c8efb69a 100644
--- a/src/pages/Organization/fund/FundLedgerSheet.jsx
+++ b/src/pages/Organization/fund/FundLedgerSheet.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatIdReference } from '../../../helpers/safeDisplay';
import React, { useCallback, useEffect, useRef, useState } from 'react';
diff --git a/src/pages/Organization/fund/FundTransferModal.jsx b/src/pages/Organization/fund/FundTransferModal.jsx
index 43771221..617d3a2e 100644
--- a/src/pages/Organization/fund/FundTransferModal.jsx
+++ b/src/pages/Organization/fund/FundTransferModal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useMemo, useRef, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { Alert, Button, Checkbox, Input, theme } from 'antd';
diff --git a/src/pages/Organization/fund/OrgDeptFunds.jsx b/src/pages/Organization/fund/OrgDeptFunds.jsx
index 559306a2..b84ed4c1 100644
--- a/src/pages/Organization/fund/OrgDeptFunds.jsx
+++ b/src/pages/Organization/fund/OrgDeptFunds.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, {
useCallback,
useEffect,
diff --git a/src/pages/Organization/fund/fundApi.js b/src/pages/Organization/fund/fundApi.js
index 5d47ac44..db3a97a3 100644
--- a/src/pages/Organization/fund/fundApi.js
+++ b/src/pages/Organization/fund/fundApi.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { API } from '../../../helpers/api';
// 部门资金管理接口(技术评审稿 §7)。查询失败由页面自己展示错误态,统一静默全局 toast;
diff --git a/src/pages/Organization/fund/fundFormat.js b/src/pages/Organization/fund/fundFormat.js
index 3b0fe4cd..6014cf8a 100644
--- a/src/pages/Organization/fund/fundFormat.js
+++ b/src/pages/Organization/fund/fundFormat.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { formatIdReference } from '../../../helpers/safeDisplay';
// 与后端 model/org_fund.go 常量一一对应
diff --git a/src/pages/Organization/index.jsx b/src/pages/Organization/index.jsx
index 481a8cbb..324c9ca4 100644
--- a/src/pages/Organization/index.jsx
+++ b/src/pages/Organization/index.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { Menu as ActionMenu } from '@/components/common/icons/ActionIcons';
import React, {
useContext,
diff --git a/src/pages/Organization/orgAuditFormat.js b/src/pages/Organization/orgAuditFormat.js
index 4b2f900c..71dd67ba 100644
--- a/src/pages/Organization/orgAuditFormat.js
+++ b/src/pages/Organization/orgAuditFormat.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
const FALLBACK_QUOTA_PER_CNY = 500000;
const quotaDetailKeys = new Set([
diff --git a/src/pages/Organization/orgAuditFormat.test.js b/src/pages/Organization/orgAuditFormat.test.js
index 6fab2508..11061668 100644
--- a/src/pages/Organization/orgAuditFormat.test.js
+++ b/src/pages/Organization/orgAuditFormat.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import test from 'node:test';
import assert from 'node:assert/strict';
diff --git a/src/pages/Organization/orgFeatureFlags.js b/src/pages/Organization/orgFeatureFlags.js
index 012d074d..de609c69 100644
--- a/src/pages/Organization/orgFeatureFlags.js
+++ b/src/pages/Organization/orgFeatureFlags.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// parseOrgFeatureFlag 解析企业 feature_flags JSON 中某个开关的生效值。
// 语义必须与后端 model.OrgFeatureEnabled 完全一致(bool 原值 / 字符串仅
// 'true'、'1' 为真 / 数字非 0 为真),否则前端 tab 显隐会与后端
diff --git a/src/pages/Organization/orgFeatureFlags.test.js b/src/pages/Organization/orgFeatureFlags.test.js
index 153ac303..e60d14af 100644
--- a/src/pages/Organization/orgFeatureFlags.test.js
+++ b/src/pages/Organization/orgFeatureFlags.test.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import test from 'node:test';
import assert from 'node:assert/strict';
diff --git a/src/pages/Organization/orgQuotaAvailability.js b/src/pages/Organization/orgQuotaAvailability.js
index 13e9df7e..f9eb24a6 100644
--- a/src/pages/Organization/orgQuotaAvailability.js
+++ b/src/pages/Organization/orgQuotaAvailability.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
// Use raw quota values so rounding the progress percentage cannot hide low credit.
export function getOrgQuotaAvailability(data) {
if (data?.quota == null || data.quota === '') return null;
diff --git a/src/pages/PartnerPortal/Console.jsx b/src/pages/PartnerPortal/Console.jsx
index 725edad9..d715d1d8 100644
--- a/src/pages/PartnerPortal/Console.jsx
+++ b/src/pages/PartnerPortal/Console.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React, { useCallback, useContext, useEffect, useState } from 'react';
import { Banner, Button, Card, Form, Spin, Typography } from '@/components/ui';
import {
diff --git a/src/pages/PartnerPortal/Workbench.jsx b/src/pages/PartnerPortal/Workbench.jsx
index 1ffadfb8..0a7cccfb 100644
--- a/src/pages/PartnerPortal/Workbench.jsx
+++ b/src/pages/PartnerPortal/Workbench.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { Trans } from 'react-i18next';
import {
Copy as ActionCopy,
diff --git a/src/pages/PartnerPortal/index.jsx b/src/pages/PartnerPortal/index.jsx
index 6d58baaa..f8142e79 100644
--- a/src/pages/PartnerPortal/index.jsx
+++ b/src/pages/PartnerPortal/index.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React, { useContext, useEffect, useState } from 'react';
import { Button, Spin, Typography } from '@/components/ui';
import { BadgePercent, Clock, ShieldCheck, Users } from 'lucide-react';
diff --git a/src/pages/PartnerPortal/redirect.js b/src/pages/PartnerPortal/redirect.js
index b6b28c15..47a7feae 100644
--- a/src/pages/PartnerPortal/redirect.js
+++ b/src/pages/PartnerPortal/redirect.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 伙伴入口探测:非伙伴返回 200 + allowed=false(后端不再以 403 表达"非伙伴")。
// 企业作用域由 partnerScope 映射为 /api/org/commission/access。
const V2_ACCESS_URL = '/api/partner/v2/access';
diff --git a/src/pages/PartnerPortal/redirect.test.js b/src/pages/PartnerPortal/redirect.test.js
index 5aadc466..67f15d43 100644
--- a/src/pages/PartnerPortal/redirect.test.js
+++ b/src/pages/PartnerPortal/redirect.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import test from 'node:test';
import assert from 'node:assert/strict';
diff --git a/src/pages/Playground/index.jsx b/src/pages/Playground/index.jsx
index 1f878cd8..470c5f17 100644
--- a/src/pages/Playground/index.jsx
+++ b/src/pages/Playground/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { PanelLeftOpen as ActionPanelLeftOpen } from '@/components/common/icons/ActionIcons';
import React, {
useContext,
diff --git a/src/pages/Pricing/index.jsx b/src/pages/Pricing/index.jsx
index e37167d8..56891932 100644
--- a/src/pages/Pricing/index.jsx
+++ b/src/pages/Pricing/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import ModelPricingPage from '../../components/table/model-pricing/layout/PricingPage';
diff --git a/src/pages/PrivacyPolicy/index.jsx b/src/pages/PrivacyPolicy/index.jsx
index 80917744..8e34fe65 100644
--- a/src/pages/PrivacyPolicy/index.jsx
+++ b/src/pages/PrivacyPolicy/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { useTranslation } from 'react-i18next';
import DocumentRenderer from '../../components/common/DocumentRenderer';
diff --git a/src/pages/Recharge/AmountCard.jsx b/src/pages/Recharge/AmountCard.jsx
index 0dde53b9..b032ee9a 100644
--- a/src/pages/Recharge/AmountCard.jsx
+++ b/src/pages/Recharge/AmountCard.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Check as ActionCheck } from '@/components/common/icons/ActionIcons';
import React from 'react';
import { getCurrencyConfig } from '../../helpers/render';
diff --git a/src/pages/Recharge/HistoryPanel.jsx b/src/pages/Recharge/HistoryPanel.jsx
index 214dab60..88b381f3 100644
--- a/src/pages/Recharge/HistoryPanel.jsx
+++ b/src/pages/Recharge/HistoryPanel.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Search as ActionSearch } from '@/components/common/icons/ActionIcons';
import { useEffectEvent } from '../../hooks/common/useEffectEvent';
import React, { useState, useEffect, useMemo } from 'react';
diff --git a/src/pages/Recharge/MembershipPanel.jsx b/src/pages/Recharge/MembershipPanel.jsx
index 4cd74344..e35ffa0c 100644
--- a/src/pages/Recharge/MembershipPanel.jsx
+++ b/src/pages/Recharge/MembershipPanel.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Trans } from 'react-i18next';
import {
Check as ActionCheck,
diff --git a/src/pages/Recharge/RechargePanel.jsx b/src/pages/Recharge/RechargePanel.jsx
index 25e1fef7..3f0f8a4e 100644
--- a/src/pages/Recharge/RechargePanel.jsx
+++ b/src/pages/Recharge/RechargePanel.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Check as ActionCheck } from '@/components/common/icons/ActionIcons';
import React from 'react';
import { Alert } from 'antd';
diff --git a/src/pages/Recharge/RechargeV2.jsx b/src/pages/Recharge/RechargeV2.jsx
index c6aaa91d..db5b7e45 100644
--- a/src/pages/Recharge/RechargeV2.jsx
+++ b/src/pages/Recharge/RechargeV2.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../hooks/common/useEffectEvent';
import React, { useState, useEffect, useContext } from 'react';
import {
diff --git a/src/pages/Recharge/WalletCard.jsx b/src/pages/Recharge/WalletCard.jsx
index 5176aaf6..b7db1099 100644
--- a/src/pages/Recharge/WalletCard.jsx
+++ b/src/pages/Recharge/WalletCard.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { ExternalLink as ActionExternalLink } from '@/components/common/icons/ActionIcons';
import React from 'react';
import { Button, Input, Skeleton } from '@/components/ui';
diff --git a/src/pages/Recharge/index.jsx b/src/pages/Recharge/index.jsx
index ac9f9261..6e0fac26 100644
--- a/src/pages/Recharge/index.jsx
+++ b/src/pages/Recharge/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../hooks/common/useEffectEvent';
import React, { useEffect, useState, useContext } from 'react';
import { useLocation } from 'react-router-dom';
diff --git a/src/pages/Redemption/index.jsx b/src/pages/Redemption/index.jsx
index b6eea004..89ceffc2 100644
--- a/src/pages/Redemption/index.jsx
+++ b/src/pages/Redemption/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import RedemptionsTable from '../../components/table/redemptions';
diff --git a/src/pages/ServiceDashboard/GroupMonitor.jsx b/src/pages/ServiceDashboard/GroupMonitor.jsx
index 259050cf..b94bb269 100644
--- a/src/pages/ServiceDashboard/GroupMonitor.jsx
+++ b/src/pages/ServiceDashboard/GroupMonitor.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatPercent, toFiniteNumber } from '../../helpers/safeDisplay';
import { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
diff --git a/src/pages/ServiceDashboard/GroupMonitorAdmin.jsx b/src/pages/ServiceDashboard/GroupMonitorAdmin.jsx
index 303087d9..9fcbd11a 100644
--- a/src/pages/ServiceDashboard/GroupMonitorAdmin.jsx
+++ b/src/pages/ServiceDashboard/GroupMonitorAdmin.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatPercent } from '../../helpers/safeDisplay';
import { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
diff --git a/src/pages/ServiceDashboard/RefreshCountdown.jsx b/src/pages/ServiceDashboard/RefreshCountdown.jsx
index 67a063dc..acaaaef8 100644
--- a/src/pages/ServiceDashboard/RefreshCountdown.jsx
+++ b/src/pages/ServiceDashboard/RefreshCountdown.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useState, useEffect } from 'react';
import { Progress } from '@/components/ui';
import { Clock } from 'lucide-react';
diff --git a/src/pages/ServiceDashboard/index.jsx b/src/pages/ServiceDashboard/index.jsx
index 3143ea77..add1c5b7 100644
--- a/src/pages/ServiceDashboard/index.jsx
+++ b/src/pages/ServiceDashboard/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useState, useEffect } from 'react';
import { useTranslation } from 'react-i18next';
import { Badge, Card, theme } from 'antd';
diff --git a/src/pages/Setting/AmountOptionsManager.jsx b/src/pages/Setting/AmountOptionsManager.jsx
index 50f34734..0125a962 100644
--- a/src/pages/Setting/AmountOptionsManager.jsx
+++ b/src/pages/Setting/AmountOptionsManager.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../hooks/common/useEffectEvent';
import React, { useState, useEffect } from 'react';
import {
diff --git a/src/pages/Setting/Chat/SettingsChats.jsx b/src/pages/Setting/Chat/SettingsChats.jsx
index c44093e6..d8190f0e 100644
--- a/src/pages/Setting/Chat/SettingsChats.jsx
+++ b/src/pages/Setting/Chat/SettingsChats.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../../hooks/common/useEffectEvent';
import React, { useEffect, useState, useRef } from 'react';
import { Button as AntButton } from 'antd';
diff --git a/src/pages/Setting/Dashboard/SettingsAPIInfo.jsx b/src/pages/Setting/Dashboard/SettingsAPIInfo.jsx
index e9a7cc6a..441b8e3e 100644
--- a/src/pages/Setting/Dashboard/SettingsAPIInfo.jsx
+++ b/src/pages/Setting/Dashboard/SettingsAPIInfo.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
Plus as ActionPlus,
Trash2 as ActionTrash2,
diff --git a/src/pages/Setting/Dashboard/SettingsAnnouncements.jsx b/src/pages/Setting/Dashboard/SettingsAnnouncements.jsx
index f88be32c..1013938f 100644
--- a/src/pages/Setting/Dashboard/SettingsAnnouncements.jsx
+++ b/src/pages/Setting/Dashboard/SettingsAnnouncements.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
Plus as ActionPlus,
Trash2 as ActionTrash2,
diff --git a/src/pages/Setting/Dashboard/SettingsDataDashboard.jsx b/src/pages/Setting/Dashboard/SettingsDataDashboard.jsx
index 45f9e78e..ca1a9b83 100644
--- a/src/pages/Setting/Dashboard/SettingsDataDashboard.jsx
+++ b/src/pages/Setting/Dashboard/SettingsDataDashboard.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../../hooks/common/useEffectEvent';
import React, { useEffect, useState, useRef } from 'react';
import { Button, Col, Form, Row, Spin } from '@/components/ui';
diff --git a/src/pages/Setting/Dashboard/SettingsFAQ.jsx b/src/pages/Setting/Dashboard/SettingsFAQ.jsx
index b3be8e73..4b93f1ae 100644
--- a/src/pages/Setting/Dashboard/SettingsFAQ.jsx
+++ b/src/pages/Setting/Dashboard/SettingsFAQ.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
Plus as ActionPlus,
Trash2 as ActionTrash2,
diff --git a/src/pages/Setting/Dashboard/SettingsUptimeKuma.jsx b/src/pages/Setting/Dashboard/SettingsUptimeKuma.jsx
index 7c1abfd0..a293f236 100644
--- a/src/pages/Setting/Dashboard/SettingsUptimeKuma.jsx
+++ b/src/pages/Setting/Dashboard/SettingsUptimeKuma.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
Plus as ActionPlus,
Trash2 as ActionTrash2,
diff --git a/src/pages/Setting/Drawing/SettingsDrawing.jsx b/src/pages/Setting/Drawing/SettingsDrawing.jsx
index f9dc8d24..c9096f16 100644
--- a/src/pages/Setting/Drawing/SettingsDrawing.jsx
+++ b/src/pages/Setting/Drawing/SettingsDrawing.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Trans } from 'react-i18next';
import { useEffectEvent } from '../../../hooks/common/useEffectEvent';
import React, { useEffect, useState, useRef } from 'react';
diff --git a/src/pages/Setting/Model/SettingClaudeModel.jsx b/src/pages/Setting/Model/SettingClaudeModel.jsx
index 5cc5948e..62199095 100644
--- a/src/pages/Setting/Model/SettingClaudeModel.jsx
+++ b/src/pages/Setting/Model/SettingClaudeModel.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../../hooks/common/useEffectEvent';
import React, { useEffect, useState, useRef } from 'react';
import { Button, Col, Form, Row, Spin } from '@/components/ui';
diff --git a/src/pages/Setting/Model/SettingGeminiModel.jsx b/src/pages/Setting/Model/SettingGeminiModel.jsx
index 3d58f72e..c4f12b0b 100644
--- a/src/pages/Setting/Model/SettingGeminiModel.jsx
+++ b/src/pages/Setting/Model/SettingGeminiModel.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useState, useRef } from 'react';
import { Button, Col, Form, Row, Spin } from '@/components/ui';
import {
diff --git a/src/pages/Setting/Model/SettingGlobalModel.jsx b/src/pages/Setting/Model/SettingGlobalModel.jsx
index 9a33ba17..95bdf469 100644
--- a/src/pages/Setting/Model/SettingGlobalModel.jsx
+++ b/src/pages/Setting/Model/SettingGlobalModel.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useState, useRef } from 'react';
import { Button, Col, Form, Row, Spin, Banner } from '@/components/ui';
import {
diff --git a/src/pages/Setting/Model/SettingImagePricing.jsx b/src/pages/Setting/Model/SettingImagePricing.jsx
index 66f54fc8..5caba03b 100644
--- a/src/pages/Setting/Model/SettingImagePricing.jsx
+++ b/src/pages/Setting/Model/SettingImagePricing.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useRef, useState } from 'react';
import {
Button,
diff --git a/src/pages/Setting/Model/SettingModelCategory.jsx b/src/pages/Setting/Model/SettingModelCategory.jsx
index 6e393160..7553925b 100644
--- a/src/pages/Setting/Model/SettingModelCategory.jsx
+++ b/src/pages/Setting/Model/SettingModelCategory.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../../hooks/common/useEffectEvent';
import React, { useEffect, useState } from 'react';
import {
diff --git a/src/pages/Setting/Model/SettingVideoModel.jsx b/src/pages/Setting/Model/SettingVideoModel.jsx
index 9870189b..6cd802a9 100644
--- a/src/pages/Setting/Model/SettingVideoModel.jsx
+++ b/src/pages/Setting/Model/SettingVideoModel.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { I18N_TECHNICAL_TEXT } from '../../../i18n/technicalText.js';
import React, { useEffect, useState, useRef } from 'react';
import {
diff --git a/src/pages/Setting/Operation/SettingsAdminDelegation.jsx b/src/pages/Setting/Operation/SettingsAdminDelegation.jsx
index e8907be0..675488f0 100644
--- a/src/pages/Setting/Operation/SettingsAdminDelegation.jsx
+++ b/src/pages/Setting/Operation/SettingsAdminDelegation.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React, { useContext, useEffect, useState, useRef } from 'react';
import { Banner, Button, Card, Checkbox, Form, Spin } from '@/components/ui';
import { API, isRoot, showError, showSuccess } from '../../../helpers';
diff --git a/src/pages/Setting/Operation/SettingsCreditLimit.jsx b/src/pages/Setting/Operation/SettingsCreditLimit.jsx
index c639b09e..6dcda1df 100644
--- a/src/pages/Setting/Operation/SettingsCreditLimit.jsx
+++ b/src/pages/Setting/Operation/SettingsCreditLimit.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useState, useRef } from 'react';
import { Button, Col, Form, Row, Spin } from '@/components/ui';
import { useTranslation } from 'react-i18next';
diff --git a/src/pages/Setting/Operation/SettingsDashboardMonitor.jsx b/src/pages/Setting/Operation/SettingsDashboardMonitor.jsx
index f712a611..d65de028 100644
--- a/src/pages/Setting/Operation/SettingsDashboardMonitor.jsx
+++ b/src/pages/Setting/Operation/SettingsDashboardMonitor.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../../hooks/common/useEffectEvent';
import React, { useEffect, useState, useRef, useMemo } from 'react';
import {
diff --git a/src/pages/Setting/Operation/SettingsExperienceCenter.jsx b/src/pages/Setting/Operation/SettingsExperienceCenter.jsx
index af7a72c4..dd08271a 100644
--- a/src/pages/Setting/Operation/SettingsExperienceCenter.jsx
+++ b/src/pages/Setting/Operation/SettingsExperienceCenter.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Trans } from 'react-i18next';
import { I18N_TECHNICAL_TEXT } from '../../../i18n/technicalText.js';
import {
diff --git a/src/pages/Setting/Operation/SettingsFallback.jsx b/src/pages/Setting/Operation/SettingsFallback.jsx
index 8c1a62f2..f11ef59d 100644
--- a/src/pages/Setting/Operation/SettingsFallback.jsx
+++ b/src/pages/Setting/Operation/SettingsFallback.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../../hooks/common/useEffectEvent';
import React, { useEffect, useState, useRef } from 'react';
import { Button, Col, Form, Row, Spin, Banner } from '@/components/ui';
diff --git a/src/pages/Setting/Operation/SettingsGeneral.jsx b/src/pages/Setting/Operation/SettingsGeneral.jsx
index 3e3a3b18..28e14740 100644
--- a/src/pages/Setting/Operation/SettingsGeneral.jsx
+++ b/src/pages/Setting/Operation/SettingsGeneral.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useContext, useEffect, useState, useRef, useMemo } from 'react';
import { StatusContext } from '../../../context/Status';
import {
diff --git a/src/pages/Setting/Operation/SettingsHeaderNavModules.jsx b/src/pages/Setting/Operation/SettingsHeaderNavModules.jsx
index f32edfe7..37c85408 100644
--- a/src/pages/Setting/Operation/SettingsHeaderNavModules.jsx
+++ b/src/pages/Setting/Operation/SettingsHeaderNavModules.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../../hooks/common/useEffectEvent';
import React, { useEffect, useState, useContext } from 'react';
import {
diff --git a/src/pages/Setting/Operation/SettingsLanguage.jsx b/src/pages/Setting/Operation/SettingsLanguage.jsx
index fbf7ee27..b3cca2a8 100644
--- a/src/pages/Setting/Operation/SettingsLanguage.jsx
+++ b/src/pages/Setting/Operation/SettingsLanguage.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 运营设置 → 语言与地区:按访客 IP 国家自动选择界面语言的配置卡片。
// 整份配置存于单个 option key "LanguageSetting"(JSON),后端入库前整份校验;
// 这里的前端校验只为即时提示,口径与 setting/language_setting.Validate 一致。
diff --git a/src/pages/Setting/Operation/SettingsLog.jsx b/src/pages/Setting/Operation/SettingsLog.jsx
index 9a96f6d7..6e2a071b 100644
--- a/src/pages/Setting/Operation/SettingsLog.jsx
+++ b/src/pages/Setting/Operation/SettingsLog.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../../hooks/common/useEffectEvent';
import React, { useEffect, useState, useRef } from 'react';
import {
diff --git a/src/pages/Setting/Operation/SettingsMarquee.jsx b/src/pages/Setting/Operation/SettingsMarquee.jsx
index 593fbc28..6640ac72 100644
--- a/src/pages/Setting/Operation/SettingsMarquee.jsx
+++ b/src/pages/Setting/Operation/SettingsMarquee.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { useEffectEvent } from '../../../hooks/common/useEffectEvent';
import React, { useEffect, useState, useRef } from 'react';
import { Banner, Button, Col, Form, Row, Spin } from '@/components/ui';
diff --git a/src/pages/Setting/Operation/SettingsMonitoring.jsx b/src/pages/Setting/Operation/SettingsMonitoring.jsx
index 8fbe0884..d924068a 100644
--- a/src/pages/Setting/Operation/SettingsMonitoring.jsx
+++ b/src/pages/Setting/Operation/SettingsMonitoring.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../../hooks/common/useEffectEvent';
import React, { useEffect, useState, useRef } from 'react';
import { Button, Col, Form, Row, Spin } from '@/components/ui';
diff --git a/src/pages/Setting/Operation/SettingsOrgUserNavModules.jsx b/src/pages/Setting/Operation/SettingsOrgUserNavModules.jsx
index 199da1e8..89987c0e 100644
--- a/src/pages/Setting/Operation/SettingsOrgUserNavModules.jsx
+++ b/src/pages/Setting/Operation/SettingsOrgUserNavModules.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useState, useContext } from 'react';
import {
Banner,
diff --git a/src/pages/Setting/Operation/SettingsSensitiveWords.jsx b/src/pages/Setting/Operation/SettingsSensitiveWords.jsx
index f0978f74..73b4f727 100644
--- a/src/pages/Setting/Operation/SettingsSensitiveWords.jsx
+++ b/src/pages/Setting/Operation/SettingsSensitiveWords.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../../hooks/common/useEffectEvent';
import React, { useEffect, useState, useRef } from 'react';
import { Button, Col, Form, Row, Spin } from '@/components/ui';
diff --git a/src/pages/Setting/Operation/SettingsSidebarModulesAdmin.jsx b/src/pages/Setting/Operation/SettingsSidebarModulesAdmin.jsx
index fe8d2432..a6666f65 100644
--- a/src/pages/Setting/Operation/SettingsSidebarModulesAdmin.jsx
+++ b/src/pages/Setting/Operation/SettingsSidebarModulesAdmin.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useState, useEffect, useContext } from 'react';
import { useTranslation } from 'react-i18next';
import {
diff --git a/src/pages/Setting/Operation/SettingsSkillInject.jsx b/src/pages/Setting/Operation/SettingsSkillInject.jsx
index 8e9547fa..cb0d8aa5 100644
--- a/src/pages/Setting/Operation/SettingsSkillInject.jsx
+++ b/src/pages/Setting/Operation/SettingsSkillInject.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useRef, useState } from 'react';
import { Banner, Button, Col, Form, Row, Spin } from '@/components/ui';
import { useTranslation } from 'react-i18next';
diff --git a/src/pages/Setting/Operation/SettingsTheme.jsx b/src/pages/Setting/Operation/SettingsTheme.jsx
index 0fe1436c..8b6d5a74 100644
--- a/src/pages/Setting/Operation/SettingsTheme.jsx
+++ b/src/pages/Setting/Operation/SettingsTheme.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useContext, useEffect, useMemo, useRef, useState } from 'react';
import {
Button,
diff --git a/src/pages/Setting/Payment/SettingsGeneralPayment.jsx b/src/pages/Setting/Payment/SettingsGeneralPayment.jsx
index 5d67f332..9797f3dc 100644
--- a/src/pages/Setting/Payment/SettingsGeneralPayment.jsx
+++ b/src/pages/Setting/Payment/SettingsGeneralPayment.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useState, useRef } from 'react';
import { Button, Form, Spin } from '@/components/ui';
import {
diff --git a/src/pages/Setting/Payment/SettingsMembership.jsx b/src/pages/Setting/Payment/SettingsMembership.jsx
index 4c63fb45..879e9644 100644
--- a/src/pages/Setting/Payment/SettingsMembership.jsx
+++ b/src/pages/Setting/Payment/SettingsMembership.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../../hooks/common/useEffectEvent';
import React, { useEffect, useState } from 'react';
import {
diff --git a/src/pages/Setting/Payment/SettingsNuonuoInvoice.jsx b/src/pages/Setting/Payment/SettingsNuonuoInvoice.jsx
index f385b9b4..f7ea374c 100644
--- a/src/pages/Setting/Payment/SettingsNuonuoInvoice.jsx
+++ b/src/pages/Setting/Payment/SettingsNuonuoInvoice.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React, { useEffect, useState, useRef } from 'react';
import {
Banner,
diff --git a/src/pages/Setting/Payment/SettingsPaymentAlipay.jsx b/src/pages/Setting/Payment/SettingsPaymentAlipay.jsx
index 633fa8f9..aba1ce6c 100644
--- a/src/pages/Setting/Payment/SettingsPaymentAlipay.jsx
+++ b/src/pages/Setting/Payment/SettingsPaymentAlipay.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { Trans } from 'react-i18next';
import React, { useState } from 'react';
import { Form, Button, Typography, Space, Divider } from '@/components/ui';
diff --git a/src/pages/Setting/Payment/SettingsPaymentGateway.jsx b/src/pages/Setting/Payment/SettingsPaymentGateway.jsx
index e1bf7599..e577022a 100644
--- a/src/pages/Setting/Payment/SettingsPaymentGateway.jsx
+++ b/src/pages/Setting/Payment/SettingsPaymentGateway.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useState, useRef } from 'react';
import { Button, Form, Row, Col, Typography, Spin } from '@/components/ui';
const { Text } = Typography;
diff --git a/src/pages/Setting/Payment/SettingsPaymentGatewayCreem.jsx b/src/pages/Setting/Payment/SettingsPaymentGatewayCreem.jsx
index 9e9e914f..1cf133e6 100644
--- a/src/pages/Setting/Payment/SettingsPaymentGatewayCreem.jsx
+++ b/src/pages/Setting/Payment/SettingsPaymentGatewayCreem.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { Plus as ActionPlus } from '@/components/common/icons/ActionIcons';
import React, { useEffect, useState, useRef } from 'react';
import {
diff --git a/src/pages/Setting/Payment/SettingsPaymentGatewayPayPal.jsx b/src/pages/Setting/Payment/SettingsPaymentGatewayPayPal.jsx
index 90710146..68eb31ec 100644
--- a/src/pages/Setting/Payment/SettingsPaymentGatewayPayPal.jsx
+++ b/src/pages/Setting/Payment/SettingsPaymentGatewayPayPal.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Trans } from 'react-i18next';
import React, {
useCallback,
diff --git a/src/pages/Setting/Payment/SettingsPaymentGatewayStripe.jsx b/src/pages/Setting/Payment/SettingsPaymentGatewayStripe.jsx
index 588b91b4..9614aae0 100644
--- a/src/pages/Setting/Payment/SettingsPaymentGatewayStripe.jsx
+++ b/src/pages/Setting/Payment/SettingsPaymentGatewayStripe.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Trans } from 'react-i18next';
import React, { useEffect, useState, useRef } from 'react';
import {
diff --git a/src/pages/Setting/Payment/SettingsPaymentWechat.jsx b/src/pages/Setting/Payment/SettingsPaymentWechat.jsx
index 68ae353a..e7076b69 100644
--- a/src/pages/Setting/Payment/SettingsPaymentWechat.jsx
+++ b/src/pages/Setting/Payment/SettingsPaymentWechat.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { Trans } from 'react-i18next';
import React, { useState } from 'react';
import { Form, Button, Typography, Space, Divider } from '@/components/ui';
diff --git a/src/pages/Setting/Personal/SettingsSidebarModulesUser.jsx b/src/pages/Setting/Personal/SettingsSidebarModulesUser.jsx
index 42c7da56..a0b2b88a 100644
--- a/src/pages/Setting/Personal/SettingsSidebarModulesUser.jsx
+++ b/src/pages/Setting/Personal/SettingsSidebarModulesUser.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../../hooks/common/useEffectEvent';
import { useState, useEffect, useContext } from 'react';
import { useTranslation } from 'react-i18next';
diff --git a/src/pages/Setting/RateLimit/SettingsRequestRateLimit.jsx b/src/pages/Setting/RateLimit/SettingsRequestRateLimit.jsx
index 7703c7f1..79149902 100644
--- a/src/pages/Setting/RateLimit/SettingsRequestRateLimit.jsx
+++ b/src/pages/Setting/RateLimit/SettingsRequestRateLimit.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../../hooks/common/useEffectEvent';
import React, { useEffect, useState, useRef } from 'react';
import { Button, Col, Form, Row, Spin } from '@/components/ui';
diff --git a/src/pages/Setting/Ratio/GroupRatioSettings.jsx b/src/pages/Setting/Ratio/GroupRatioSettings.jsx
index 023fad15..1ec8e0e0 100644
--- a/src/pages/Setting/Ratio/GroupRatioSettings.jsx
+++ b/src/pages/Setting/Ratio/GroupRatioSettings.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../../hooks/common/useEffectEvent';
import React, { useEffect, useState, useRef } from 'react';
import { Banner, Button, Col, Form, Row, Spin } from '@/components/ui';
diff --git a/src/pages/Setting/Ratio/ModelCostSettings.jsx b/src/pages/Setting/Ratio/ModelCostSettings.jsx
index be76abd7..e36130c6 100644
--- a/src/pages/Setting/Ratio/ModelCostSettings.jsx
+++ b/src/pages/Setting/Ratio/ModelCostSettings.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatIdReference } from '../../../helpers/safeDisplay';
import { Trans } from 'react-i18next';
diff --git a/src/pages/Setting/Ratio/ModelOfficialPriceSettings.jsx b/src/pages/Setting/Ratio/ModelOfficialPriceSettings.jsx
index a7d27218..53516f13 100644
--- a/src/pages/Setting/Ratio/ModelOfficialPriceSettings.jsx
+++ b/src/pages/Setting/Ratio/ModelOfficialPriceSettings.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { I18N_TECHNICAL_TEXT } from '../../../i18n/technicalText.js';
import React, {
useCallback,
diff --git a/src/pages/Setting/Ratio/ModelRatioSettings.jsx b/src/pages/Setting/Ratio/ModelRatioSettings.jsx
index afdd0f7c..95a9a15b 100644
--- a/src/pages/Setting/Ratio/ModelRatioSettings.jsx
+++ b/src/pages/Setting/Ratio/ModelRatioSettings.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../../hooks/common/useEffectEvent';
import React, { useEffect, useState, useRef } from 'react';
import {
diff --git a/src/pages/Setting/Ratio/ModelRationNotSetEditor.jsx b/src/pages/Setting/Ratio/ModelRationNotSetEditor.jsx
index d25d760e..c73d0910 100644
--- a/src/pages/Setting/Ratio/ModelRationNotSetEditor.jsx
+++ b/src/pages/Setting/Ratio/ModelRationNotSetEditor.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../../hooks/common/useEffectEvent';
import React, { useEffect, useState } from 'react';
import {
diff --git a/src/pages/Setting/Ratio/ModelSettingsVisualEditor.jsx b/src/pages/Setting/Ratio/ModelSettingsVisualEditor.jsx
index 4e7840b6..af9b1474 100644
--- a/src/pages/Setting/Ratio/ModelSettingsVisualEditor.jsx
+++ b/src/pages/Setting/Ratio/ModelSettingsVisualEditor.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useState, useRef } from 'react';
import {
Table,
diff --git a/src/pages/Setting/Ratio/UpstreamRatioSync.jsx b/src/pages/Setting/Ratio/UpstreamRatioSync.jsx
index 99d8e23e..6798a674 100644
--- a/src/pages/Setting/Ratio/UpstreamRatioSync.jsx
+++ b/src/pages/Setting/Ratio/UpstreamRatioSync.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
RefreshCcw as ActionRefreshCcw,
CheckSquare as ActionCheckSquare,
diff --git a/src/pages/Setting/Ratio/costRequestGuard.js b/src/pages/Setting/Ratio/costRequestGuard.js
index a5375da6..df1107d2 100644
--- a/src/pages/Setting/Ratio/costRequestGuard.js
+++ b/src/pages/Setting/Ratio/costRequestGuard.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// Synchronous ownership checks also protect callbacks retained by confirmation
// dialogs, before React has rendered disabled controls.
export function createCostRequestGuard() {
diff --git a/src/pages/Setting/Ratio/costRequestGuard.test.js b/src/pages/Setting/Ratio/costRequestGuard.test.js
index d3dc50bc..ee24255f 100644
--- a/src/pages/Setting/Ratio/costRequestGuard.test.js
+++ b/src/pages/Setting/Ratio/costRequestGuard.test.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import test from 'node:test';
import assert from 'node:assert/strict';
import { createCostRequestGuard } from './costRequestGuard.js';
diff --git a/src/pages/Setting/WeyAi/SettingsWeyAi.jsx b/src/pages/Setting/WeyAi/SettingsWeyAi.jsx
index 7f85f80d..968b560e 100644
--- a/src/pages/Setting/WeyAi/SettingsWeyAi.jsx
+++ b/src/pages/Setting/WeyAi/SettingsWeyAi.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatIdReference } from '../../../helpers/safeDisplay';
// 系统设置 →「WeyAi」页签 →「账号接入」子页签(方案 M8;M21 起从「系统设置」页签搬到这里)。只对超级管理员展示;
diff --git a/src/pages/Setting/WeyAi/SettingsWeyAiContent.jsx b/src/pages/Setting/WeyAi/SettingsWeyAiContent.jsx
index 4d695c76..28570a6f 100644
--- a/src/pages/Setting/WeyAi/SettingsWeyAiContent.jsx
+++ b/src/pages/Setting/WeyAi/SettingsWeyAiContent.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 系统设置 →「WeyAi」→「内容管理」(M21):管理 WeyAi 客户端展示的内容,
// 比如首页短剧作品墙。内容位(展示在哪、有哪些字段)在后端代码里登记;
// 这里增删改条目、上下架、排序,改完客户端下次刷新就能看到,不用发版。
diff --git a/src/pages/Setting/WeyAi/SettingsWeyAiContentEditor.jsx b/src/pages/Setting/WeyAi/SettingsWeyAiContentEditor.jsx
index 5bb14966..a7440c93 100644
--- a/src/pages/Setting/WeyAi/SettingsWeyAiContentEditor.jsx
+++ b/src/pages/Setting/WeyAi/SettingsWeyAiContentEditor.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 「WeyAi → 内容管理」的条目编辑(M21)。表单完全按后端的内容位定义生成:
// 每种语言一组文字、结构化字段、每个文件位一个上传框、适用端、版本、上下架时间、
// 可见范围。保存只存草稿或原状态;发布在列表里单独点。
diff --git a/src/pages/Setting/WeyAi/SettingsWeyAiContentStorage.jsx b/src/pages/Setting/WeyAi/SettingsWeyAiContentStorage.jsx
index 6887d9d5..fb35bb3a 100644
--- a/src/pages/Setting/WeyAi/SettingsWeyAiContentStorage.jsx
+++ b/src/pages/Setting/WeyAi/SettingsWeyAiContentStorage.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 系统设置 →「WeyAi」→「内容存储」(M21):WeyAi 展示内容(作品视频、封面、模板包)
// 专用的 COS 桶。和系统 COS 桶分开,权限、费用、生命周期都单独管;没配置时
// 内容功能整体关闭,不会退回系统桶。只对超级管理员显示,后端按 root-only 校验。
diff --git a/src/pages/Setting/WeyAi/SettingsWeyAiReleaseNotes.jsx b/src/pages/Setting/WeyAi/SettingsWeyAiReleaseNotes.jsx
index 9ab49d85..48aec759 100644
--- a/src/pages/Setting/WeyAi/SettingsWeyAiReleaseNotes.jsx
+++ b/src/pages/Setting/WeyAi/SettingsWeyAiReleaseNotes.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 系统设置 →「WeyAi」→「版本说明」:每个 WeyAi 桌面版本的更新概要(Markdown)。
// 发布后,WeyAi 的「关于」页显示当前版本和历史版本的说明,发现新版本时的更新卡片
// 也会带上这里写的内容。客户端读公开接口 GET /api/weyai/desktop/release-notes,
diff --git a/src/pages/Setting/WeyAi/contentUpload.js b/src/pages/Setting/WeyAi/contentUpload.js
index c8ac1aac..ea6d51b7 100644
--- a/src/pages/Setting/WeyAi/contentUpload.js
+++ b/src/pages/Setting/WeyAi/contentUpload.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 「WeyAi → 内容管理」的浏览器直传(M21):本地检查 → 申请上传地址 → 直传 COS →
// 让后台核对。文件不经过 monkey-ai 服务器,不受 nginx 上传大小的限制。
diff --git a/src/pages/Setting/WeyAi/saveStages.js b/src/pages/Setting/WeyAi/saveStages.js
index e5116e1a..cf65514f 100644
--- a/src/pages/Setting/WeyAi/saveStages.js
+++ b/src/pages/Setting/WeyAi/saveStages.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// WeyAi 设置的保存顺序。页面把每个配置项作为独立的 PUT 提交,任何一项都可能
// 被后端拒掉;这里决定先后,保证停在中途任何一步,库里都不会是
// "指定范围 + 四项开放名单全空"——那样全站用户的网页端入口一起消失,后端
diff --git a/src/pages/Setting/WeyAi/saveStages.test.js b/src/pages/Setting/WeyAi/saveStages.test.js
index 67ed04ba..ff42d7cc 100644
--- a/src/pages/Setting/WeyAi/saveStages.test.js
+++ b/src/pages/Setting/WeyAi/saveStages.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import { OPEN_LIST_KEYS, planSaveStages } from './saveStages.js';
diff --git a/src/pages/Setting/index.jsx b/src/pages/Setting/index.jsx
index e67e1d47..35630d2a 100644
--- a/src/pages/Setting/index.jsx
+++ b/src/pages/Setting/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../hooks/common/useEffectEvent';
import React, { useContext, useEffect, useState } from 'react';
import { Layout, TabPane, Tabs } from '@/components/ui';
diff --git a/src/pages/Setup/index.jsx b/src/pages/Setup/index.jsx
index 8e2f5cb6..81df7bba 100644
--- a/src/pages/Setup/index.jsx
+++ b/src/pages/Setup/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { SetupWizard } from '../../components/setup';
diff --git a/src/pages/SkillMarket/LiveSkillMarket.jsx b/src/pages/SkillMarket/LiveSkillMarket.jsx
index bc413e8a..70d8a75c 100644
--- a/src/pages/SkillMarket/LiveSkillMarket.jsx
+++ b/src/pages/SkillMarket/LiveSkillMarket.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useContext, useEffect, useMemo, useState } from 'react';
import { Alert } from 'antd';
import { Button, Pagination, Tag, Toast, Typography } from '@/components/ui';
diff --git a/src/pages/SkillMarket/MockSkillMarket.jsx b/src/pages/SkillMarket/MockSkillMarket.jsx
index 5b3bade6..48092b92 100644
--- a/src/pages/SkillMarket/MockSkillMarket.jsx
+++ b/src/pages/SkillMarket/MockSkillMarket.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useMemo, useState } from 'react';
import {
Alert,
diff --git a/src/pages/SkillMarket/catalogData.js b/src/pages/SkillMarket/catalogData.js
index 40f3b014..5b99c509 100644
--- a/src/pages/SkillMarket/catalogData.js
+++ b/src/pages/SkillMarket/catalogData.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export const PAGE_SIZE = 24;
// Both data sources filter the entire catalog before paginating. Selected tags use OR.
diff --git a/src/pages/SkillMarket/index.jsx b/src/pages/SkillMarket/index.jsx
index 5d3a6349..976ae467 100644
--- a/src/pages/SkillMarket/index.jsx
+++ b/src/pages/SkillMarket/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { lazy, Suspense } from 'react';
import { Spin } from 'antd';
diff --git a/src/pages/SkillMarket/mockStore.js b/src/pages/SkillMarket/mockStore.js
index 8a531bc3..85249ee9 100644
--- a/src/pages/SkillMarket/mockStore.js
+++ b/src/pages/SkillMarket/mockStore.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// Local preview repository. No HTTP client is used by this module.
import { queryCatalog } from './catalogData.js';
export { PAGE_SIZE } from './catalogData.js';
diff --git a/src/pages/SkillMarket/view/SkillCard.jsx b/src/pages/SkillMarket/view/SkillCard.jsx
index 28714edf..bff4a354 100644
--- a/src/pages/SkillMarket/view/SkillCard.jsx
+++ b/src/pages/SkillMarket/view/SkillCard.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Card, Tag } from 'antd';
import { ChartNoAxesColumn, LayoutGrid, Settings, Zap } from 'lucide-react';
diff --git a/src/pages/SkillMarket/view/SkillCatalog.jsx b/src/pages/SkillMarket/view/SkillCatalog.jsx
index f435185c..5315bcaa 100644
--- a/src/pages/SkillMarket/view/SkillCatalog.jsx
+++ b/src/pages/SkillMarket/view/SkillCatalog.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { ListFilter as ActionListFilter } from '@/components/common/icons/ActionIcons';
import React, { useEffect, useRef } from 'react';
import { Button } from 'antd';
diff --git a/src/pages/SkillMarket/view/SkillDetailDrawer.jsx b/src/pages/SkillMarket/view/SkillDetailDrawer.jsx
index 4ec0a4b5..07c5d33b 100644
--- a/src/pages/SkillMarket/view/SkillDetailDrawer.jsx
+++ b/src/pages/SkillMarket/view/SkillDetailDrawer.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { I18N_TECHNICAL_TEXT } from '../../../i18n/technicalText.js';
import React from 'react';
import { Button, Drawer, Tag } from 'antd';
diff --git a/src/pages/SkillMarket/view/SkillFilterSidebar.jsx b/src/pages/SkillMarket/view/SkillFilterSidebar.jsx
index 373036b9..652c2553 100644
--- a/src/pages/SkillMarket/view/SkillFilterSidebar.jsx
+++ b/src/pages/SkillMarket/view/SkillFilterSidebar.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { Button, Select, Tag } from 'antd';
import { useTranslation } from 'react-i18next';
diff --git a/src/pages/SkillMarket/view/SkillMarketHero.jsx b/src/pages/SkillMarket/view/SkillMarketHero.jsx
index ff0b4f89..65fad2fe 100644
--- a/src/pages/SkillMarket/view/SkillMarketHero.jsx
+++ b/src/pages/SkillMarket/view/SkillMarketHero.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Search as ActionSearch } from '@/components/common/icons/ActionIcons';
import React from 'react';
import { Button, Input } from 'antd';
diff --git a/src/pages/SkillMarket/view/skillMarketTheme.js b/src/pages/SkillMarket/view/skillMarketTheme.js
index 63264bb9..c24b40e9 100644
--- a/src/pages/SkillMarket/view/skillMarketTheme.js
+++ b/src/pages/SkillMarket/view/skillMarketTheme.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { theme } from 'antd';
/**
diff --git a/src/pages/SkillPlatform/index.jsx b/src/pages/SkillPlatform/index.jsx
index 94ddc254..0659945d 100644
--- a/src/pages/SkillPlatform/index.jsx
+++ b/src/pages/SkillPlatform/index.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { formatIdReference } from '../../helpers/safeDisplay';
import { ConsolePageActions } from '../../components/console/ConsolePageContainer';
diff --git a/src/pages/SmartRouter/index.jsx b/src/pages/SmartRouter/index.jsx
index 03154ada..668501c1 100644
--- a/src/pages/SmartRouter/index.jsx
+++ b/src/pages/SmartRouter/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useMemo, useState } from 'react';
import { useTranslation } from 'react-i18next';
import {
diff --git a/src/pages/Status/index.jsx b/src/pages/Status/index.jsx
index 71e4f54e..04b6e937 100644
--- a/src/pages/Status/index.jsx
+++ b/src/pages/Status/index.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import React, { useEffect, useState } from 'react';
import {
Layout,
diff --git a/src/pages/Subscription/index.jsx b/src/pages/Subscription/index.jsx
index e8c2bfda..d49c8c4d 100644
--- a/src/pages/Subscription/index.jsx
+++ b/src/pages/Subscription/index.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import {
formatIdReference,
formatUserReference,
diff --git a/src/pages/Task/index.jsx b/src/pages/Task/index.jsx
index e315b3c9..dffa3cd4 100644
--- a/src/pages/Task/index.jsx
+++ b/src/pages/Task/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import TaskLogsTable from '../../components/table/task-logs';
diff --git a/src/pages/Token/index.jsx b/src/pages/Token/index.jsx
index 7d94413b..03be5b1e 100644
--- a/src/pages/Token/index.jsx
+++ b/src/pages/Token/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import AdminTokensPage from '../../components/table/admin-tokens';
diff --git a/src/pages/TopUp/index.js b/src/pages/TopUp/index.js
index aa097baa..a7da86c8 100644
--- a/src/pages/TopUp/index.js
+++ b/src/pages/TopUp/index.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 使用新版充值页面(Recharge)
import Recharge from '../Recharge';
diff --git a/src/pages/Tutorial/components/VideoTutorial.jsx b/src/pages/Tutorial/components/VideoTutorial.jsx
index e7c42698..296b84c3 100644
--- a/src/pages/Tutorial/components/VideoTutorial.jsx
+++ b/src/pages/Tutorial/components/VideoTutorial.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { I18N_TECHNICAL_TEXT } from '../../../i18n/technicalText.js';
import { useEffectEvent } from '../../../hooks/common/useEffectEvent';
import React, { useState, useEffect, useRef } from 'react';
diff --git a/src/pages/Tutorial/index.jsx b/src/pages/Tutorial/index.jsx
index 9c3403f7..765fdba4 100644
--- a/src/pages/Tutorial/index.jsx
+++ b/src/pages/Tutorial/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Trans } from 'react-i18next';
import { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
import React, { useState, useContext, useRef, useEffect } from 'react';
diff --git a/src/pages/User/index.jsx b/src/pages/User/index.jsx
index 2b6f56f8..d206523d 100644
--- a/src/pages/User/index.jsx
+++ b/src/pages/User/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import UsersTable from '../../components/table/users';
diff --git a/src/pages/UserAgreement/index.jsx b/src/pages/UserAgreement/index.jsx
index 10f2f75d..e2b049a0 100644
--- a/src/pages/UserAgreement/index.jsx
+++ b/src/pages/UserAgreement/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import { useTranslation } from 'react-i18next';
import DocumentRenderer from '../../components/common/DocumentRenderer';
diff --git a/src/pages/UserCenter/Invite.jsx b/src/pages/UserCenter/Invite.jsx
index 583d8013..aae6fb19 100644
--- a/src/pages/UserCenter/Invite.jsx
+++ b/src/pages/UserCenter/Invite.jsx
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { Trans } from 'react-i18next';
import {
Zap as ActionZap,
diff --git a/src/pages/UserCenter/Invoice.jsx b/src/pages/UserCenter/Invoice.jsx
index 6d93cb83..545a8c6b 100644
--- a/src/pages/UserCenter/Invoice.jsx
+++ b/src/pages/UserCenter/Invoice.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Trans } from 'react-i18next';
import { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
import {
diff --git a/src/pages/UserCenter/UsageRecord.jsx b/src/pages/UserCenter/UsageRecord.jsx
index 64326850..53d323d0 100644
--- a/src/pages/UserCenter/UsageRecord.jsx
+++ b/src/pages/UserCenter/UsageRecord.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useState, useEffect } from 'react';
import { useTranslation } from 'react-i18next';
import { useSearchParams } from 'react-router-dom';
diff --git a/src/pages/UserCenter/UserCenterSidebar.jsx b/src/pages/UserCenter/UserCenterSidebar.jsx
index f25411c7..cddae5ec 100644
--- a/src/pages/UserCenter/UserCenterSidebar.jsx
+++ b/src/pages/UserCenter/UserCenterSidebar.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import {
ChevronRight as ActionChevronRight,
ChevronLeft as ActionChevronLeft,
diff --git a/src/pages/UserCenter/UserDashboard.jsx b/src/pages/UserCenter/UserDashboard.jsx
index bd207c3c..d28acbed 100644
--- a/src/pages/UserCenter/UserDashboard.jsx
+++ b/src/pages/UserCenter/UserDashboard.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useEffectEvent } from '../../hooks/common/useEffectEvent';
import React, { useContext, useEffect, useState } from 'react';
import { Select } from 'antd';
diff --git a/src/pages/UserCenter/index.jsx b/src/pages/UserCenter/index.jsx
index 31d047ed..9df38715 100644
--- a/src/pages/UserCenter/index.jsx
+++ b/src/pages/UserCenter/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useContext, useMemo } from 'react';
import {
Routes,
diff --git a/src/pages/WebsiteSettings/ArticleEditor.jsx b/src/pages/WebsiteSettings/ArticleEditor.jsx
index 1c95b959..43f40cc6 100644
--- a/src/pages/WebsiteSettings/ArticleEditor.jsx
+++ b/src/pages/WebsiteSettings/ArticleEditor.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useTranslation } from 'react-i18next';
import React, { useEffect, useState } from 'react';
import {
diff --git a/src/pages/WebsiteSettings/ArticleRichEditor.jsx b/src/pages/WebsiteSettings/ArticleRichEditor.jsx
index 84e34060..b5e809b1 100644
--- a/src/pages/WebsiteSettings/ArticleRichEditor.jsx
+++ b/src/pages/WebsiteSettings/ArticleRichEditor.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React from 'react';
import RichTextEditor from '../../components/common/ui/RichTextEditor';
import { ARTICLE_BODY_LIMIT } from '../../components/common/ui/richTextLength';
diff --git a/src/pages/WebsiteSettings/InsightsPanel.jsx b/src/pages/WebsiteSettings/InsightsPanel.jsx
index 61162ea7..8d0aa2e8 100644
--- a/src/pages/WebsiteSettings/InsightsPanel.jsx
+++ b/src/pages/WebsiteSettings/InsightsPanel.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { useTranslation } from 'react-i18next';
import TableEmpty from '../../components/common/table/TableEmpty';
import TableToolbar from '../../components/common/table/TableToolbar';
diff --git a/src/pages/WebsiteSettings/QrCodeUpload.jsx b/src/pages/WebsiteSettings/QrCodeUpload.jsx
index 2684210d..80e8ac4b 100644
--- a/src/pages/WebsiteSettings/QrCodeUpload.jsx
+++ b/src/pages/WebsiteSettings/QrCodeUpload.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { Upload as ActionUpload } from '@/components/common/icons/ActionIcons';
import React, { useEffect, useRef, useState } from 'react';
import { Button, Image, Typography } from '@/components/ui';
diff --git a/src/pages/WebsiteSettings/README.md b/src/pages/WebsiteSettings/README.md
index 884b613b..eb0311bc 100644
--- a/src/pages/WebsiteSettings/README.md
+++ b/src/pages/WebsiteSettings/README.md
@@ -56,7 +56,7 @@ teamMembers/researchRatio 映射 about.teamMembers/researchStaffRatio;首页
## 验证
```sh
-node --test src/pages/WebsiteSettings/*.test.js src/components/common/ui/richTextImages.test.js
+node --test "test/unit/website-settings-*.test.js" "test/unit/website-api.test.js"
```
## 动态与洞察
diff --git a/src/pages/WebsiteSettings/WebsiteField.jsx b/src/pages/WebsiteSettings/WebsiteField.jsx
index 3c6d07ab..8ee98c0e 100644
--- a/src/pages/WebsiteSettings/WebsiteField.jsx
+++ b/src/pages/WebsiteSettings/WebsiteField.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useState } from 'react';
import { Select as AntSelect, Space } from 'antd';
import { Form, Input } from '@/components/ui';
diff --git a/src/pages/WebsiteSettings/index.jsx b/src/pages/WebsiteSettings/index.jsx
index b09d948d..c132c685 100644
--- a/src/pages/WebsiteSettings/index.jsx
+++ b/src/pages/WebsiteSettings/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import React, { useEffect, useRef, useState } from 'react';
import {
Banner,
diff --git a/src/pages/WebsiteSettings/insightsContent.js b/src/pages/WebsiteSettings/insightsContent.js
index 5f27df79..0841a427 100644
--- a/src/pages/WebsiteSettings/insightsContent.js
+++ b/src/pages/WebsiteSettings/insightsContent.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { sanitizeArticleHtml } from '../../components/common/ui/richTextContent.js';
export { sanitizeArticleHtml };
diff --git a/src/pages/WebsiteSettings/insightsModel.js b/src/pages/WebsiteSettings/insightsModel.js
index 671de0fb..e32998f9 100644
--- a/src/pages/WebsiteSettings/insightsModel.js
+++ b/src/pages/WebsiteSettings/insightsModel.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import { articleImageSource } from '../../components/common/ui/richTextImages.js';
import {
ARTICLE_BODY_LIMIT,
diff --git a/src/pages/WebsiteSettings/model.js b/src/pages/WebsiteSettings/model.js
index fe2a33ff..ce17f55b 100644
--- a/src/pages/WebsiteSettings/model.js
+++ b/src/pages/WebsiteSettings/model.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { isLocalQrPreview } from './qrPreview.js';
import {
emptyInsights,
diff --git a/src/pages/WebsiteSettings/qrPreview.js b/src/pages/WebsiteSettings/qrPreview.js
index 507036c4..64f1f61c 100644
--- a/src/pages/WebsiteSettings/qrPreview.js
+++ b/src/pages/WebsiteSettings/qrPreview.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// Local preview is disabled; uploads use the backend resource endpoint.
export const LOCAL_QR_PREVIEW_ENABLED = false;
diff --git a/src/pages/WebsiteSettings/settingsApi.js b/src/pages/WebsiteSettings/settingsApi.js
index f2fd161a..f63c1dea 100644
--- a/src/pages/WebsiteSettings/settingsApi.js
+++ b/src/pages/WebsiteSettings/settingsApi.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { requestWebsite } from '../../helpers/websiteApi';
import { articleImageSource } from '../../components/common/ui/richTextImages';
import {
diff --git a/src/pages/WeyAiDownload/index.jsx b/src/pages/WeyAiDownload/index.jsx
index 4d49f5a4..a0c2c527 100644
--- a/src/pages/WeyAiDownload/index.jsx
+++ b/src/pages/WeyAiDownload/index.jsx
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// WeyAi 桌面端下载页(方案 4.8)。两种挂载方式,同一个组件:
// - /weyai/download 独立公开路由,不需要登录,自带顶部让位与页面背景;
// - /user-center/weyai-download 嵌在用户中心里(embedded),侧栏保留、背景由 shell 提供。
diff --git a/src/pages/WeyAiDownload/release.js b/src/pages/WeyAiDownload/release.js
index 9d3fc220..c10b22ce 100644
--- a/src/pages/WeyAiDownload/release.js
+++ b/src/pages/WeyAiDownload/release.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// WeyAi 桌面端下载页的纯函数:整理 GET /api/weyai/desktop/release 的返回、识别访问者系统。
// 安装包命名沿用 electron-builder 的 artifactName:WeyAi---.
// (os 为 win / mac / linux;deb 的 arch 为 amd64 / arm64)。
diff --git a/src/pages/WeyAiDownload/release.test.js b/src/pages/WeyAiDownload/release.test.js
index 990cdfe7..5895ef3a 100644
--- a/src/pages/WeyAiDownload/release.test.js
+++ b/src/pages/WeyAiDownload/release.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import {
diff --git a/src/services/playgroundConversation.js b/src/services/playgroundConversation.js
index 836960af..858371dc 100644
--- a/src/services/playgroundConversation.js
+++ b/src/services/playgroundConversation.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import { API } from '../helpers';
const BASE = '/api/playground/conversation';
diff --git a/src/services/secureVerification.js b/src/services/secureVerification.js
index dad962af..1caa7524 100644
--- a/src/services/secureVerification.js
+++ b/src/services/secureVerification.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import i18next from 'i18next';
import { API } from '../helpers';
import {
diff --git a/src/styles/org.css b/src/styles/org.css
index 428cd755..dcd39af6 100644
--- a/src/styles/org.css
+++ b/src/styles/org.css
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
.org-center .ant-table {
font-size: 13px;
}
diff --git a/src/styles/presets.js b/src/styles/presets.js
index 122f3b85..725b6c9c 100644
--- a/src/styles/presets.js
+++ b/src/styles/presets.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export const PRESETS = {
/* 默认 - AI 科技感(当前线上风格)。
* 渐变改为单调收敛的 indigo→violet(原 to=#a78bfa 比 via 更浅,呈"浅-深-浅"显生硬);
diff --git a/tailwind.config.js b/tailwind.config.js
index dd9d6a73..7cc68388 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
export default {
content: ['./index.html', './src/**/*.{js,jsx,ts,tsx}'],
darkMode: 'class',
diff --git a/test/unit/action-icons.test.js b/test/unit/action-icons.test.js
index a7211d88..0ee64a83 100644
--- a/test/unit/action-icons.test.js
+++ b/test/unit/action-icons.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import React from 'react';
diff --git a/test/unit/antd-v6-contracts.test.js b/test/unit/antd-v6-contracts.test.js
index b3631b34..5b234ab4 100644
--- a/test/unit/antd-v6-contracts.test.js
+++ b/test/unit/antd-v6-contracts.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import React from 'react';
diff --git a/test/unit/brand-palette.test.js b/test/unit/brand-palette.test.js
index d7281081..aad34910 100644
--- a/test/unit/brand-palette.test.js
+++ b/test/unit/brand-palette.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import { colord } from 'colord';
diff --git a/test/unit/center-table-policy.test.js b/test/unit/center-table-policy.test.js
index 3ac567ec..2dc06f5a 100644
--- a/test/unit/center-table-policy.test.js
+++ b/test/unit/center-table-policy.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import i18next from 'i18next';
diff --git a/test/unit/clipboard.test.js b/test/unit/clipboard.test.js
index cebf9e1b..1315cf72 100644
--- a/test/unit/clipboard.test.js
+++ b/test/unit/clipboard.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import { readFile } from 'node:fs/promises';
diff --git a/test/unit/dashboard-render.test.js b/test/unit/dashboard-render.test.js
index 92524389..3eb38a02 100644
--- a/test/unit/dashboard-render.test.js
+++ b/test/unit/dashboard-render.test.js
@@ -1,23 +1,4 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
-import assert from 'node:assert/strict';
+import assert from 'node:assert/strict';
import { readFile } from 'node:fs/promises';
import test from 'node:test';
import React from 'react';
diff --git a/test/unit/demo-reservations-api.test.js b/test/unit/demo-reservations-api.test.js
new file mode 100644
index 00000000..ce936c1f
--- /dev/null
+++ b/test/unit/demo-reservations-api.test.js
@@ -0,0 +1,97 @@
+import assert from 'node:assert/strict';
+import test from 'node:test';
+import { loadFrontendModule } from './helpers/frontendModule.js';
+
+async function harness(result) {
+ const requests = [];
+ const api = await loadFrontendModule(
+ new URL(
+ '../../src/pages/DemoReservations/reservationsApi.js',
+ import.meta.url,
+ ),
+ {
+ '../../helpers/websiteApi': {
+ requestWebsite: async (...args) => {
+ requests.push(args);
+ if (result instanceof Error) throw result;
+ return result;
+ },
+ },
+ },
+ );
+ return { ...api, requests };
+}
+const response = (extra = {}) => ({
+ page: 1,
+ page_size: 10,
+ total: 1,
+ items: [
+ {
+ id: 4,
+ name: '张晨',
+ contact: '+86 13800000001',
+ companyName: '示例科技',
+ position: '',
+ industry: '',
+ interest: '企业 AI 运营与治理',
+ requirement: '第一行\n第二行',
+ },
+ ],
+ ...extra,
+});
+
+test('uses backend pagination and preserves all business fields and line breaks', async () => {
+ const data = response({ page: 2, page_size: 20, total: 21 });
+ const api = await harness(data);
+ assert.equal(
+ await api.fetchDemoReservations({ page: 2, pageSize: 20 }),
+ data,
+ );
+ const [method, path] = api.requests[0];
+ assert.equal(method, 'get');
+ const url = new URL(path, 'https://example.com');
+ assert.equal(url.pathname, '/api/website/demo-requests');
+ assert.equal(url.searchParams.get('p'), '2');
+ assert.equal(url.searchParams.get('page_size'), '20');
+ assert.equal(url.searchParams.has('pageNum'), false);
+ assert.equal(url.searchParams.has('pageSize'), false);
+});
+
+test('encodes three trimmed fuzzy AND filters without losing literal plus and wildcard characters', async () => {
+ const api = await harness(response());
+ await api.fetchDemoReservations({
+ name: ' 张 ',
+ contact: ' +86 138%_!& ',
+ companyName: ' 测试科技 ',
+ });
+ const params = new URL(api.requests[0][1], 'https://example.com')
+ .searchParams;
+ assert.equal(params.get('name'), '张');
+ assert.equal(params.get('contact'), '+86 138%_!&');
+ assert.equal(params.get('companyName'), '测试科技');
+ assert.equal(params.get('p'), '1');
+ assert.equal(params.get('page_size'), '10');
+});
+
+test('returns empty matches and out-of-range pages with the actual backend total', async () => {
+ for (const total of [0, 23]) {
+ const data = response({ items: [], total, page: 5 });
+ const api = await harness(data);
+ assert.equal(await api.fetchDemoReservations({ page: 5 }), data);
+ }
+});
+
+test('fails visibly on malformed responses or backend errors', async () => {
+ for (const value of [
+ null,
+ {},
+ response({ items: null }),
+ response({ total: -1 }),
+ response({ page: 0 }),
+ ]) {
+ const api = await harness(value);
+ await assert.rejects(api.fetchDemoReservations(), /响应格式/);
+ }
+ const api = await harness(new Error('没有平台管理员权限'));
+ await assert.rejects(api.fetchDemoReservations(), /没有平台管理员权限/);
+});
diff --git a/test/unit/dev-service.test.js b/test/unit/dev-service.test.js
index 4c615114..4b26eba8 100644
--- a/test/unit/dev-service.test.js
+++ b/test/unit/dev-service.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import { createServer } from 'node:http';
diff --git a/test/unit/effect-events.test.js b/test/unit/effect-events.test.js
index 74626a97..4816f27b 100644
--- a/test/unit/effect-events.test.js
+++ b/test/unit/effect-events.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import { setImmediate } from 'node:timers/promises';
diff --git a/test/unit/form-labels.test.js b/test/unit/form-labels.test.js
index 596369cf..b3a6c4ed 100644
--- a/test/unit/form-labels.test.js
+++ b/test/unit/form-labels.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import { readFile } from 'node:fs/promises';
import test from 'node:test';
diff --git a/test/unit/frontend-module.js b/test/unit/frontend-module.js
index 96e44aeb..3dec52d0 100644
--- a/test/unit/frontend-module.js
+++ b/test/unit/frontend-module.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import { readFile } from 'node:fs/promises';
import { runInNewContext } from 'node:vm';
diff --git a/test/unit/helpers/frontendModule.js b/test/unit/helpers/frontendModule.js
index 5f644ea2..2005efd4 100644
--- a/test/unit/helpers/frontendModule.js
+++ b/test/unit/helpers/frontendModule.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import { readFile } from 'node:fs/promises';
import { transformWithEsbuild } from 'vite';
diff --git a/test/unit/helpers/hookRuntime.js b/test/unit/helpers/hookRuntime.js
index 7d8eecae..374d697e 100644
--- a/test/unit/helpers/hookRuntime.js
+++ b/test/unit/helpers/hookRuntime.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import React from 'react';
diff --git a/test/unit/i18n-render-regressions.test.js b/test/unit/i18n-render-regressions.test.js
index 5e0057fb..412990f0 100644
--- a/test/unit/i18n-render-regressions.test.js
+++ b/test/unit/i18n-render-regressions.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import { readFile } from 'node:fs/promises';
import test from 'node:test';
diff --git a/test/unit/market-name-search.test.js b/test/unit/market-name-search.test.js
index cba72768..67530e3a 100644
--- a/test/unit/market-name-search.test.js
+++ b/test/unit/market-name-search.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import React from 'react';
diff --git a/test/unit/model-local-pagination.test.js b/test/unit/model-local-pagination.test.js
index 481d3c3c..4f0b2302 100644
--- a/test/unit/model-local-pagination.test.js
+++ b/test/unit/model-local-pagination.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import React from 'react';
diff --git a/test/unit/org-quota-availability.test.js b/test/unit/org-quota-availability.test.js
new file mode 100644
index 00000000..2176cea3
--- /dev/null
+++ b/test/unit/org-quota-availability.test.js
@@ -0,0 +1,34 @@
+import test from 'node:test';
+import assert from 'node:assert/strict';
+import { getOrgQuotaAvailability } from '../../src/pages/Organization/orgQuotaAvailability.js';
+
+test('quota availability uses unrounded remaining ratio and includes the 20% boundary', () => {
+ for (const [quota, used_quota, type] of [
+ [110855.34, 19254.66, 'success'],
+ [20.001, 79.999, 'success'],
+ [20, 80, 'warning'],
+ [19.999, 80.001, 'warning'],
+ [1, 99, 'warning'],
+ [1, 0, 'success'],
+ [0, 0, 'danger'],
+ [-1, 100, 'danger'],
+ ['20', '80', 'warning'],
+ ]) {
+ assert.equal(getOrgQuotaAvailability({ quota, used_quota }).type, type);
+ }
+});
+
+test('missing or invalid quota does not claim that credit is sufficient', () => {
+ for (const data of [
+ null,
+ {},
+ { quota: null },
+ { quota: '' },
+ { quota: 'invalid' },
+ { quota: Infinity },
+ { quota: 10, used_quota: NaN },
+ { quota: 10, used_quota: -1 },
+ ]) {
+ assert.equal(getOrgQuotaAvailability(data), null);
+ }
+});
diff --git a/test/unit/org-recharge-amount.test.js b/test/unit/org-recharge-amount.test.js
index fd33a7e2..dfa5e316 100644
--- a/test/unit/org-recharge-amount.test.js
+++ b/test/unit/org-recharge-amount.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import { normalizeCustomAmount } from '../../src/pages/Organization/customRechargeAmount.js';
diff --git a/test/unit/overlay-policy.test.js b/test/unit/overlay-policy.test.js
new file mode 100644
index 00000000..a08ab82d
--- /dev/null
+++ b/test/unit/overlay-policy.test.js
@@ -0,0 +1,104 @@
+import assert from 'node:assert/strict';
+import test from 'node:test';
+import React from 'react';
+import * as Ant from 'antd';
+import { loadFrontendModule } from './helpers/frontendModule.js';
+import {
+ overlayMask,
+ overlayMaskClosable,
+} from '../../src/components/ui/overlayPolicy.js';
+
+test('personal routes allow mask dismissal even when a shared caller disables it', () => {
+ for (const path of [
+ '/market',
+ '/market/',
+ '/skill-market',
+ '/skill-market/',
+ '/user-center',
+ '/user-center/dashboard',
+ '/user-center/key-management',
+ '/user-center/settings/security',
+ ]) {
+ for (const configured of [undefined, false, true]) {
+ assert.equal(overlayMaskClosable(configured, path), true, path);
+ }
+ }
+});
+
+test('other routes retain their existing mask policy', () => {
+ for (const path of [
+ '',
+ '/console/token',
+ '/org/settings',
+ '/login',
+ '/marketplace',
+ '/skill-market-admin',
+ '/user-center-admin',
+ ]) {
+ for (const configured of [undefined, false, true]) {
+ assert.equal(overlayMaskClosable(configured, path), configured, path);
+ }
+ }
+});
+
+test('modal, drawer and imperative APIs apply the policy and preserve callbacks', async () => {
+ let pathname = '/user-center/settings';
+ const calls = [];
+ const methods = ['confirm', 'info', 'success', 'warning', 'error'];
+ const Modal = Object.assign(
+ () => null,
+ Object.fromEntries(
+ methods.map((name) => [name, (props) => calls.push(props)]),
+ ),
+ );
+ const ui = await loadFrontendModule(
+ new URL('../../src/components/ui/index.jsx', import.meta.url),
+ {
+ react: React,
+ antd: { ...Ant, Modal },
+ './controls': {},
+ './pagination': {},
+ './pagination.css': {},
+ '../../hooks/common/useIsMobile': { useIsMobile: () => false },
+ './form': {},
+ './chat': {},
+ '../console/ConsoleContext': { useConsolePage: () => null },
+ './CenterActionTable': Ant.Table,
+ '../console/ConsolePrimitives': {},
+ '../console/consoleTableAdapter': {},
+ './overlayPolicy': {
+ overlayMask: (mask, closable) => overlayMask(mask, closable, pathname),
+ overlayMaskClosable: (configured) =>
+ overlayMaskClosable(configured, pathname),
+ },
+ },
+ );
+ const onCancel = () => {};
+ const onOk = () => {};
+ for (const path of ['/market', '/skill-market', '/user-center/settings']) {
+ pathname = path;
+ const props = { visible: true, maskClosable: false, onCancel, onOk };
+ const modal = ui.Modal(props);
+ const drawer = ui.SideSheet(props);
+ assert.equal(modal.props.mask.closable, true);
+ assert.equal(modal.props.onCancel, onCancel);
+ assert.equal(modal.props.onOk, onOk);
+ assert.equal(drawer.props.mask.closable, true);
+ assert.equal(drawer.props.onClose, onCancel);
+ for (const method of methods) {
+ ui.Modal[method](props);
+ const config = calls.at(-1);
+ assert.equal(config.mask.closable, true);
+ assert.equal(config.onCancel, onCancel);
+ assert.equal(config.onOk, onOk);
+ }
+ }
+ pathname = '/console/token';
+ assert.equal(ui.Modal({ maskClosable: false }).props.mask.closable, false);
+ assert.equal(
+ ui.SideSheet({ maskClosable: false }).props.mask.closable,
+ false,
+ );
+ ui.Modal.confirm({ maskClosable: false });
+ assert.equal(calls.at(-1).mask.closable, false);
+});
diff --git a/test/unit/pagination.test.js b/test/unit/pagination.test.js
index ae4240c0..39b958e4 100644
--- a/test/unit/pagination.test.js
+++ b/test/unit/pagination.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import fs from 'node:fs/promises';
diff --git a/test/unit/playwright-config.test.js b/test/unit/playwright-config.test.js
index d6ec23ff..90579c95 100644
--- a/test/unit/playwright-config.test.js
+++ b/test/unit/playwright-config.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import test from 'node:test';
import assert from 'node:assert/strict';
import { execFileSync } from 'node:child_process';
diff --git a/test/unit/playwright-focus-guard.test.js b/test/unit/playwright-focus-guard.test.js
index 07247bf9..c4eb9875 100644
--- a/test/unit/playwright-focus-guard.test.js
+++ b/test/unit/playwright-focus-guard.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import { EventEmitter } from 'node:events';
import test from 'node:test';
diff --git a/test/unit/playwright-preview.test.js b/test/unit/playwright-preview.test.js
index 53d2e4e9..597ff1c5 100644
--- a/test/unit/playwright-preview.test.js
+++ b/test/unit/playwright-preview.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import test from 'node:test';
import assert from 'node:assert/strict';
import { mkdtemp, mkdir, writeFile, rm } from 'node:fs/promises';
diff --git a/test/unit/post-login-redirect.test.js b/test/unit/post-login-redirect.test.js
index 075a9b92..7927566c 100644
--- a/test/unit/post-login-redirect.test.js
+++ b/test/unit/post-login-redirect.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test, { afterEach, beforeEach } from 'node:test';
import {
diff --git a/test/unit/request-lifecycle.test.js b/test/unit/request-lifecycle.test.js
index b071009d..936fa242 100644
--- a/test/unit/request-lifecycle.test.js
+++ b/test/unit/request-lifecycle.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import { setImmediate } from 'node:timers/promises';
import test from 'node:test';
diff --git a/test/unit/safe-display.test.js b/test/unit/safe-display.test.js
index c84c9faf..9559e414 100644
--- a/test/unit/safe-display.test.js
+++ b/test/unit/safe-display.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import {
diff --git a/test/unit/service-dashboard-navigation.test.js b/test/unit/service-dashboard-navigation.test.js
index 0b83c807..d3a376cb 100644
--- a/test/unit/service-dashboard-navigation.test.js
+++ b/test/unit/service-dashboard-navigation.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import React from 'react';
diff --git a/test/unit/settings-ui.test.js b/test/unit/settings-ui.test.js
index 7c55642e..7f34bc36 100644
--- a/test/unit/settings-ui.test.js
+++ b/test/unit/settings-ui.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import { readFile, readdir } from 'node:fs/promises';
import test from 'node:test';
diff --git a/test/unit/sidebar-scroll.test.js b/test/unit/sidebar-scroll.test.js
index b48fb4e4..ccba3c8c 100644
--- a/test/unit/sidebar-scroll.test.js
+++ b/test/unit/sidebar-scroll.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import test from 'node:test';
import assert from 'node:assert/strict';
import { revealActiveSidebarItem } from '../../src/helpers/sidebarScroll.js';
diff --git a/test/unit/test-discovery.test.js b/test/unit/test-discovery.test.js
index 0293b473..4d1e0380 100644
--- a/test/unit/test-discovery.test.js
+++ b/test/unit/test-discovery.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import { mkdtemp, mkdir, writeFile, rm } from 'node:fs/promises';
diff --git a/test/unit/website-api.test.js b/test/unit/website-api.test.js
new file mode 100644
index 00000000..acb15b20
--- /dev/null
+++ b/test/unit/website-api.test.js
@@ -0,0 +1,83 @@
+import assert from 'node:assert/strict';
+import test from 'node:test';
+import { loadFrontendModule } from './helpers/frontendModule.js';
+
+async function harness(respond) {
+ const calls = [],
+ authErrors = [];
+ const api = await loadFrontendModule(
+ new URL('../../src/helpers/websiteApi.js', import.meta.url),
+ {
+ './api': {
+ API: Object.fromEntries(
+ ['get', 'post'].map((method) => [
+ method,
+ async (...args) => {
+ calls.push({ method, args });
+ return respond();
+ },
+ ]),
+ ),
+ },
+ './utils': { showError: (error) => authErrors.push(error) },
+ },
+ );
+ return { ...api, calls, authErrors };
+}
+
+test('requires strict business success including when HTTP succeeds', async () => {
+ for (const data of [
+ null,
+ {},
+ { success: false, message: '权限不足' },
+ { success: 'true' },
+ ]) {
+ const api = await harness(() => ({ data }));
+ await assert.rejects(
+ api.requestWebsite('get', '/api/website/page-config'),
+ /权限不足|请求失败/,
+ );
+ }
+ const api = await harness(() => ({ data: { success: true, data: null } }));
+ assert.equal(
+ await api.requestWebsite('get', '/api/website/page-config'),
+ null,
+ );
+});
+
+test('uses the authenticated shared API instance and leaves multipart Content-Type unset', async () => {
+ const api = await harness(() => ({
+ data: { success: true, data: { url: 'https://cdn.example.com/qr.png' } },
+ }));
+ const form = new FormData();
+ await api.requestWebsite('post', '/api/customer-service/upload', form);
+ assert.equal(api.calls[0].args[1], form);
+ assert.equal(api.calls[0].args[2].headers, undefined);
+ assert.equal(api.calls[0].args[2].skipErrorHandler, true);
+ assert.equal(api.calls[0].args[2].timeout, 20000);
+});
+
+test('handles unauthenticated, rate-limited, non-JSON gateway and network failures', async () => {
+ for (const [response, pattern] of [
+ [{ status: 401 }, /重新登录/],
+ [{ status: 429, data: 'Too many requests' }, /过于频繁/],
+ [{ status: 502 }, /读取失败/],
+ [{ status: 400, data: { message: '后端业务错误' } }, /后端业务错误/],
+ [undefined, /读取失败/],
+ ]) {
+ const error = Object.assign(new Error('Axios error'), { response });
+ const api = await harness(() => {
+ throw error;
+ });
+ await assert.rejects(
+ api.requestWebsite(
+ 'get',
+ '/api/website/page-config',
+ undefined,
+ '读取失败',
+ ),
+ pattern,
+ );
+ assert.equal(api.authErrors.length, response?.status === 401 ? 1 : 0);
+ }
+});
diff --git a/test/unit/website-save-validation.test.js b/test/unit/website-save-validation.test.js
index 6823447d..a4f621a0 100644
--- a/test/unit/website-save-validation.test.js
+++ b/test/unit/website-save-validation.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import * as model from '../../src/pages/WebsiteSettings/model.js';
diff --git a/test/unit/website-settings-api.test.js b/test/unit/website-settings-api.test.js
new file mode 100644
index 00000000..2ea2fc6e
--- /dev/null
+++ b/test/unit/website-settings-api.test.js
@@ -0,0 +1,205 @@
+import assert from 'node:assert/strict';
+import test from 'node:test';
+import * as model from '../../src/pages/WebsiteSettings/model.js';
+import * as richTextImages from '../../src/components/common/ui/richTextImages.js';
+import { loadFrontendModule } from './helpers/frontendModule.js';
+
+const validValues = () => ({
+ insights: {
+ categories: [{ id: 'news', name: 'News' }],
+ articles: [
+ {
+ id: 'article-1',
+ title: 'News',
+ summary: 'Summary',
+ category: 'news',
+ date: '2026-11-10',
+ body: 'Content
',
+ related: [],
+ tag: '',
+ },
+ ],
+ },
+ paidCustomers: '200',
+ dailyTokens: '10亿',
+ costReduction: '30',
+ teamMembers: '100',
+ researchRatio: '70',
+ headquarters: '深圳',
+ serviceNetwork: '全国',
+ businessPhone: '0755-12345678',
+ businessEmail: 'contact@example.com',
+ wechatQrCode: 'https://cdn.example.com/qr.png',
+ address: '联调测试地址',
+});
+async function harness(...args) {
+ const initial = args.length ? args[0] : null;
+ const requests = [];
+ let stored = initial;
+ let failure;
+ const api = await loadFrontendModule(
+ new URL('../../src/pages/WebsiteSettings/settingsApi.js', import.meta.url),
+ {
+ '../../helpers/websiteApi': {
+ requestWebsite: async (method, path, body) => {
+ requests.push({ method, path, body });
+ if (failure) throw failure;
+ if (path === '/api/customer-service/upload')
+ return { url: 'https://cdn.example.com/new.png' };
+ if (method === 'get') return stored;
+ assert.equal(typeof body.config, 'string');
+ stored = body.config;
+ return null;
+ },
+ },
+ './model': model,
+ '../../components/common/ui/richTextImages': richTextImages,
+ },
+ );
+ return {
+ ...api,
+ requests,
+ fail: (message) => {
+ failure = new Error(message);
+ },
+ };
+}
+
+test('loads an unconfigured site and rejects failed, malformed or invalid JSON reads', async () => {
+ assert.equal(await (await harness()).getWebsiteSettings(), null);
+ for (const value of [
+ undefined,
+ {},
+ 'not json',
+ 'null',
+ '[]',
+ '{"home":[]}',
+ ]) {
+ await assert.rejects((await harness(value)).getWebsiteSettings());
+ }
+ const api = await harness();
+ api.fail('配置读取失败');
+ await assert.rejects(api.getWebsiteSettings(), /配置读取失败/);
+});
+
+test('round-trips the complete grouped configuration and preserves unknown fields', async () => {
+ const original = {
+ ...model.settingsToConfig(validValues()),
+ extension: { enabled: true },
+ };
+ original.home.futureMetric = 'future';
+ original.insights.extra = { locale: 'zh' };
+ const api = await harness(JSON.stringify(original));
+ const config = await api.getWebsiteSettings();
+ const values = model.settingsFromConfig(config);
+ assert.equal(values.researchRatio, '70');
+ values.teamMembers = '120';
+ values.address = ' 新地址 ';
+ await api.saveWebsiteSettings(model.serializeSettings(values, config));
+ const saved = await api.getWebsiteSettings();
+ assert.deepEqual(JSON.parse(JSON.stringify(saved.extension)), {
+ enabled: true,
+ });
+ assert.equal(saved.home.futureMetric, 'future');
+ assert.equal(saved.insights.extra.locale, 'zh');
+ assert.equal(saved.about.teamMembers, '120');
+ assert.equal(saved.home.teamMembers, undefined);
+ assert.equal(saved.demo.address, '新地址');
+ assert.equal(api.requests[1].path, '/api/website/page-config');
+ assert.equal(api.requests[1].method, 'post');
+});
+
+test('rejects incomplete and unserialized configurations before sending', async () => {
+ const api = await harness();
+ await assert.rejects(api.saveWebsiteSettings({}), /JSON 字符串/);
+ await assert.rejects(api.saveWebsiteSettings('{}'), /完整填写/);
+ assert.equal(api.requests.length, 0);
+});
+
+test('large configurations are sent because the backend stores LONGTEXT', async () => {
+ const api = await harness();
+ const config = model.settingsToConfig(validValues());
+ config.extension = '中'.repeat(21000);
+ await api.saveWebsiteSettings(JSON.stringify(config));
+ assert.equal(api.requests.at(-1).path, '/api/website/page-config');
+});
+
+test('saving errors propagate without reporting success', async () => {
+ const api = await harness();
+ api.fail('没有保存权限');
+ await assert.rejects(
+ api.saveWebsiteSettings(model.serializeSettings(validValues())),
+ /没有保存权限/,
+ );
+});
+
+test('an empty article list can be saved for the website empty state', async () => {
+ const api = await harness();
+ const values = { ...validValues(), insights: model.emptySettings().insights };
+ await api.saveWebsiteSettings(model.serializeSettings(values));
+ assert.equal(api.requests.at(-1).path, '/api/website/page-config');
+});
+
+test('articles under the all filter are rejected before any request', async () => {
+ const api = await harness();
+ const values = validValues();
+ values.insights.articles[0].category = 'all';
+ await assert.rejects(
+ api.saveWebsiteSettings(model.serializeSettings(values)),
+ /请完整填写并检查官网设置/,
+ );
+ assert.equal(api.requests.length, 0);
+});
+
+test('uploads the actual image as multipart file and returns a persistent URL', async () => {
+ const api = await harness();
+ const file = new File(['png'], 'qr.png', { type: 'image/png' });
+ assert.equal(
+ await api.uploadWebsiteQrCode(file),
+ 'https://cdn.example.com/new.png',
+ );
+ const { body, method, path } = api.requests[0];
+ assert.equal(method, 'post');
+ assert.equal(path, '/api/customer-service/upload');
+ assert.equal(body.get('file'), file);
+ await assert.rejects(
+ api.uploadWebsiteQrCode(
+ new File(['svg'], 'qr.svg', { type: 'image/svg+xml' }),
+ ),
+ /仅支持/,
+ );
+});
+
+test('uploads local article images once and stores public URLs instead of base64', async () => {
+ const api = await harness();
+ const config = model.settingsToConfig(validValues());
+ config.insights = {
+ categories: [{ id: 'news', name: '新闻' }],
+ articles: [
+ {
+ id: 'a',
+ title: '测试文章',
+ category: 'news',
+ date: '2026-10-31',
+ summary: '测试摘要',
+ tag: '',
+ body: '正文

',
+ related: [],
+ },
+ ],
+ };
+ const result = await api.saveWebsiteSettings(JSON.stringify(config));
+ assert.equal(
+ api.requests.filter((item) => item.path === '/api/customer-service/upload')
+ .length,
+ 1,
+ );
+ assert.equal(api.requests.at(-1).path, '/api/website/page-config');
+ assert.equal(api.requests.at(-1).body.config.includes('data:image'), false);
+ assert.equal(
+ result.config.insights.articles[0].body.match(
+ /https:\/\/cdn.example.com\/new.png/g,
+ ).length,
+ 2,
+ );
+});
diff --git a/test/unit/website-settings-article-editor.test.js b/test/unit/website-settings-article-editor.test.js
new file mode 100644
index 00000000..6b9d3d76
--- /dev/null
+++ b/test/unit/website-settings-article-editor.test.js
@@ -0,0 +1,188 @@
+import assert from 'node:assert/strict';
+import test from 'node:test';
+import React from 'react';
+import { readFile } from 'node:fs/promises';
+import { runInNewContext } from 'node:vm';
+import { transformWithEsbuild } from 'vite';
+import * as model from '../../src/pages/WebsiteSettings/insightsModel.js';
+
+const filename = new URL(
+ '../../src/pages/WebsiteSettings/ArticleEditor.jsx',
+ import.meta.url,
+);
+const { code } = await transformWithEsbuild(
+ await readFile(filename, 'utf8'),
+ filename.pathname,
+ { loader: 'jsx', format: 'cjs' },
+);
+function harness() {
+ const initial = model.newArticle('company');
+ const states = [],
+ messages = [],
+ confirms = [],
+ applied = [];
+ let stateCursor = 0,
+ mounting = true,
+ tree,
+ closed = false;
+ const Modal = { confirm: (options) => confirms.push(options) };
+ const modules = {
+ 'react-i18next': { useTranslation: () => ({ t: (key) => key }) },
+ react: {
+ ...React,
+ useEffect() {},
+ useState(value) {
+ const index = stateCursor++;
+ if (mounting) states[index] = value;
+ return [
+ states[index],
+ (next) => {
+ states[index] =
+ typeof next === 'function' ? next(states[index]) : next;
+ },
+ ];
+ },
+ },
+ '@/components/ui': {
+ Button: 'Button',
+ Card: 'Card',
+ Checkbox: 'Checkbox',
+ Form: { Slot: 'Slot' },
+ Image: 'Image',
+ Input: 'Input',
+ Modal,
+ Select: 'Select',
+ SideSheet: 'SideSheet',
+ TextArea: 'TextArea',
+ Typography: { Title: 'Title', Text: 'Text', Paragraph: 'Paragraph' },
+ },
+ '../../helpers': { showError: (message) => messages.push(message) },
+ './insightsModel': model,
+ './insightsContent': {
+ sanitizeArticleHtml: (html) => html,
+ articleHeadings: () => [],
+ },
+ './ArticleRichEditor': { default: 'ArticleRichEditor', __esModule: true },
+ };
+ const module = { exports: {} };
+ runInNewContext(code, {
+ exports: module.exports,
+ module,
+ require: (name) => {
+ assert.ok(modules[name], name);
+ return modules[name];
+ },
+ });
+ const render = () => {
+ stateCursor = 0;
+ tree = module.exports.default({
+ initial,
+ insights: model.emptyInsights(),
+ onApply: (article) => applied.push(article),
+ onClose: () => {
+ closed = true;
+ },
+ });
+ mounting = false;
+ };
+ const all = (node) =>
+ Array.isArray(node)
+ ? node.flatMap(all)
+ : node && typeof node === 'object'
+ ? [node, ...all(node.props?.children), ...all(node.props?.footer)]
+ : [];
+ const find = (type, predicate = () => true) =>
+ all(tree).find((node) => node.type === type && predicate(node.props));
+ render();
+ return {
+ render,
+ find,
+ messages,
+ confirms,
+ applied,
+ closed: () => closed,
+ save: () => find('Button', (p) => p.children === '保存').props.onClick(),
+ };
+}
+
+test('article editor blocks incomplete drafts, applies valid data and confirms discarding changes', () => {
+ const page = harness();
+ page.save();
+ page.render();
+ assert.equal(page.applied.length, 0);
+ assert.equal(page.messages.length, 0);
+ assert.equal(
+ page.find('Slot', (p) => p.label.text === '文章标题').props.error.error,
+ '请输入文章标题',
+ );
+ assert.equal(
+ page.find('Slot', (p) => p.label.text === '文章描述').props.error.error,
+ '请输入文章描述',
+ );
+ assert.equal(
+ page.find('Slot', (p) => p.label.text === '文章正文').props.error.error,
+ '请输入文章正文',
+ );
+ page
+ .find('Input', (p) => p['aria-label'] === '文章标题')
+ .props.onChange(' 测试标题 ');
+ page.render();
+ page.find('TextArea').props.onChange(' 摘要 ');
+ page.render();
+ page.find('ArticleRichEditor').props.onChange('章节
正文
');
+ page.render();
+ page.save();
+ assert.equal(page.applied[0].title, '测试标题');
+ assert.equal(page.applied[0].summary, '摘要');
+ page.find('SideSheet').props.onCancel();
+ assert.equal(page.closed(), false);
+ page.confirms.at(-1).onOk();
+ assert.equal(page.closed(), true);
+});
+
+test('article editor removes cover controls and blocks submission while body images are processing', () => {
+ const page = harness();
+ assert.equal(page.find('Image'), undefined);
+ assert.equal(
+ page.find('Slot', (p) => p.label.text === '封面图'),
+ undefined,
+ );
+ page.find('ArticleRichEditor').props.onBusyChange(true);
+ page.render();
+ assert.equal(
+ page.find('Button', (p) => p.children === '图片处理中').props.disabled,
+ true,
+ );
+ page.find('Button', (p) => p.children === '图片处理中').props.onClick();
+ assert.equal(page.applied.length, 0);
+ page.find('ArticleRichEditor').props.onBusyChange(false);
+ page.render();
+ assert.equal(
+ page.find('Button', (p) => p.children === '保存').props.disabled,
+ false,
+ );
+});
+
+test('article editor only exposes website fields and real categories', () => {
+ const page = harness();
+ for (const label of ['详情副标题', '卡片摘要'])
+ assert.equal(
+ page.find('Slot', (p) => p.label.text === label),
+ undefined,
+ label,
+ );
+ assert.equal(
+ page.find(
+ 'Checkbox',
+ (p) => 'checked' in p && p.children === '根据正文标题自动生成',
+ ),
+ undefined,
+ );
+ const options = page
+ .find('Select', (p) => p['aria-label'] === '所属分类')
+ .props.optionList.map((o) => o.value);
+ assert.deepEqual(options, ['company', 'product', 'industry']);
+ assert.ok(page.find('Slot', (p) => p.label.text === '文章描述'));
+ assert.ok(page.find('Slot', (p) => p.label.text === '角标标签'));
+ assert.ok(page.find('Slot', (p) => p.label.text === '发布日期'));
+});
diff --git a/test/unit/website-settings-insights-model.test.js b/test/unit/website-settings-insights-model.test.js
new file mode 100644
index 00000000..6e671bf9
--- /dev/null
+++ b/test/unit/website-settings-insights-model.test.js
@@ -0,0 +1,196 @@
+import assert from 'node:assert/strict';
+import test from 'node:test';
+import {
+ articleErrors,
+ categoryError,
+ emptyInsights,
+ filterArticles,
+ moveArticle,
+ newArticle,
+ normalizeInsights,
+ removeArticle,
+ validateInsights,
+} from '../../src/pages/WebsiteSettings/insightsModel.js';
+
+const article = (id, extra = {}) => ({
+ ...newArticle('company'),
+ id,
+ title: `文章 ${id}`,
+ summary: '文章描述',
+ body: '章节
正文
',
+ ...extra,
+});
+
+test('category names reject blanks, duplicates, reserved names and excessive length', () => {
+ const { categories } = emptyInsights();
+ for (const name of [
+ '',
+ ' ',
+ '公司动态',
+ '全部内容',
+ '全部分类',
+ '字'.repeat(13),
+ ])
+ assert.ok(categoryError(name, categories));
+ assert.equal(categoryError('公司动态', categories, 'company'), '');
+ assert.equal(categoryError('新分类', categories), '');
+});
+
+test('article validation covers required content, limits and related references', () => {
+ const value = { ...emptyInsights(), articles: [article('a'), article('b')] };
+ assert.deepEqual(
+ articleErrors(article('c', { related: ['a', 'b'] }), value),
+ {},
+ );
+ for (const [key, bad] of [
+ ['title', ' '],
+ ['title', '字'.repeat(81)],
+ ['summary', ''],
+ ['summary', '字'.repeat(201)],
+ ['tag', '字'.repeat(13)],
+ ['category', 'missing'],
+ ['category', 'all'],
+ ['category', ''],
+ ['date', ''],
+ ['date', '2026-02-30'],
+ ['date', '2026-11-14 10:00:00'],
+ ['date', '2026-11-14 10:00'],
+ ['date', '2025-02-29'],
+ ['date', '2026/11/14'],
+ ['date', '2026-11-14T10:00:00'],
+ ['body', '
'],
+ ['body', '
'],
+ ['body', '
'],
+ ['body', ''],
+ ['body', '
'],
+ ['related', ['a', 'a']],
+ ['related', ['missing']],
+ ['related', ['c']],
+ ]) {
+ assert.ok(articleErrors(article('c', { [key]: bad }), value)[key], key);
+ }
+ for (const good of ['2026-11-14', '2024-02-29'])
+ assert.equal(
+ articleErrors(article('c', { date: good }), value).date,
+ undefined,
+ good,
+ );
+ const more = {
+ ...value,
+ articles: ['a', 'b', 'd', 'e'].map((id) => article(id)),
+ };
+ assert.ok(
+ articleErrors(article('c', { related: ['a', 'b', 'd', 'e'] }), more)
+ .related,
+ );
+});
+
+test('new articles carry only website fields and never default to the all filter', () => {
+ const draft = newArticle('company');
+ assert.deepEqual(Object.keys(draft).sort(), [
+ 'body',
+ 'category',
+ 'date',
+ 'id',
+ 'related',
+ 'summary',
+ 'tag',
+ 'title',
+ ]);
+ assert.equal(draft.category, 'company');
+ assert.equal(newArticle('all').category, '');
+ assert.equal(newArticle().category, '');
+ assert.match(draft.date, /^\d{4}-\d{2}-\d{2}$/);
+});
+
+test('deleting an article clears all related references without mutating source', () => {
+ const value = {
+ ...emptyInsights(),
+ articles: [article('a'), article('b', { related: ['a'] })],
+ };
+ const next = removeArticle(value, 'a');
+ assert.deepEqual(next.articles[0].related, []);
+ assert.deepEqual(value.articles[1].related, ['a']);
+});
+
+test('search combines category and case-insensitive title or summary filtering in list order', () => {
+ const value = {
+ ...emptyInsights(),
+ articles: [
+ article('a', { title: 'AI 模型' }),
+ article('b', { summary: 'AI 平台' }),
+ article('c', { title: 'AI 新闻', category: 'industry' }),
+ ],
+ };
+ assert.deepEqual(
+ filterArticles(value, ' ai ', 'company').map((a) => a.id),
+ ['a', 'b'],
+ );
+ assert.deepEqual(
+ filterArticles(value, '', 'all').map((a) => a.id),
+ ['a', 'b', 'c'],
+ );
+ assert.equal(filterArticles(value, 'missing', 'all').length, 0);
+});
+
+test('moving an article swaps neighbours and ignores out-of-range moves', () => {
+ const value = {
+ ...emptyInsights(),
+ articles: [article('a'), article('b'), article('c')],
+ };
+ const ids = (insights) => insights.articles.map((a) => a.id);
+ assert.deepEqual(ids(moveArticle(value, 'b', -1)), ['b', 'a', 'c']);
+ assert.deepEqual(ids(moveArticle(value, 'b', 1)), ['a', 'c', 'b']);
+ assert.equal(moveArticle(value, 'a', -1), value);
+ assert.equal(moveArticle(value, 'c', 1), value);
+ assert.equal(moveArticle(value, 'missing', 1), value);
+ assert.deepEqual(ids(value), ['a', 'b', 'c']);
+});
+
+test('normalization keeps only the article schema with trimmed values', () => {
+ const value = {
+ ...emptyInsights(),
+ extension: 'keep',
+ articles: [
+ article('a', { title: ' 标题 ', date: ' 2026-10-31 ', extra: 'drop' }),
+ ],
+ };
+ const normalized = normalizeInsights(value);
+ const [first] = normalized.articles;
+ assert.equal(first.title, '标题');
+ assert.equal(first.date, '2026-10-31');
+ assert.equal('extra' in first, false);
+ assert.equal(normalized.extension, 'keep');
+ assert.deepEqual(Object.keys(first).sort(), [
+ 'body',
+ 'category',
+ 'date',
+ 'id',
+ 'related',
+ 'summary',
+ 'tag',
+ 'title',
+ ]);
+ assert.equal(validateInsights(normalized), '');
+ assert.ok(validateInsights({ ...value, categories: [] }));
+ assert.ok(
+ validateInsights({ ...value, articles: [article('a'), article('a')] }),
+ );
+ const fresh = emptyInsights();
+ fresh.categories[0].name = 'changed';
+ assert.equal(emptyInsights().categories[0].name, '公司动态');
+ assert.equal(validateInsights({ ...emptyInsights(), articles: [] }), '');
+});
+
+test('required article errors use Chinese control-specific prompts', () => {
+ const errors = articleErrors(newArticle(), emptyInsights());
+ assert.equal(errors.title, '请输入文章标题');
+ assert.equal(errors.summary, '请输入文章描述');
+ assert.equal(errors.body, '请输入文章正文');
+ assert.equal(errors.category, '请选择所属分类');
+ assert.equal(
+ articleErrors({ ...newArticle(), date: '' }, emptyInsights()).date,
+ '请选择发布日期',
+ );
+ assert.equal(errors.date, undefined);
+});
diff --git a/test/unit/website-settings-insights-panel.test.js b/test/unit/website-settings-insights-panel.test.js
new file mode 100644
index 00000000..f1078d42
--- /dev/null
+++ b/test/unit/website-settings-insights-panel.test.js
@@ -0,0 +1,326 @@
+import assert from 'node:assert/strict';
+import test from 'node:test';
+import React from 'react';
+import { readFile } from 'node:fs/promises';
+import { runInNewContext } from 'node:vm';
+import { transformWithEsbuild } from 'vite';
+import * as model from '../../src/pages/WebsiteSettings/insightsModel.js';
+
+const filename = new URL(
+ '../../src/pages/WebsiteSettings/InsightsPanel.jsx',
+ import.meta.url,
+);
+const { code } = await transformWithEsbuild(
+ await readFile(filename, 'utf8'),
+ filename.pathname,
+ { loader: 'jsx', format: 'cjs' },
+);
+
+function harness(initial = model.emptyInsights()) {
+ const states = [];
+ const confirms = [];
+ const messages = [];
+ let value = initial;
+ let cursor = 0;
+ let mounting = true;
+ let tree;
+ const Modal = Object.assign(() => {}, {
+ confirm: (options) => confirms.push(options),
+ });
+ const modules = {
+ 'react-i18next': { useTranslation: () => ({ t: (key) => key }) },
+ react: {
+ ...React,
+ useState(initialState) {
+ const index = cursor++;
+ if (mounting)
+ states[index] =
+ typeof initialState === 'function' ? initialState() : initialState;
+ return [
+ states[index],
+ (next) => {
+ states[index] =
+ typeof next === 'function' ? next(states[index]) : next;
+ },
+ ];
+ },
+ },
+ '@/components/ui': {
+ Button: 'Button',
+ Card: 'Card',
+ Empty: 'Empty',
+ Input: 'Input',
+ Modal,
+ Select: 'Select',
+ Typography: { Paragraph: 'Paragraph', Text: 'Text', Title: 'Title' },
+ },
+ '@/components/ui/icons': {
+ IconPlus: 'IconPlus',
+ IconSearch: 'IconSearch',
+ IconEdit: 'IconEdit',
+ IconClose: 'IconClose',
+ },
+ '../../components/common/ui/CardTable': {
+ default: 'CardTable',
+ __esModule: true,
+ },
+ '../../components/common/table/TableEmpty': {
+ default: 'TableEmpty',
+ __esModule: true,
+ },
+ '../../components/common/table/TableToolbar': {
+ default: 'TableToolbar',
+ __esModule: true,
+ },
+ '../../components/console/ConsoleModuleFilters': {
+ ConsoleFilterField: 'ConsoleFilterField',
+ },
+ '../../helpers/utils': {
+ createCardProPagination: (props) =>
+ React.createElement('Pagination', props),
+ },
+ '../../hooks/common/useIsMobile': { useIsMobile: () => false },
+ '../../helpers': {
+ showError: (message) => messages.push(message),
+ showInfo: (message) => messages.push(message),
+ },
+ './insightsModel': model,
+ './ArticleEditor': { default: 'ArticleEditor', __esModule: true },
+ };
+ const module = { exports: {} };
+ runInNewContext(code, {
+ exports: module.exports,
+ module,
+ require: (name) => {
+ assert.ok(modules[name], name);
+ return modules[name];
+ },
+ });
+ const render = () => {
+ cursor = 0;
+ tree = module.exports.default({
+ value,
+ onChange: (next) => {
+ value = next;
+ },
+ disabled: false,
+ });
+ mounting = false;
+ };
+ const all = (node) =>
+ Array.isArray(node)
+ ? node.flatMap(all)
+ : node && typeof node === 'object'
+ ? [node, ...all(node.props?.children)]
+ : [];
+ const find = (type, predicate = () => true) =>
+ all(tree).find((node) => node.type === type && predicate(node.props));
+ const button = (label) => find('Button', (props) => props.children === label);
+ const modal = () =>
+ find(
+ Modal,
+ (props) =>
+ props.visible && ['新增分类', '编辑分类'].includes(props.title),
+ );
+ render();
+ return {
+ render,
+ find,
+ button,
+ modal,
+ confirms,
+ messages,
+ value: () => value,
+ };
+}
+
+const actionsOf = (page, item) =>
+ page.find('CardTable').props.columns.at(-1).render(null, item).props.children;
+const action = (page, item, label) =>
+ actionsOf(page, item).find((button) => button.props.children === label);
+
+const article = (id, extra = {}) => ({
+ ...model.newArticle('company'),
+ id,
+ title: `文章 ${id}`,
+ summary: 'AI 内容',
+ body: '正文
',
+ ...extra,
+});
+
+test('category modal creates, rejects duplicates and edits the bound configuration', () => {
+ const page = harness();
+ page.button('新增分类').props.onClick();
+ page.render();
+ page
+ .find('Input', (p) => p['aria-label'] === '分类名称')
+ .props.onChange('公司动态');
+ page.render();
+ page.modal().props.onOk();
+ page.render();
+ assert.equal(page.value().categories.length, 3);
+ assert.ok(page.find('Text', (p) => p.role === 'alert'));
+ page
+ .find('Input', (p) => p['aria-label'] === '分类名称')
+ .props.onChange('客户案例');
+ page.render();
+ page.modal().props.onOk();
+ page.render();
+ assert.equal(page.value().categories.at(-1).name, '客户案例');
+ page
+ .find('Button', (p) => p['aria-label'] === '编辑客户案例')
+ .props.onClick();
+ page.render();
+ page
+ .find('Input', (p) => p['aria-label'] === '分类名称')
+ .props.onChange('实践案例');
+ page.render();
+ page.modal().props.onOk();
+ page.render();
+ assert.equal(page.value().categories.at(-1).name, '实践案例');
+});
+
+test('article deletion cleans references and occupied category deletion is blocked', () => {
+ const page = harness({
+ ...model.emptyInsights(),
+ articles: [article('a'), article('b', { related: ['a'] })],
+ });
+ page
+ .find('Button', (p) => p['aria-label'] === '删除公司动态')
+ .props.onClick();
+ assert.equal(page.confirms.length, 0);
+ assert.ok(page.messages[0].includes('仍有文章'));
+ action(page, page.value().articles[0], '删除').props.onClick();
+ page.confirms.at(-1).onOk();
+ page.render();
+ assert.equal(page.value().articles.length, 1);
+ assert.deepEqual(page.value().articles[0].related, []);
+ page
+ .find('Button', (p) => p['aria-label'] === '删除产品更新')
+ .props.onClick();
+ page.confirms.at(-1).onOk();
+ page.render();
+ assert.ok(!page.value().categories.some((c) => c.id === 'product'));
+});
+
+test('article row link actions open the editor and confirm deletion', () => {
+ const initial = article('a', { related: ['b'] });
+ const page = harness({
+ ...model.emptyInsights(),
+ articles: [initial, article('b')],
+ });
+ const actions = actionsOf(page, initial);
+ assert.deepEqual(
+ Array.from(actions, (button) => button.props.children),
+ ['编辑', '上移', '下移', '删除'],
+ );
+ for (const button of actions) {
+ assert.equal(button.props.type, 'link');
+ assert.equal(button.props.size, 'small');
+ }
+ assert.equal(action(page, initial, '删除').props.danger, true);
+ action(page, initial, '编辑').props.onClick();
+ page.render();
+ assert.deepEqual(
+ JSON.parse(JSON.stringify(page.find('ArticleEditor').props.initial)),
+ initial,
+ );
+ assert.notEqual(
+ page.find('ArticleEditor').props.initial.related,
+ initial.related,
+ );
+ action(page, initial, '删除').props.onClick();
+ assert.equal(page.value().articles.length, 2);
+ assert.equal(page.confirms.at(-1).title, '删除文章');
+ page.confirms.at(-1).onOk();
+ assert.equal(page.value().articles.length, 1);
+});
+
+test('local fuzzy search and category filtering display all matches without pagination', () => {
+ const page = harness({
+ ...model.emptyInsights(),
+ articles: Array.from({ length: 23 }, (_, i) => article(`a${i}`)),
+ });
+ assert.equal(page.find('CardTable').props.dataSource.length, 23);
+ assert.equal(page.find('CardTable').props.hidePagination, true);
+ assert.equal(page.find('Pagination'), undefined);
+ assert.equal(page.find('ConsoleFilterField').props.label, '文章标题');
+ assert.equal(
+ page.find('Input', (p) => p['aria-label'] === '搜索文章标题或摘要').props
+ .showClear,
+ true,
+ );
+ page
+ .find('Input', (p) => p['aria-label'] === '搜索文章标题或摘要')
+ .props.onChange('a22');
+ page.render();
+ assert.equal(page.find('Pagination'), undefined);
+ assert.equal(page.find('CardTable').props.dataSource.length, 1);
+ page
+ .find('Input', (p) => p['aria-label'] === '搜索文章标题或摘要')
+ .props.onChange('');
+ page.render();
+ assert.equal(page.find('CardTable').props.dataSource.length, 23);
+ page.find('Select').props.onChange('industry');
+ page.render();
+ assert.equal(page.find('CardTable').props.dataSource.length, 0);
+ page.button('新增文章').props.onClick();
+ page.render();
+ assert.equal(page.find('ArticleEditor').props.initial.category, 'industry');
+ page
+ .find('ArticleEditor')
+ .props.onApply(article('', { title: '新文章', category: 'industry' }));
+ page.render();
+ assert.equal(page.value().articles.length, 24);
+ assert.equal(page.value().articles[0].title, '新文章');
+});
+
+test('without categories new articles are blocked with a hint', () => {
+ const page = harness({ categories: [], articles: [] });
+ assert.equal(page.button('新增文章').props.disabled, true);
+ assert.ok(
+ page.find('Paragraph', (p) =>
+ String(p.children).includes('请先新增内容分类'),
+ ),
+ );
+ assert.deepEqual(
+ Array.from(page.find('CardTable').props.columns, (column) => column.title),
+ ['文章标题', '所属分类', '角标', '发布日期', '操作'],
+ );
+});
+
+test('articles reorder only in the unfiltered list, which is the website order', () => {
+ const page = harness({
+ ...model.emptyInsights(),
+ articles: [
+ article('a'),
+ article('b'),
+ article('c', { category: 'product' }),
+ ],
+ });
+ const first = page.value().articles[0];
+ assert.equal(action(page, first, '上移').props.disabled, true);
+ action(page, first, '下移').props.onClick();
+ page.render();
+ assert.deepEqual(
+ page.value().articles.map((a) => a.id),
+ ['b', 'a', 'c'],
+ );
+ const last = page.value().articles.at(-1);
+ assert.equal(action(page, last, '下移').props.disabled, true);
+ page.find('Select').props.onChange('company');
+ page.render();
+ assert.equal(
+ action(page, page.value().articles[1], '上移').props.disabled,
+ true,
+ );
+ page.find('Select').props.onChange('all');
+ page
+ .find('Input', (p) => p['aria-label'] === '搜索文章标题或摘要')
+ .props.onChange('a');
+ page.render();
+ assert.equal(
+ action(page, page.value().articles[1], '上移').props.disabled,
+ true,
+ );
+});
diff --git a/test/unit/website-settings-model.test.js b/test/unit/website-settings-model.test.js
new file mode 100644
index 00000000..3efc6105
--- /dev/null
+++ b/test/unit/website-settings-model.test.js
@@ -0,0 +1,237 @@
+import assert from 'node:assert/strict';
+import test from 'node:test';
+import {
+ TABS,
+ emptySettings,
+ normalizeSettings,
+ serializeSettings,
+ sanitizeMetricInput,
+ splitAmount,
+ joinAmount,
+ metricPreview,
+ validateField,
+ validateSettings,
+ validateImageFile,
+ resolveImageUrl,
+} from '../../src/pages/WebsiteSettings/model.js';
+
+const validValues = () => ({
+ insights: {
+ categories: [{ id: 'news', name: '新闻' }],
+ articles: [
+ {
+ id: 'article-1',
+ title: 'News',
+ summary: 'Summary',
+ category: 'news',
+ date: '2026-11-10',
+ body: 'Content
',
+ related: [],
+ tag: '',
+ },
+ ],
+ },
+ paidCustomers: '300',
+ dailyTokens: '500亿',
+ costReduction: '20',
+ teamMembers: '50',
+ researchRatio: '60',
+ headquarters: '珠海 / 广州',
+ serviceNetwork: '辐射全国',
+ businessPhone: '020-88888888',
+ businessEmail: 'business@example.com',
+ wechatQrCode: 'https://cdn.example.com/qr.png',
+ address: '广州市天河区示例路 1 号',
+});
+
+test('final save serializes rich text and structured insights exactly once', () => {
+ const settings = {
+ ...validValues(),
+ insights: {
+ categories: [{ id: 'company', name: '公司动态' }],
+ articles: [
+ {
+ id: 'news',
+ title: ' 标题 ',
+ category: 'company',
+ date: '2026-10-31',
+ summary: '摘要',
+ tag: '',
+ body: '章节
正文
',
+ related: [],
+ },
+ ],
+ },
+ };
+ const serialized = serializeSettings(settings);
+ assert.equal(typeof serialized, 'string');
+ const decoded = JSON.parse(serialized);
+ assert.equal(decoded.insights.articles[0].title, '标题');
+ assert.equal(
+ decoded.insights.articles[0].body,
+ settings.insights.articles[0].body,
+ );
+ assert.ok(Array.isArray(decoded.insights.articles));
+ assert.ok(Array.isArray(decoded.insights.articles[0].related));
+ assert.equal(settings.insights.articles[0].title, ' 标题 ');
+});
+
+test('backend upload mode rejects local preview data URLs', () => {
+ assert.ok(validateField('wechatQrCode', 'data:image/png;base64,AAAA'));
+ assert.ok(validateField('wechatQrCode', 'data:text/html;base64,AAAA'));
+ assert.ok(validateField('wechatQrCode', 'data:image/svg+xml;base64,AAAA'));
+});
+
+test('validates all tabs using a flat payload with one shared team count', () => {
+ assert.deepEqual(validateSettings(validValues()), {});
+ assert.equal(Object.keys(validateSettings(emptySettings())).length, 11);
+ assert.equal(validateSettings(emptySettings()).insights, undefined);
+ assert.ok(TABS[0].fields.includes('teamMembers'));
+ assert.ok(TABS[1].fields.includes('teamMembers'));
+ assert.equal(
+ Object.keys(emptySettings()).filter((key) => key === 'teamMembers').length,
+ 1,
+ );
+ const values = validValues();
+ values.address = ' ';
+ assert.ok(validateSettings(values).address);
+});
+
+test('global saving allows an empty article list for the website empty state', () => {
+ assert.deepEqual(
+ validateSettings({
+ ...validValues(),
+ insights: emptySettings().insights,
+ }),
+ {},
+ );
+ assert.ok(
+ validateSettings({
+ ...validValues(),
+ insights: {
+ ...emptySettings().insights,
+ articles: [{ ...validValues().insights.articles[0], category: 'all' }],
+ },
+ }).insights,
+ );
+ assert.deepEqual(validateSettings(validValues()), {});
+});
+
+test('metrics store plain numbers and reject units typed by hand', () => {
+ for (const value of ['1', '50', '300'])
+ assert.equal(validateField('teamMembers', value), '');
+ for (const value of ['-1', '0', '01', '1.2', 'abc', '50+'])
+ assert.ok(validateField('teamMembers', value));
+ for (const value of ['500亿', '0.5万', '12.25亿'])
+ assert.equal(validateField('dailyTokens', value), '');
+ for (const value of [
+ '0亿',
+ '500',
+ '-3亿',
+ '500亿abc',
+ '500亿+',
+ '05亿',
+ '1.234亿',
+ ])
+ assert.ok(validateField('dailyTokens', value));
+ for (const value of ['0', '100', '99.99', '0.5'])
+ assert.equal(validateField('researchRatio', value), '');
+ for (const value of ['101', '-1', '60.123', '↓20', '20%', '007'])
+ assert.ok(validateField('costReduction', value));
+});
+
+test('metric helpers sanitize input, split units and preview the website text', () => {
+ assert.equal(sanitizeMetricInput(' 300+ '), '300');
+ assert.equal(sanitizeMetricInput('12。5%'), '12.5');
+ assert.equal(sanitizeMetricInput('1,000'), '1000');
+ assert.deepEqual(splitAmount('500万'), { number: '500', unit: '万' });
+ assert.deepEqual(splitAmount(''), { number: '', unit: '亿' });
+ assert.equal(joinAmount('500', '亿'), '500亿');
+ assert.equal(joinAmount('', '万'), '');
+ assert.equal(metricPreview('paidCustomers', '300'), '300+');
+ assert.equal(metricPreview('dailyTokens', '500亿'), '500亿+');
+ assert.equal(metricPreview('costReduction', '20'), '↓20%');
+ assert.equal(metricPreview('researchRatio', '60'), '60%');
+ assert.equal(metricPreview('teamMembers', '50+'), '');
+ assert.equal(metricPreview('headquarters', '珠海'), '');
+});
+
+test('checks business telephone and email formats', () => {
+ for (const value of [
+ '13800138000',
+ '+86 13800138000',
+ '020-88888888',
+ '01088888888转123',
+ '400-123-4567',
+ ])
+ assert.equal(validateField('businessPhone', value), '');
+ for (const value of ['123', 'abcdefgh', '138001380001', '100-123-4567'])
+ assert.ok(validateField('businessPhone', value));
+ for (const value of ['sales@example.com', 'sales+demo@sub.example.cn'])
+ assert.equal(validateField('businessEmail', value), '');
+ for (const value of [
+ 'sales',
+ 'sales@',
+ '@example.com',
+ 'a b@example.com',
+ 'a..b@example.com',
+ '.ab@example.com',
+ 'ab.@example.com',
+ 'ab@-example.com',
+ ])
+ assert.ok(validateField('businessEmail', value));
+});
+
+test('clear values remove every field and normalization keeps only the flat schema', () => {
+ assert.ok(
+ Object.entries(emptySettings())
+ .filter(([key]) => key !== 'insights')
+ .every(([, value]) => value === ''),
+ );
+ assert.deepEqual(emptySettings().insights.articles, []);
+ const result = normalizeSettings({
+ ...validValues(),
+ address: ' 地址 ',
+ home: { extra: true },
+ });
+ assert.equal(result.address, '地址');
+ assert.equal(result.home, undefined);
+ assert.equal(Object.keys(result).length, 12);
+});
+
+test('restricts uploads to supported image types and at most 2 MB', () => {
+ assert.equal(
+ validateImageFile({ type: 'image/png', size: 2 * 1024 * 1024 }),
+ '',
+ );
+ for (const type of ['image/jpeg', 'image/webp'])
+ assert.equal(validateImageFile({ type, size: 100 }), '');
+ for (const size of [0, 2 * 1024 * 1024 + 1])
+ assert.ok(validateImageFile({ type: 'image/png', size }));
+ for (const type of ['image/svg+xml', 'image/gif', 'text/plain'])
+ assert.ok(validateImageFile({ type, size: 100 }));
+});
+
+test('requires permanent HTTP(S) resource URLs and an explicit base for relative paths', () => {
+ assert.equal(
+ resolveImageUrl('https://cdn.example.com/qr.png'),
+ 'https://cdn.example.com/qr.png',
+ );
+ assert.equal(
+ resolveImageUrl('/uploads/qr.png', 'https://cdn.example.com'),
+ 'https://cdn.example.com/uploads/qr.png',
+ );
+ for (const url of [
+ '/uploads/qr.png',
+ 'blob:https://example.com/id',
+ 'data:image/png;base64,123',
+ 'javascript:alert(1)',
+ 'https://user:pass@example.com/qr.png',
+ ]) {
+ assert.throws(() => resolveImageUrl(url));
+ assert.ok(validateField('wechatQrCode', url));
+ }
+ assert.throws(() =>
+ resolveImageUrl('//unknown.example/qr.png', 'https://cdn.example.com'),
+ );
+});
diff --git a/test/unit/website-settings-page.test.js b/test/unit/website-settings-page.test.js
new file mode 100644
index 00000000..fc2c5009
--- /dev/null
+++ b/test/unit/website-settings-page.test.js
@@ -0,0 +1,530 @@
+import assert from 'node:assert/strict';
+import { readFile } from 'node:fs/promises';
+import test from 'node:test';
+import { runInNewContext } from 'node:vm';
+import React from 'react';
+import { transformWithEsbuild } from 'vite';
+import * as model from '../../src/pages/WebsiteSettings/model.js';
+
+const filename = new URL(
+ '../../src/pages/WebsiteSettings/index.jsx',
+ import.meta.url,
+);
+const { code } = await transformWithEsbuild(
+ await readFile(filename, 'utf8'),
+ filename.pathname,
+ { loader: 'jsx', format: 'cjs' },
+);
+
+// Exercise actual page callbacks and state transitions without a DOM or network.
+async function createHarness({
+ config = null,
+ load = async () => config,
+} = {}) {
+ const states = [];
+ const warnings = [];
+ const requests = [];
+ const messages = [];
+ const effects = [];
+ const pendingEffects = [];
+ let cursor = 0;
+ let mounting = true;
+ let tree;
+ let respond = async () => ({ saved: true });
+ const modules = {
+ react: {
+ ...React,
+ useEffect(callback, deps) {
+ const index = cursor++;
+ const previous = effects[index];
+ if (
+ !previous ||
+ deps.some((dep, i) => !Object.is(dep, previous.deps[i]))
+ ) {
+ pendingEffects.push(() => {
+ previous?.cleanup?.();
+ effects[index] = { deps, cleanup: callback() };
+ });
+ }
+ },
+ useRef(value) {
+ const index = cursor++;
+ if (mounting) states[index] = { current: value };
+ return states[index];
+ },
+ useState(initial) {
+ const index = cursor++;
+ if (mounting)
+ states[index] = typeof initial === 'function' ? initial() : initial;
+ return [
+ states[index],
+ (next) => {
+ states[index] =
+ typeof next === 'function' ? next(states[index]) : next;
+ },
+ ];
+ },
+ },
+ '@/components/ui': {
+ Spin: 'Spin',
+ Banner: 'Banner',
+ Button: 'Button',
+ Card: 'Card',
+ Divider: 'Divider',
+ Form: 'Form',
+ Tabs: Object.assign(() => {}, { TabPane: 'TabPane' }),
+ Typography: { Title: 'Title', Paragraph: 'Paragraph', Text: 'Text' },
+ Modal: { warning: (options) => warnings.push(options) },
+ },
+ 'react-i18next': {
+ useTranslation: () => ({
+ t: (value, options) =>
+ value.replace(/{{(\w+)}}/g, (_, key) => options?.[key] ?? ''),
+ }),
+ },
+ '../../helpers': Object.fromEntries(
+ ['showInfo', 'showError', 'showSuccess', 'showWarning'].map((name) => [
+ name,
+ (message) => messages.push({ name, message }),
+ ]),
+ ),
+ './model': model,
+ './WebsiteSettings.css': {},
+ './settingsApi': {
+ getWebsiteSettings: load,
+ saveWebsiteSettings: async (payload) => {
+ assert.equal(typeof payload, 'string');
+ requests.push(JSON.parse(payload));
+ return respond();
+ },
+ },
+ './WebsiteField': { default: 'WebsiteField', __esModule: true },
+ './QrCodeUpload': { default: 'QrCodeUpload', __esModule: true },
+ './InsightsPanel': { default: 'InsightsPanel', __esModule: true },
+ };
+ const module = { exports: {} };
+ runInNewContext(code, {
+ window: { addEventListener() {}, removeEventListener() {} },
+ exports: module.exports,
+ module,
+ require: (name) => {
+ assert.ok(modules[name], name);
+ return modules[name];
+ },
+ });
+ const render = () => {
+ cursor = 0;
+ tree = module.exports.default();
+ mounting = false;
+ pendingEffects.splice(0).forEach((effect) => effect());
+ return tree;
+ };
+ function all(node) {
+ if (Array.isArray(node)) return node.flatMap((child) => all(child));
+ if (!node || typeof node !== 'object') return [];
+ return [node, ...all(node.props?.children)];
+ }
+ const find = (type, predicate = () => true) =>
+ all(tree).find((node) => node.type === type && predicate(node.props));
+ const switchTab = (key) => {
+ find(modules['@/components/ui'].Tabs).props.onChange(key);
+ render();
+ };
+ render();
+ await new Promise(setImmediate);
+ render();
+ return {
+ render,
+ find,
+ switchTab,
+ warnings,
+ requests,
+ messages,
+ field: (name) => find('WebsiteField', (props) => props.name === name),
+ save: () => find('Form').props.onSubmit(),
+ setRespond: (next) => {
+ respond = next;
+ },
+ };
+}
+
+function fillAll(page) {
+ const values = {
+ paidCustomers: '300',
+ dailyTokens: '500亿',
+ costReduction: '20',
+ teamMembers: '50',
+ researchRatio: '60',
+ headquarters: '珠海',
+ serviceNetwork: '全国',
+ businessPhone: '13800138000',
+ businessEmail: 'sales@example.com',
+ wechatQrCode: 'https://cdn.example.com/qr.png',
+ address: ' 广州 ',
+ };
+ for (const tab of model.TABS) {
+ if (tab.key === 'insights') continue;
+ page.switchTab(tab.key);
+ for (const name of tab.fields) {
+ page.field(name).props.onChange(values[name]);
+ page.render();
+ }
+ }
+ page.switchTab('insights');
+ page.find('InsightsPanel').props.onChange({
+ categories: [{ id: 'news', name: '新闻' }],
+ articles: [
+ {
+ id: 'article-1',
+ title: 'News',
+ summary: 'Summary',
+ category: 'news',
+ date: '2026-11-10',
+ body: 'Content
',
+ related: [],
+ tag: '',
+ },
+ ],
+ });
+ page.switchTab('demo');
+}
+
+test('saving marks all fields inline and emits one ordered summary per hidden invalid tab', async () => {
+ const page = await createHarness();
+ page.switchTab('insights');
+ await page.save();
+ page.render();
+ assert.equal(page.requests.length, 0);
+ assert.equal(page.warnings.length, 0);
+ assert.deepEqual(
+ page.messages.map((item) => item.message),
+ ['请完善首页的配置', '请完善关于微词元的配置', '请完善预约演示的配置'],
+ );
+ page.switchTab('home');
+ assert.equal(page.field('paidCustomers').props.error, '请输入付费企业客户');
+ page.switchTab('demo');
+ assert.equal(page.field('wechatQrCode').props.error, '请上传企业微信二维码');
+});
+
+test('team count is shared across tabs and clear removes every value and error', async () => {
+ const page = await createHarness();
+ page.field('teamMembers').props.onChange('88');
+ page.switchTab('about');
+ assert.equal(page.field('teamMembers').props.value, '88');
+ await page.save();
+ page.render();
+ page.find('Button', (props) => props.children === '清空').props.onClick();
+ page.render();
+ for (const tab of model.TABS) {
+ page.switchTab(tab.key);
+ if (tab.key === 'insights') {
+ assert.equal(page.find('InsightsPanel').props.value.articles.length, 0);
+ assert.equal(page.find('InsightsPanel').props.error, undefined);
+ continue;
+ }
+ for (const name of tab.fields) {
+ assert.equal(page.field(name).props.value, '');
+ assert.equal(page.field(name).props.error, undefined);
+ }
+ }
+});
+
+test('submits all tabs in the documented groups and reports success after persistence', async () => {
+ const page = await createHarness();
+ fillAll(page);
+ await page.save();
+ assert.equal(page.requests.length, 1);
+ assert.equal(Object.keys(page.requests[0]).length, 4);
+ assert.equal(page.requests[0].demo.address, '广州');
+ assert.equal(page.requests[0].about.teamMembers, '50');
+ assert.ok(
+ page.messages.some(
+ (item) =>
+ item.name === 'showSuccess' && item.message === '官网设置已保存',
+ ),
+ );
+});
+
+test('upload in progress blocks saving and request failure preserves form contents', async () => {
+ const page = await createHarness();
+ fillAll(page);
+ page.find('QrCodeUpload').props.onBusyChange(true);
+ page.render();
+ await page.save();
+ assert.equal(page.requests.length, 0);
+ page.find('QrCodeUpload').props.onBusyChange(false);
+ page.render();
+ page.setRespond(async () => {
+ throw new Error('测试请求失败');
+ });
+ await page.save();
+ page.render();
+ assert.equal(page.field('address').props.value, ' 广州 ');
+ assert.ok(page.messages.some((item) => item.name === 'showError'));
+});
+
+test('insights configuration survives tab changes and is included in the single payload', async () => {
+ const page = await createHarness();
+ fillAll(page);
+ page.switchTab('insights');
+ const insights = {
+ categories: [{ id: 'news', name: '新闻' }],
+ articles: [
+ {
+ id: 'article-1',
+ title: 'News',
+ summary: 'Summary',
+ category: 'news',
+ date: '2026-11-10',
+ body: 'Content
',
+ related: [],
+ tag: '',
+ },
+ ],
+ };
+ page.find('InsightsPanel').props.onChange(insights);
+ page.switchTab('home');
+ page.switchTab('insights');
+ assert.deepEqual(page.find('InsightsPanel').props.value, insights);
+ await page.save();
+ assert.deepEqual(page.requests[0].insights, insights);
+});
+
+test('invalid hidden insights configuration emits a single summary and keeps the current tab', async () => {
+ const page = await createHarness();
+ fillAll(page);
+ page.switchTab('insights');
+ page
+ .find('InsightsPanel')
+ .props.onChange({ categories: [], articles: [{ id: 'invalid' }] });
+ page.switchTab('home');
+ await page.save();
+ assert.equal(page.requests.length, 0);
+ page.render();
+ assert.ok(page.field('paidCustomers'));
+ assert.deepEqual(
+ page.messages.map((item) => item.message),
+ ['请完善动态与洞察的配置'],
+ );
+ assert.equal(page.warnings.length, 0);
+ page.switchTab('insights');
+ assert.ok(page.find('InsightsPanel').props.error);
+});
+
+for (const activeTab of ['home', 'about', 'demo']) {
+ test(`saving empty ${activeTab} reports hidden tabs in navigation order`, async () => {
+ const page = await createHarness();
+ page.switchTab(activeTab);
+ await page.save();
+ page.render();
+ assert.equal(page.requests.length, 0);
+ assert.deepEqual(
+ page.messages.map((item) => item.message),
+ model.TABS.filter(
+ (tab) => tab.key !== activeTab && tab.key !== 'insights',
+ ).map((tab) => `请完善${tab.label}的配置`),
+ );
+ page.switchTab('insights');
+ assert.equal(page.find('InsightsPanel').props.error, undefined);
+ });
+
+ test(`saving ${activeTab} allows an empty article list and validates added articles`, async () => {
+ const page = await createHarness();
+ fillAll(page);
+ page.switchTab('insights');
+ page.find('InsightsPanel').props.onChange(model.emptySettings().insights);
+ page.switchTab(activeTab);
+ await page.save();
+ page.render();
+ assert.equal(page.requests.length, 1);
+ assert.deepEqual(page.requests[0].insights.articles, []);
+ assert.ok(
+ page.field(model.TABS.find((tab) => tab.key === activeTab).fields[0]),
+ );
+
+ page.switchTab('insights');
+ page.find('InsightsPanel').props.onChange({
+ categories: [{ id: 'news', name: '新闻' }],
+ articles: [
+ {
+ id: 'article-1',
+ title: 'News',
+ summary: 'Summary',
+ category: 'news',
+ date: '2026-11-10',
+ body: 'Content
',
+ related: [],
+ tag: '',
+ },
+ ],
+ });
+ page.switchTab(activeTab);
+ await page.save();
+ assert.equal(page.requests.length, 2);
+ });
+}
+
+test('home team preview shows the current research ratio after edits in about', async () => {
+ const page = await createHarness();
+ fillAll(page);
+ page.switchTab('home');
+ assert.equal(page.field('teamMembers').props.preview, '50+ · 研发占比 60%');
+ page.switchTab('about');
+ assert.equal(page.field('teamMembers').props.preview, undefined);
+ page.field('researchRatio').props.onChange('75');
+ page.switchTab('home');
+ assert.equal(page.field('teamMembers').props.preview, '50+ · 研发占比 75%');
+ page.switchTab('about');
+ page.field('researchRatio').props.onChange('');
+ page.switchTab('home');
+ assert.equal(
+ page.field('teamMembers').props.preview,
+ '50+ · 研发占比 未配置',
+ );
+ page.field('teamMembers').props.onChange('abc');
+ page.render();
+ assert.equal(page.field('teamMembers').props.preview, '');
+});
+
+test('only the active invalid tab uses inline messages without summary popups', async () => {
+ const page = await createHarness();
+ fillAll(page);
+ page.switchTab('home');
+ page.field('paidCustomers').props.onChange('');
+ page.render();
+ await page.save();
+ page.render();
+ assert.equal(page.field('paidCustomers').props.error, '请输入付费企业客户');
+ assert.equal(page.messages.length, 0);
+ assert.equal(page.requests.length, 0);
+});
+
+test('a shared invalid field still flags its hidden tab exactly once', async () => {
+ const page = await createHarness();
+ fillAll(page);
+ page.switchTab('home');
+ page.field('teamMembers').props.onChange('');
+ page.render();
+ await page.save();
+ assert.deepEqual(
+ page.messages.map((item) => item.message),
+ ['请完善关于微词元的配置'],
+ );
+});
+
+test('initial loading populates all tabs and saving retains root and grouped extension fields', async () => {
+ const config = {
+ insights: {
+ categories: [{ id: 'news', name: '新闻' }],
+ articles: [
+ {
+ id: 'article-1',
+ title: 'News',
+ summary: 'Summary',
+ category: 'news',
+ date: '2026-11-10',
+ body: 'Content
',
+ related: [],
+ tag: '',
+ },
+ ],
+ },
+ home: {
+ payingCustomers: '200',
+ dailyTokenCalls: '10亿',
+ monthlyAiCostReduction: '30',
+ extra: 'keep',
+ },
+ about: {
+ teamMembers: '100',
+ researchStaffRatio: '70',
+ headquarters: '深圳',
+ serviceNetwork: '全国',
+ },
+ demo: {
+ businessPhone: '0755-12345678',
+ businessEmail: 'demo@example.com',
+ wechatQrCode: 'https://cdn.example.com/qr.png',
+ address: '深圳地址',
+ },
+ extension: { version: 2 },
+ };
+ const page = await createHarness({ config });
+ assert.equal(page.field('paidCustomers').props.value, '200');
+ assert.equal(page.field('teamMembers').props.value, '100');
+ page.switchTab('about');
+ assert.equal(page.field('researchRatio').props.value, '70');
+ page.field('teamMembers').props.onChange('120');
+ page.switchTab('demo');
+ assert.equal(
+ page.field('wechatQrCode').props.value,
+ config.demo.wechatQrCode,
+ );
+ await page.save();
+ assert.equal(page.requests[0].about.teamMembers, '120');
+ assert.equal(page.requests[0].home.extra, 'keep');
+ assert.deepEqual(page.requests[0].extension, { version: 2 });
+});
+
+test('normal loaded state does not render the redundant unconfigured banner', async () => {
+ const page = await createHarness({ config: null });
+ assert.equal(
+ page.find('Banner', (props) =>
+ String(props.description).includes('官网尚未配置'),
+ ),
+ undefined,
+ );
+});
+
+test('failed initial loading shows an inline error without retry and blocks edits and saving', async () => {
+ const page = await createHarness({
+ load: async () => {
+ throw new Error('配置读取失败');
+ },
+ });
+ assert.equal(page.field('paidCustomers').props.disabled, true);
+ await page.save();
+ assert.equal(page.requests.length, 0);
+ assert.equal(page.find('Banner').props.description, '配置读取失败');
+ assert.equal(page.find('Banner').props.type, 'danger');
+ assert.equal(
+ page.find('Banner').props.className,
+ 'website-settings-load-error',
+ );
+ assert.equal(page.find('Banner').props.children, undefined);
+ assert.equal(
+ page.find('Button', (props) => props.children === '重新加载'),
+ undefined,
+ );
+});
+
+test('pending initial reads and duplicate save clicks never send unintended writes', async () => {
+ let resolveLoad;
+ const page = await createHarness({
+ load: () =>
+ new Promise((resolve) => {
+ resolveLoad = resolve;
+ }),
+ });
+ assert.equal(page.field('paidCustomers').props.disabled, true);
+ await page.save();
+ assert.equal(page.requests.length, 0);
+ resolveLoad(null);
+ await new Promise(setImmediate);
+ page.render();
+ fillAll(page);
+ let resolveSave;
+ page.setRespond(
+ () =>
+ new Promise((resolve) => {
+ resolveSave = resolve;
+ }),
+ );
+ const first = page.save();
+ await page.save();
+ assert.equal(page.requests.length, 1);
+ assert.equal(page.messages.length, 0);
+ resolveSave({ saved: true });
+ await first;
+ assert.equal(page.messages[0].name, 'showSuccess');
+});
diff --git a/test/unit/website-settings-rich-text-images.test.js b/test/unit/website-settings-rich-text-images.test.js
new file mode 100644
index 00000000..2d98cb06
--- /dev/null
+++ b/test/unit/website-settings-rich-text-images.test.js
@@ -0,0 +1,62 @@
+import assert from 'node:assert/strict';
+import test from 'node:test';
+import {
+ articleImageSource,
+ ARTICLE_IMAGE_LIMIT,
+} from '../../src/components/common/ui/richTextImages.js';
+import {
+ articleErrors,
+ emptyInsights,
+ newArticle,
+} from '../../src/pages/WebsiteSettings/insightsModel.js';
+import {
+ emptySettings,
+ serializeSettings,
+} from '../../src/pages/WebsiteSettings/model.js';
+
+const png =
+ 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO+jRZkAAAAASUVORK5CYII=';
+
+test('pasted images survive article validation and final JSON serialization without a cover field', () => {
+ const article = {
+ ...newArticle('company'),
+ id: 'pasted',
+ title: '图文粘贴',
+ summary: '摘要',
+ body: `图文标题
正文
`,
+ };
+ const insights = { ...emptyInsights(), articles: [article] };
+ assert.deepEqual(articleErrors(article, insights), {});
+ const restored = JSON.parse(
+ serializeSettings({ ...emptySettings(), insights }),
+ );
+ assert.equal(restored.insights.articles[0].body, article.body);
+ assert.equal('cover' in restored.insights.articles[0], false);
+});
+
+test('image sources accept public URLs and bounded raster data, rejecting unsafe or temporary sources', () => {
+ assert.equal(articleImageSource(png), png);
+ assert.equal(
+ articleImageSource('https://cdn.example.com/a.png'),
+ 'https://cdn.example.com/a.png',
+ );
+ for (const source of [
+ 'javascript:alert(1)',
+ 'blob:https://example.com/id',
+ '/private/a.png',
+ 'file:///tmp/a.png',
+ 'https://user:pass@example.com/a.png',
+ 'data:image/svg+xml;base64,PHN2Zz4=',
+ 'data:text/html;base64,AAAA',
+ 'data:image/png;base64,notbase64!',
+ ])
+ assert.equal(articleImageSource(source), '', source);
+ const maximum = 'A'.repeat(Math.ceil(ARTICLE_IMAGE_LIMIT / 3) * 4 - 1) + '=';
+ assert.ok(articleImageSource(`data:image/png;base64,${maximum}`));
+ assert.equal(
+ articleImageSource(
+ `data:image/png;base64,${'A'.repeat(maximum.length + 4)}`,
+ ),
+ '',
+ );
+});
diff --git a/test/unit/website-settings-rich-text-length.test.js b/test/unit/website-settings-rich-text-length.test.js
new file mode 100644
index 00000000..88c1e9b5
--- /dev/null
+++ b/test/unit/website-settings-rich-text-length.test.js
@@ -0,0 +1,71 @@
+import assert from 'node:assert/strict';
+import test from 'node:test';
+import Delta from 'quill-delta';
+import {
+ ARTICLE_BODY_LIMIT,
+ countArticleHtml,
+ countRichText,
+ limitRichTextChange,
+} from '../../src/components/common/ui/richTextLength.js';
+import {
+ articleErrors,
+ emptyInsights,
+ newArticle,
+} from '../../src/pages/WebsiteSettings/insightsModel.js';
+
+const bounded = (old, change) =>
+ old.compose(new Delta(limitRichTextChange(old, change, ARTICLE_BODY_LIMIT)));
+const text = (delta) =>
+ delta.ops
+ .map((op) => (typeof op.insert === 'string' ? op.insert : ''))
+ .join('');
+
+test('counts visible Unicode characters and entities, excluding whitespace, markup and images', () => {
+ assert.equal(countRichText('中 A😀\n\t'), 3);
+ assert.equal(
+ countArticleHtml(
+ '中 &😀
',
+ ),
+ 3,
+ );
+});
+
+test('typing and long paste respect the limit without deleting text after the caret', () => {
+ const old = new Delta().insert('甲'.repeat(19998) + '尾\n');
+ const next = bounded(old, new Delta().retain(19998).insert('新增文字'));
+ assert.equal(text(next), '甲'.repeat(19998) + '新尾\n');
+ assert.equal(countRichText(text(next)), 20000);
+ assert.deepEqual(bounded(next, new Delta().retain(20000).insert('多')), next);
+});
+
+test('selection replacement, deletion, formatting, emoji and images remain usable at the limit', () => {
+ const old = new Delta().insert('甲'.repeat(20000) + '\n');
+ const next = bounded(
+ old,
+ new Delta()
+ .retain(10)
+ .delete(2)
+ .insert('😀乙丙', { bold: true })
+ .insert({ image: 'https://example.com/a.png' }),
+ );
+ assert.equal(countRichText(text(next)), 20000);
+ assert.ok(text(next).includes('😀乙'));
+ assert.ok(next.ops.some((op) => op.insert.image));
+ assert.ok(next.ops.some((op) => op.attributes?.bold));
+ assert.equal(countRichText(text(bounded(old, new Delta().delete(1)))), 19999);
+});
+
+test('article validation accepts 20000 characters and blocks oversized existing drafts', () => {
+ const article = {
+ ...newArticle(),
+ title: '标题',
+ summary: '摘要',
+ body: `${'中'.repeat(20000)}
`,
+ };
+ assert.equal(articleErrors(article, emptyInsights()).body, undefined);
+ article.body = `${'中'.repeat(20001)}
`;
+ assert.equal(
+ articleErrors(article, emptyInsights()).body,
+ '文章正文不能超过 20000 字',
+ );
+});
diff --git a/tests/cloudBrainUiFlag.test.js b/tests/cloudBrainUiFlag.test.js
index 69f327e9..0cfc7031 100644
--- a/tests/cloudBrainUiFlag.test.js
+++ b/tests/cloudBrainUiFlag.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
diff --git a/tests/console-layout.test.js b/tests/console-layout.test.js
index 3a91a396..a08c676d 100644
--- a/tests/console-layout.test.js
+++ b/tests/console-layout.test.js
@@ -1,21 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
import assert from 'node:assert/strict';
import { readFileSync } from 'node:fs';
import test from 'node:test';
diff --git a/tests/environment.test.js b/tests/environment.test.js
index 5ea1c63d..5826b050 100644
--- a/tests/environment.test.js
+++ b/tests/environment.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import { mkdir, mkdtemp, readFile, writeFile, rm } from 'node:fs/promises';
import path from 'node:path';
diff --git a/tests/legacy-css-layers.test.js b/tests/legacy-css-layers.test.js
index 9f7167b6..edc9d100 100644
--- a/tests/legacy-css-layers.test.js
+++ b/tests/legacy-css-layers.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import test from 'node:test';
import vm from 'node:vm';
diff --git a/tests/legacy-polyfills.test.js b/tests/legacy-polyfills.test.js
index 20c9fd88..c953f59d 100644
--- a/tests/legacy-polyfills.test.js
+++ b/tests/legacy-polyfills.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import { readFileSync } from 'node:fs';
import test from 'node:test';
diff --git a/tests/modal-overflow.test.js b/tests/modal-overflow.test.js
index 90764e2b..3524225a 100644
--- a/tests/modal-overflow.test.js
+++ b/tests/modal-overflow.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import { readFileSync } from 'node:fs';
import test from 'node:test';
diff --git a/tests/org-prompt-records.test.js b/tests/org-prompt-records.test.js
index d1652f72..9ff5e4f4 100644
--- a/tests/org-prompt-records.test.js
+++ b/tests/org-prompt-records.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import { readFileSync } from 'node:fs';
import test from 'node:test';
diff --git a/tests/org-task-logs.test.js b/tests/org-task-logs.test.js
index c5c3ff3c..87de6d7c 100644
--- a/tests/org-task-logs.test.js
+++ b/tests/org-task-logs.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import { readFileSync } from 'node:fs';
import test from 'node:test';
diff --git a/tests/usage-billing-cache-creation.test.js b/tests/usage-billing-cache-creation.test.js
index ddb67290..56b27073 100644
--- a/tests/usage-billing-cache-creation.test.js
+++ b/tests/usage-billing-cache-creation.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
// 缓存创建按上游实际返回分三桶结算:明确的 5m、明确的 1h,以及上游只给总量没给分档、
// 按「默认档位」计价的未分档桶。界面上少露一桶,用户拿 token × 倍率就加不出账单金额。
//
diff --git a/tests/users-pagination.test.js b/tests/users-pagination.test.js
index ea079ec6..d471dab8 100644
--- a/tests/users-pagination.test.js
+++ b/tests/users-pagination.test.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import assert from 'node:assert/strict';
import { readFile } from 'node:fs/promises';
import { paginationEvents } from '../src/components/ui/pagination.js';
diff --git a/vite.config.js b/vite.config.js
index abde9367..514d342b 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -1,22 +1,3 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
import path from 'node:path';
import react from '@vitejs/plugin-react';
import { defineConfig, loadEnv, transformWithEsbuild } from 'vite';