RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
TS: more license declarations (#18081)
Jin Hai25b579ac6c41
diff --git a/web/src/assets/icon/next-icon.tsx b/web/src/assets/icon/next-icon.tsxindex acdd91079f..92cc6e8b58 100644--- a/web/src/assets/icon/next-icon.tsx+++ b/web/src/assets/icon/next-icon.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { cn } from '@/lib/utils';import Icon from '@ant-design/icons';import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';diff --git a/web/src/components/api-service/chat-api-key-modal/index.tsx b/web/src/components/api-service/chat-api-key-modal/index.tsxindex e597c9985e..d9c7964d20 100644--- a/web/src/components/api-service/chat-api-key-modal/index.tsx+++ b/web/src/components/api-service/chat-api-key-modal/index.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import CopyToClipboard from '@/components/copy-to-clipboard';import { Button } from '@/components/ui/button';import {diff --git a/web/src/components/api-service/chat-overview-modal/anchor.tsx b/web/src/components/api-service/chat-overview-modal/anchor.tsxindex ed6f13507e..c9bcee726c 100644--- a/web/src/components/api-service/chat-overview-modal/anchor.tsx+++ b/web/src/components/api-service/chat-overview-modal/anchor.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import React, { useSyncExternalStore } from 'react';export interface AnchorItem {diff --git a/web/src/components/api-service/chat-overview-modal/api-content.tsx b/web/src/components/api-service/chat-overview-modal/api-content.tsxindex 972ae40f0d..6a5758ea47 100644--- a/web/src/components/api-service/chat-overview-modal/api-content.tsx+++ b/web/src/components/api-service/chat-overview-modal/api-content.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { useIsDarkTheme } from '@/components/theme-provider';import { Button } from '@/components/ui/button';import { useSetModalState, useTranslate } from '@/hooks/common-hooks';diff --git a/web/src/components/api-service/chat-overview-modal/backend-service-api.tsx b/web/src/components/api-service/chat-overview-modal/backend-service-api.tsxindex 07a2811c99..deb3ae9553 100644--- a/web/src/components/api-service/chat-overview-modal/backend-service-api.tsx+++ b/web/src/components/api-service/chat-overview-modal/backend-service-api.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { Button } from '@/components/ui/button';import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card';diff --git a/web/src/components/api-service/chat-overview-modal/index.module.less b/web/src/components/api-service/chat-overview-modal/index.module.lessindex 3edd8f24dd..43e3714302 100644--- a/web/src/components/api-service/chat-overview-modal/index.module.less+++ b/web/src/components/api-service/chat-overview-modal/index.module.less@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+.chartWrapper {height: 40vh;overflow: auto;diff --git a/web/src/components/api-service/chat-overview-modal/markdown-toc.tsx b/web/src/components/api-service/chat-overview-modal/markdown-toc.tsxindex 4f06ab578f..bb659f90ea 100644--- a/web/src/components/api-service/chat-overview-modal/markdown-toc.tsx+++ b/web/src/components/api-service/chat-overview-modal/markdown-toc.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import React, { useEffect, useState } from 'react';import Anchor, { AnchorItem } from './anchor';diff --git a/web/src/components/api-service/chat-overview-modal/stats-chart.tsx b/web/src/components/api-service/chat-overview-modal/stats-chart.tsxindex c938c7cf2e..c9ebf2c3f4 100644--- a/web/src/components/api-service/chat-overview-modal/stats-chart.tsx+++ b/web/src/components/api-service/chat-overview-modal/stats-chart.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import LineChart from '@/components/line-chart';import { useTranslate } from '@/hooks/common-hooks';import { IStats } from '@/interfaces/database/chat';diff --git a/web/src/components/api-service/hooks.ts b/web/src/components/api-service/hooks.tsindex 922fc522e8..0bdbff52ef 100644--- a/web/src/components/api-service/hooks.ts+++ b/web/src/components/api-service/hooks.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import {useSetModalState,useShowDeleteConfirm,diff --git a/web/src/components/artifact-force-graph/index.tsx b/web/src/components/artifact-force-graph/index.tsxindex 94696b0dbe..df58384561 100644--- a/web/src/components/artifact-force-graph/index.tsx+++ b/web/src/components/artifact-force-graph/index.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { type IArtifactGraphEntity } from '@/interfaces/database/dataset';import { cn } from '@/lib/utils';import { memo, useCallback, useEffect, useMemo, useRef } from 'react';diff --git a/web/src/components/artifact-force-graph/node-label.ts b/web/src/components/artifact-force-graph/node-label.tsindex 8f41af3faa..fea48d9788 100644--- a/web/src/components/artifact-force-graph/node-label.ts+++ b/web/src/components/artifact-force-graph/node-label.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { type ComponentProps } from 'react';import ForceGraph2D from 'react-force-graph-2d';import { MinNodeRadius } from './node-style';diff --git a/web/src/components/artifact-force-graph/node-style.ts b/web/src/components/artifact-force-graph/node-style.tsindex e1410754bc..dbe17db797 100644--- a/web/src/components/artifact-force-graph/node-style.ts+++ b/web/src/components/artifact-force-graph/node-style.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { type IArtifactGraphEntity } from '@/interfaces/database/dataset';export const EntityNodeColor = '#00BEB4';diff --git a/web/src/components/artifact-force-graph/types.ts b/web/src/components/artifact-force-graph/types.tsindex 8d7114227e..a8e8eb7415 100644--- a/web/src/components/artifact-force-graph/types.ts+++ b/web/src/components/artifact-force-graph/types.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import {type IArtifactGraph,type IArtifactGraphEntity,diff --git a/web/src/components/artifact-force-graph/use-artifact-graph-data.ts b/web/src/components/artifact-force-graph/use-artifact-graph-data.tsindex 437cc2b18b..d8cf63212d 100644--- a/web/src/components/artifact-force-graph/use-artifact-graph-data.ts+++ b/web/src/components/artifact-force-graph/use-artifact-graph-data.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import {type IArtifactGraph,type IArtifactGraphEntity,diff --git a/web/src/components/artifact-force-graph/use-center-gravity.ts b/web/src/components/artifact-force-graph/use-center-gravity.tsindex 2de52d5a4c..d822dd9d74 100644--- a/web/src/components/artifact-force-graph/use-center-gravity.ts+++ b/web/src/components/artifact-force-graph/use-center-gravity.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { forceX, forceY } from 'd3-force';import { useEffect, type RefObject } from 'react';import { type ForceGraphMethods } from 'react-force-graph-2d';diff --git a/web/src/components/artifact-force-graph/use-container-dimensions.ts b/web/src/components/artifact-force-graph/use-container-dimensions.tsindex b263dc1b4a..455672cbec 100644--- a/web/src/components/artifact-force-graph/use-container-dimensions.ts+++ b/web/src/components/artifact-force-graph/use-container-dimensions.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { useEffect, useState, type RefObject } from 'react';export function useContainerDimensions(diff --git a/web/src/components/artifact-force-graph/use-graph-highlight.ts b/web/src/components/artifact-force-graph/use-graph-highlight.tsindex a162b8d471..3a6b93eafa 100644--- a/web/src/components/artifact-force-graph/use-graph-highlight.ts+++ b/web/src/components/artifact-force-graph/use-graph-highlight.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { useCallback, useMemo, useState, type ComponentProps } from 'react';import ForceGraph2D from 'react-force-graph-2d';import { renderNodeLabel } from './node-label';diff --git a/web/src/components/artifact-force-graph/utils.ts b/web/src/components/artifact-force-graph/utils.tsindex ff782f9781..6c0f93db01 100644--- a/web/src/components/artifact-force-graph/utils.ts+++ b/web/src/components/artifact-force-graph/utils.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { type IArtifactGraphEntity } from '@/interfaces/database/dataset';export const defaultMapNodeToValue = <TNode extends IArtifactGraphEntity>(diff --git a/web/src/components/auto-keywords-form-field.tsx b/web/src/components/auto-keywords-form-field.tsxindex 7b55dcac5f..fcd64fad74 100644--- a/web/src/components/auto-keywords-form-field.tsx+++ b/web/src/components/auto-keywords-form-field.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { FormLayout } from '@/constants/form';import { useTranslate } from '@/hooks/common-hooks';import { SliderInputFormField } from './slider-input-form-field';diff --git a/web/src/components/avatar-name-description/editable-field.tsx b/web/src/components/avatar-name-description/editable-field.tsxindex 08b52459e4..a1e6873a6a 100644--- a/web/src/components/avatar-name-description/editable-field.tsx+++ b/web/src/components/avatar-name-description/editable-field.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+'use client';import { RAGFlowFormItem } from '@/components/ragflow-form';diff --git a/web/src/components/avatar-name-description/editable-textarea.tsx b/web/src/components/avatar-name-description/editable-textarea.tsxindex cf15719f7a..9d54a2f8f6 100644--- a/web/src/components/avatar-name-description/editable-textarea.tsx+++ b/web/src/components/avatar-name-description/editable-textarea.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+'use client';import { RAGFlowFormItem } from '@/components/ragflow-form';diff --git a/web/src/components/avatar-name-description/index.tsx b/web/src/components/avatar-name-description/index.tsxindex 791ebb263b..750062a3d1 100644--- a/web/src/components/avatar-name-description/index.tsx+++ b/web/src/components/avatar-name-description/index.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+'use client';import { AvatarUpload } from '@/components/avatar-upload';diff --git a/web/src/components/avatar-name-description/use-editable-field.ts b/web/src/components/avatar-name-description/use-editable-field.tsindex 8e36904f03..bbd4d3fe19 100644--- a/web/src/components/avatar-name-description/use-editable-field.ts+++ b/web/src/components/avatar-name-description/use-editable-field.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+'use client';import { useCallback, useEffect, useRef, useState } from 'react';diff --git a/web/src/components/avatar-upload.tsx b/web/src/components/avatar-upload.tsxindex 76f239efa6..b98408b084 100644--- a/web/src/components/avatar-upload.tsx+++ b/web/src/components/avatar-upload.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { combineRefs } from '@/lib/utils';import { transformFile2Base64 } from '@/utils/file-util';import { LucidePencil, LucidePlus, LucideX } from 'lucide-react';diff --git a/web/src/components/back-button/index.tsx b/web/src/components/back-button/index.tsxindex 7b868edf2c..47f80f299d 100644--- a/web/src/components/back-button/index.tsx+++ b/web/src/components/back-button/index.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { cn } from '@/lib/utils';import { t } from 'i18next';import { ArrowBigLeft } from 'lucide-react';diff --git a/web/src/components/bool-segmented.tsx b/web/src/components/bool-segmented.tsxindex 3d84e38a7c..3ca2900693 100644--- a/web/src/components/bool-segmented.tsx+++ b/web/src/components/bool-segmented.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { omit } from 'lodash';import { Segmented, SegmentedProps } from './ui/segmented';diff --git a/web/src/components/builtin-pipeline-form-field.tsx b/web/src/components/builtin-pipeline-form-field.tsxindex 75b0495b5a..642d0c7adb 100644--- a/web/src/components/builtin-pipeline-form-field.tsx+++ b/web/src/components/builtin-pipeline-form-field.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { SelectWithSearch } from '@/components/originui/select-with-search';import {FormControl,diff --git a/web/src/components/bulk-operate-bar.tsx b/web/src/components/bulk-operate-bar.tsxindex 8ba2ab8c4f..8e8620fa89 100644--- a/web/src/components/bulk-operate-bar.tsx+++ b/web/src/components/bulk-operate-bar.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { Button } from '@/components/ui/button';import { Card, CardContent } from '@/components/ui/card';import { BrushCleaning } from 'lucide-react';diff --git a/web/src/components/canvas/background.tsx b/web/src/components/canvas/background.tsxindex 1ae99ac76a..c7ff80c6d2 100644--- a/web/src/components/canvas/background.tsx+++ b/web/src/components/canvas/background.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { Background } from '@xyflow/react';export function AgentBackground() {diff --git a/web/src/components/card-container.tsx b/web/src/components/card-container.tsxindex 63fe8f948c..9f79dbedb1 100644--- a/web/src/components/card-container.tsx+++ b/web/src/components/card-container.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { cn } from '@/lib/utils';import { PropsWithChildren } from 'react';diff --git a/web/src/components/card-singleline-container/index.less b/web/src/components/card-singleline-container/index.lessindex 8c38817730..fd97eabf38 100644--- a/web/src/components/card-singleline-container/index.less+++ b/web/src/components/card-singleline-container/index.less@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+.single :nth-child(n + 2):not(:last-child) {display: none;}diff --git a/web/src/components/card-singleline-container/index.tsx b/web/src/components/card-singleline-container/index.tsxindex f5e8e232d1..7833287d25 100644--- a/web/src/components/card-singleline-container/index.tsx+++ b/web/src/components/card-singleline-container/index.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { cn } from '@/lib/utils';import { PropsWithChildren } from 'react';import './index.less';diff --git a/web/src/components/children-delimiter-form.tsx b/web/src/components/children-delimiter-form.tsxindex 9ba76e1001..096b30d97d 100644--- a/web/src/components/children-delimiter-form.tsx+++ b/web/src/components/children-delimiter-form.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { cn } from '@/lib/utils';import { forwardRef } from 'react';import { useFormContext } from 'react-hook-form';diff --git a/web/src/components/chunk-method-dialog/dynamic-page-range.tsx b/web/src/components/chunk-method-dialog/dynamic-page-range.tsxindex 6775d38a26..97382fbef0 100644--- a/web/src/components/chunk-method-dialog/dynamic-page-range.tsx+++ b/web/src/components/chunk-method-dialog/dynamic-page-range.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+'use client';import { Button } from '@/components/ui/button';diff --git a/web/src/components/chunk-method-dialog/hooks.ts b/web/src/components/chunk-method-dialog/hooks.tsindex ef24872f2a..f53c9af200 100644--- a/web/src/components/chunk-method-dialog/hooks.ts+++ b/web/src/components/chunk-method-dialog/hooks.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { useCallback } from 'react';const hideAutoKeywords = ['qa', 'table', 'resume', 'knowledge_graph', 'tag'];diff --git a/web/src/components/chunk-method-dialog/index.tsx b/web/src/components/chunk-method-dialog/index.tsxindex 258c122313..0474a12435 100644--- a/web/src/components/chunk-method-dialog/index.tsx+++ b/web/src/components/chunk-method-dialog/index.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import {Dialog,DialogContent,diff --git a/web/src/components/chunk-method-dialog/use-default-parser-values.ts b/web/src/components/chunk-method-dialog/use-default-parser-values.tsindex b80d80b902..76cdfbbae5 100644--- a/web/src/components/chunk-method-dialog/use-default-parser-values.ts+++ b/web/src/components/chunk-method-dialog/use-default-parser-values.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { IParserConfig } from '@/interfaces/database/document';import { useCallback, useMemo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/web/src/components/collapse.tsx b/web/src/components/collapse.tsxindex 878709bb92..a2cdee097d 100644--- a/web/src/components/collapse.tsx+++ b/web/src/components/collapse.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import {Collapsible,CollapsibleContent,diff --git a/web/src/components/compilation-template-form-field.tsx b/web/src/components/compilation-template-form-field.tsxindex 8369e5ef53..56dedad75e 100644--- a/web/src/components/compilation-template-form-field.tsx+++ b/web/src/components/compilation-template-form-field.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { RAGFlowFormItem } from '@/components/ragflow-form';import { useCompilationTemplateGroupOptions } from '@/hooks/use-compilation-template-group-request';import { useNavigatePage } from '@/hooks/logic-hooks/navigate-hooks';diff --git a/web/src/components/confirm-delete-dialog.tsx b/web/src/components/confirm-delete-dialog.tsxindex d090217061..baabafe19b 100644--- a/web/src/components/confirm-delete-dialog.tsx+++ b/web/src/components/confirm-delete-dialog.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import {AlertDialog,AlertDialogAction,diff --git a/web/src/components/copy-to-clipboard.tsx b/web/src/components/copy-to-clipboard.tsxindex 62c7363885..548b4486d9 100644--- a/web/src/components/copy-to-clipboard.tsx+++ b/web/src/components/copy-to-clipboard.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { useTranslate } from '@/hooks/common-hooks';import { cn } from '@/lib/utils';import { LucideCheck, LucideCopy } from 'lucide-react';diff --git a/web/src/components/cross-language-form-field.tsx b/web/src/components/cross-language-form-field.tsxindex 6465e7c57a..f2f9734bbb 100644--- a/web/src/components/cross-language-form-field.tsx+++ b/web/src/components/cross-language-form-field.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import {FormControl,FormField,diff --git a/web/src/components/data-pipeline-select/index.tsx b/web/src/components/data-pipeline-select/index.tsxindex ee6322829b..27610044ce 100644--- a/web/src/components/data-pipeline-select/index.tsx+++ b/web/src/components/data-pipeline-select/index.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { AgentCategory } from '@/constants/agent';import { FormLayout } from '@/constants/form';import { useTranslate } from '@/hooks/common-hooks';diff --git a/web/src/components/dataset-configuration-container.tsx b/web/src/components/dataset-configuration-container.tsxindex 84aecc2194..95c23c3366 100644--- a/web/src/components/dataset-configuration-container.tsx+++ b/web/src/components/dataset-configuration-container.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { cn } from '@/lib/utils';import { PropsWithChildren } from 'react';diff --git a/web/src/components/delimiter-form-field.tsx b/web/src/components/delimiter-form-field.tsxindex 7fe6df8938..77118bc8d3 100644--- a/web/src/components/delimiter-form-field.tsx+++ b/web/src/components/delimiter-form-field.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { cn } from '@/lib/utils';import { forwardRef } from 'react';import { useFormContext } from 'react-hook-form';diff --git a/web/src/components/delimiter-preview.tsx b/web/src/components/delimiter-preview.tsxindex 605c1282a9..97fc95cd1f 100644--- a/web/src/components/delimiter-preview.tsx+++ b/web/src/components/delimiter-preview.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { useTranslation } from 'react-i18next';import { Badge } from './ui/badge';diff --git a/web/src/components/document-download-button/index.tsx b/web/src/components/document-download-button/index.tsxindex 9288b060f4..de54cf4195 100644--- a/web/src/components/document-download-button/index.tsx+++ b/web/src/components/document-download-button/index.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { Button } from '@/components/ui/button';import { IDocumentDownloadInfo } from '@/interfaces/database/chat';import { downloadAgentFile } from '@/services/file-manager-service';diff --git a/web/src/components/document-pipeline-dialog/index.tsx b/web/src/components/document-pipeline-dialog/index.tsxindex 6c330a082c..921c742eb3 100644--- a/web/src/components/document-pipeline-dialog/index.tsx+++ b/web/src/components/document-pipeline-dialog/index.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { BuiltinPipelineItem } from '@/components/builtin-pipeline-form-field';import { DataFlowSelect } from '@/components/data-pipeline-select';import { ParseTypeItem } from '@/components/parse-type-form-field';diff --git a/web/src/components/document-pipeline-dialog/use-document-pipeline-form.ts b/web/src/components/document-pipeline-dialog/use-document-pipeline-form.tsindex b6cd362c74..b1641e0706 100644--- a/web/src/components/document-pipeline-dialog/use-document-pipeline-form.ts+++ b/web/src/components/document-pipeline-dialog/use-document-pipeline-form.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { ParseType } from '@/constants/knowledge';import {useActiveTab,diff --git a/web/src/components/document-preview/csv-preview.tsx b/web/src/components/document-preview/csv-preview.tsxindex fa1cf1ed87..66e27b1b17 100644--- a/web/src/components/document-preview/csv-preview.tsx+++ b/web/src/components/document-preview/csv-preview.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import message from '@/components/ui/message';import { Spin } from '@/components/ui/spin';import request from '@/utils/request';diff --git a/web/src/components/document-preview/doc-preview.tsx b/web/src/components/document-preview/doc-preview.tsxindex af876dce7d..8176d26263 100644--- a/web/src/components/document-preview/doc-preview.tsx+++ b/web/src/components/document-preview/doc-preview.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import message from '@/components/ui/message';import { Spin } from '@/components/ui/spin';import request from '@/utils/request';diff --git a/web/src/components/document-preview/document-header.tsx b/web/src/components/document-preview/document-header.tsxindex 22f71ebfb9..89c872558c 100644--- a/web/src/components/document-preview/document-header.tsx+++ b/web/src/components/document-preview/document-header.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { formatDate } from '@/utils/date';import { formatBytes } from '@/utils/file-util';import { PropsWithChildren } from 'react';diff --git a/web/src/components/document-preview/excel-preview.tsx b/web/src/components/document-preview/excel-preview.tsxindex 252eb38acc..f336cf3403 100644--- a/web/src/components/document-preview/excel-preview.tsx+++ b/web/src/components/document-preview/excel-preview.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+// import { useFetchExcel } from '@/pages/document-viewer/hooks';import classNames from 'classnames';import { useFetchExcel } from './hooks';diff --git a/web/src/components/document-preview/hooks.ts b/web/src/components/document-preview/hooks.tsindex c83238c9d1..c9de96234a 100644--- a/web/src/components/document-preview/hooks.ts+++ b/web/src/components/document-preview/hooks.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { Authorization } from '@/constants/authorization';import { useGetKnowledgeSearchParams } from '@/hooks/route-hook';import { useGetPipelineResultSearchParams } from '@/pages/dataflow-result/hooks';diff --git a/web/src/components/document-preview/image-preview.tsx b/web/src/components/document-preview/image-preview.tsxindex 484d716e33..d5528b9e9b 100644--- a/web/src/components/document-preview/image-preview.tsx+++ b/web/src/components/document-preview/image-preview.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import message from '@/components/ui/message';import { Spin } from '@/components/ui/spin';import { Authorization } from '@/constants/authorization';diff --git a/web/src/components/document-preview/index.tsx b/web/src/components/document-preview/index.tsxindex eeebfc3cfa..de3361fc62 100644--- a/web/src/components/document-preview/index.tsx+++ b/web/src/components/document-preview/index.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { memo } from 'react';import { Images } from '@/constants/common';diff --git a/web/src/components/document-preview/md/index.tsx b/web/src/components/document-preview/md/index.tsxindex 5f4bdbe05e..63854ee158 100644--- a/web/src/components/document-preview/md/index.tsx+++ b/web/src/components/document-preview/md/index.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import message from '@/components/ui/message';import { Spin } from '@/components/ui/spin';import { MarkdownRemarkPluginsLite } from '@/constants/markdown-remark-plugins';diff --git a/web/src/components/document-preview/pdf-preview.tsx b/web/src/components/document-preview/pdf-preview.tsxindex 7c48ea0325..d470ad2a9f 100644--- a/web/src/components/document-preview/pdf-preview.tsx+++ b/web/src/components/document-preview/pdf-preview.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { memo, useEffect, useRef } from 'react';import {AreaHighlight,diff --git a/web/src/components/document-preview/ppt-preview.tsx b/web/src/components/document-preview/ppt-preview.tsxindex f6ac8e9886..fdceb8885d 100644--- a/web/src/components/document-preview/ppt-preview.tsx+++ b/web/src/components/document-preview/ppt-preview.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import message from '@/components/ui/message';import request from '@/utils/request';import classNames from 'classnames';diff --git a/web/src/components/document-preview/txt-preview.tsx b/web/src/components/document-preview/txt-preview.tsxindex b07ad85c2f..53ff5235e0 100644--- a/web/src/components/document-preview/txt-preview.tsx+++ b/web/src/components/document-preview/txt-preview.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import message from '@/components/ui/message';import { Spin } from '@/components/ui/spin';import request from '@/utils/request';diff --git a/web/src/components/document-preview/video-preview.tsx b/web/src/components/document-preview/video-preview.tsxindex 2b21ed528a..63d64c765f 100644--- a/web/src/components/document-preview/video-preview.tsx+++ b/web/src/components/document-preview/video-preview.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import message from '@/components/ui/message';import { Spin } from '@/components/ui/spin';import request from '@/utils/request';diff --git a/web/src/components/dynamic-form.tsx b/web/src/components/dynamic-form.tsxindex 3fe1d2b4b2..d82599117f 100644--- a/web/src/components/dynamic-form.tsx+++ b/web/src/components/dynamic-form.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { zodResolver } from '@hookform/resolvers/zod';import {forwardRef,diff --git a/web/src/components/edit-tag/index.tsx b/web/src/components/edit-tag/index.tsxindex 06624ff425..ec26b612f5 100644--- a/web/src/components/edit-tag/index.tsx+++ b/web/src/components/edit-tag/index.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { PlusOutlined } from '@ant-design/icons';import React, { useEffect, useRef, useState } from 'react';diff --git a/web/src/components/embed-container.tsx b/web/src/components/embed-container.tsxindex 6355ad8a43..6d31384d68 100644--- a/web/src/components/embed-container.tsx+++ b/web/src/components/embed-container.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { useFetchAppConf } from '@/hooks/logic-hooks';import { RefreshCcw } from 'lucide-react';import { PropsWithChildren } from 'react';diff --git a/web/src/components/embed-dialog/index.tsx b/web/src/components/embed-dialog/index.tsxindex dbb45df247..34cfe3e960 100644--- a/web/src/components/embed-dialog/index.tsx+++ b/web/src/components/embed-dialog/index.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import CopyToClipboard from '@/components/copy-to-clipboard';import { SelectWithSearch } from '@/components/originui/select-with-search';import { Button, ButtonLoading } from '@/components/ui/button';diff --git a/web/src/components/embed-dialog/use-show-embed-dialog.ts b/web/src/components/embed-dialog/use-show-embed-dialog.tsindex ef3eda566b..5951c2f3ac 100644--- a/web/src/components/embed-dialog/use-show-embed-dialog.ts+++ b/web/src/components/embed-dialog/use-show-embed-dialog.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { useSetModalState, useTranslate } from '@/hooks/common-hooks';import { useFetchManualSystemTokenList } from '@/hooks/use-user-setting-request';import { useCallback } from 'react';diff --git a/web/src/components/empty/constant.tsx b/web/src/components/empty/constant.tsxindex 9c24350878..f3631c1830 100644--- a/web/src/components/empty/constant.tsx+++ b/web/src/components/empty/constant.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { HomeIcon } from '../svg-icon';export enum EmptyType {diff --git a/web/src/components/empty/empty.tsx b/web/src/components/empty/empty.tsxindex 9b4b507c36..e27da50ffb 100644--- a/web/src/components/empty/empty.tsx+++ b/web/src/components/empty/empty.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { cn } from '@/lib/utils';import { t } from 'i18next';import { useIsDarkTheme } from '../theme-provider';diff --git a/web/src/components/empty/interface.ts b/web/src/components/empty/interface.tsindex 87b7531289..2f0cec414d 100644--- a/web/src/components/empty/interface.ts+++ b/web/src/components/empty/interface.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { EmptyType } from './constant';export type EmptyProps = {diff --git a/web/src/components/entity-types-form-field.tsx b/web/src/components/entity-types-form-field.tsxindex 6838ce8ac1..96acc71484 100644--- a/web/src/components/entity-types-form-field.tsx+++ b/web/src/components/entity-types-form-field.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { useTranslate } from '@/hooks/common-hooks';import { useFormContext } from 'react-hook-form';import EditTag from './edit-tag';diff --git a/web/src/components/excel-to-html-form-field.tsx b/web/src/components/excel-to-html-form-field.tsxindex 7e4bca3032..7258038657 100644--- a/web/src/components/excel-to-html-form-field.tsx+++ b/web/src/components/excel-to-html-form-field.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { useTranslate } from '@/hooks/common-hooks';import { useFormContext } from 'react-hook-form';import {diff --git a/web/src/components/expandable-search-input.tsx b/web/src/components/expandable-search-input.tsxindex 3b2d3990eb..ec41fa2232 100644--- a/web/src/components/expandable-search-input.tsx+++ b/web/src/components/expandable-search-input.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { Button } from '@/components/ui/button';import { SearchInput } from '@/components/ui/input';import { cn } from '@/lib/utils';diff --git a/web/src/components/fallback-component/index.tsx b/web/src/components/fallback-component/index.tsxindex 7f4f1b7955..1515489530 100644--- a/web/src/components/fallback-component/index.tsx+++ b/web/src/components/fallback-component/index.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import React from 'react';import { useTranslation } from 'react-i18next';import { isRouteErrorResponse, useRouteError } from 'react-router';diff --git a/web/src/components/feedback-dialog.tsx b/web/src/components/feedback-dialog.tsxindex 7b39dbc484..0574c88268 100644--- a/web/src/components/feedback-dialog.tsx+++ b/web/src/components/feedback-dialog.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { IModalProps } from '@/interfaces/common';import { IFeedbackRequestBody } from '@/interfaces/request/chat';import { zodResolver } from '@hookform/resolvers/zod';diff --git a/web/src/components/file-icon/index.module.less b/web/src/components/file-icon/index.module.lessindex 47718cd03e..57621b71d4 100644--- a/web/src/components/file-icon/index.module.less+++ b/web/src/components/file-icon/index.module.less@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+.thumbnailImg {display: inline-block;max-width: 20px;diff --git a/web/src/components/file-icon/index.tsx b/web/src/components/file-icon/index.tsxindex 42da7d3ed6..1289298afe 100644--- a/web/src/components/file-icon/index.tsx+++ b/web/src/components/file-icon/index.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { getExtension } from '@/utils/document-util';import SvgIcon from '../svg-icon';diff --git a/web/src/components/file-status-badge.tsx b/web/src/components/file-status-badge.tsxindex 83e707059b..78d6d33353 100644--- a/web/src/components/file-status-badge.tsx+++ b/web/src/components/file-status-badge.tsx@@ -1,3 +1,19 @@++/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */// src/pages/dataset/file-logs/file-status-badge.tsximport {RunningStatus,diff --git a/web/src/components/file-upload-dialog/index.tsx b/web/src/components/file-upload-dialog/index.tsxindex 4f8beb1c82..a82d5a185c 100644--- a/web/src/components/file-upload-dialog/index.tsx+++ b/web/src/components/file-upload-dialog/index.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { ButtonLoading } from '@/components/ui/button';import {Dialog,diff --git a/web/src/components/floating-chat-widget-markdown.module.less b/web/src/components/floating-chat-widget-markdown.module.lessindex fca432a97e..5de0ac3af5 100644--- a/web/src/components/floating-chat-widget-markdown.module.less+++ b/web/src/components/floating-chat-widget-markdown.module.less@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+/* floating-chat-widget-markdown.less */.widget-citation-popover {diff --git a/web/src/components/floating-chat-widget-markdown.tsx b/web/src/components/floating-chat-widget-markdown.tsxindex cbbb7bdc6a..142fe4eba4 100644--- a/web/src/components/floating-chat-widget-markdown.tsx+++ b/web/src/components/floating-chat-widget-markdown.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import Image, { AuthenticatedImg } from '@/components/image';import SvgIcon from '@/components/svg-icon';diff --git a/web/src/components/floating-chat-widget.tsx b/web/src/components/floating-chat-widget.tsxindex 3e71367b76..3d6a5635e4 100644--- a/web/src/components/floating-chat-widget.tsx+++ b/web/src/components/floating-chat-widget.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import CopyToClipboard from '@/components/copy-to-clipboard';import PdfSheet from '@/components/pdf-drawer';import { useClickDrawer } from '@/components/pdf-drawer/hooks';diff --git a/web/src/components/form-container.tsx b/web/src/components/form-container.tsxindex d0c8f78ddd..8741c3374e 100644--- a/web/src/components/form-container.tsx+++ b/web/src/components/form-container.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { cn } from '@/lib/utils';import { PropsWithChildren } from 'react';diff --git a/web/src/components/generate-log-button.tsx b/web/src/components/generate-log-button.tsxindex 57f7e5dacb..1b1f17bd06 100644--- a/web/src/components/generate-log-button.tsx+++ b/web/src/components/generate-log-button.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { Button } from '@/components/ui/button';import { Modal } from '@/components/ui/modal/modal';import { GenerateType, GenerateTypeMap } from '@/constants/knowledge';diff --git a/web/src/components/highlight-markdown/index.module.less b/web/src/components/highlight-markdown/index.module.lessindex a250e4a1c2..5a27e53dbc 100644--- a/web/src/components/highlight-markdown/index.module.less+++ b/web/src/components/highlight-markdown/index.module.less@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+.text {.chunkText;font-size: 16px;diff --git a/web/src/components/highlight-markdown/index.tsx b/web/src/components/highlight-markdown/index.tsxindex 0aebe43e5d..71c3a26885 100644--- a/web/src/components/highlight-markdown/index.tsx+++ b/web/src/components/highlight-markdown/index.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { MarkdownRemarkPlugins } from '@/constants/markdown-remark-plugins';import classNames from 'classnames';import Markdown from 'react-markdown';diff --git a/web/src/components/home-card.tsx b/web/src/components/home-card.tsxindex 3bbab828ec..48296f1cd1 100644--- a/web/src/components/home-card.tsx+++ b/web/src/components/home-card.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { RAGFlowAvatar } from '@/components/ragflow-avatar';import { TruncatedText } from '@/components/truncated-text';import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card';diff --git a/web/src/components/hooks/use-mobile.tsx b/web/src/components/hooks/use-mobile.tsxindex 821f8ff4aa..54c2add8bb 100644--- a/web/src/components/hooks/use-mobile.tsx+++ b/web/src/components/hooks/use-mobile.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import * as React from 'react';const MOBILE_BREAKPOINT = 768;diff --git a/web/src/components/hooks/use-toast.tsx b/web/src/components/hooks/use-toast.tsxindex 2856df6caa..2307169e38 100644--- a/web/src/components/hooks/use-toast.tsx+++ b/web/src/components/hooks/use-toast.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+'use client';// Inspired by react-hot-toast librarydiff --git a/web/src/components/icon-font.tsx b/web/src/components/icon-font.tsxindex fc48e53d79..8cc2c8a853 100644--- a/web/src/components/icon-font.tsx+++ b/web/src/components/icon-font.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { FileIconMap } from '@/constants/file';import { cn } from '@/lib/utils';import { getExtension } from '@/utils/document-util';diff --git a/web/src/components/image/index.tsx b/web/src/components/image/index.tsxindex b0d252926c..cb9e2043ae 100644--- a/web/src/components/image/index.tsx+++ b/web/src/components/image/index.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { Authorization } from '@/constants/authorization';import { restAPIv1 } from '@/utils/api';import { getAuthorization } from '@/utils/authorization-util';diff --git a/web/src/components/indented-tree/indented-tree.tsx b/web/src/components/indented-tree/indented-tree.tsxindex 318a8f0268..6b455f6eec 100644--- a/web/src/components/indented-tree/indented-tree.tsx+++ b/web/src/components/indented-tree/indented-tree.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { Graph as G6Graph, treeToGraphData } from '@antv/g6';import { useEffect, useMemo, useRef } from 'react';diff --git a/web/src/components/key-input.tsx b/web/src/components/key-input.tsxindex 788e4cfe3a..d170336257 100644--- a/web/src/components/key-input.tsx+++ b/web/src/components/key-input.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { Input, InputProps } from '@/components/ui/input';import { ChangeEvent, forwardRef, useCallback } from 'react';diff --git a/web/src/components/knowledge-base-item.tsx b/web/src/components/knowledge-base-item.tsxindex 311b3d99ca..3e96698575 100644--- a/web/src/components/knowledge-base-item.tsx+++ b/web/src/components/knowledge-base-item.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { DocumentParserType } from '@/constants/knowledge';import {useFetchDatasetsByIds,diff --git a/web/src/components/large-model-form-field.tsx b/web/src/components/large-model-form-field.tsxindex f5040f84dc..8101f5077f 100644--- a/web/src/components/large-model-form-field.tsx+++ b/web/src/components/large-model-form-field.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import {DropdownMenu,DropdownMenuContent,diff --git a/web/src/components/layout-recognize-form-field.tsx b/web/src/components/layout-recognize-form-field.tsxindex 907eeed3c2..edfff7ceb5 100644--- a/web/src/components/layout-recognize-form-field.tsx+++ b/web/src/components/layout-recognize-form-field.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { useTranslate } from '@/hooks/common-hooks';import { useFetchAllAddedModels } from '@/hooks/use-llm-request';import { cn } from '@/lib/utils';diff --git a/web/src/components/line-chart/index.tsx b/web/src/components/line-chart/index.tsxindex 993b92008f..e9e30e37d3 100644--- a/web/src/components/line-chart/index.tsx+++ b/web/src/components/line-chart/index.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import {CartesianGrid,Legend,diff --git a/web/src/components/list-filter-bar/filter-field.tsx b/web/src/components/list-filter-bar/filter-field.tsxindex 6d80936478..b2066b9943 100644--- a/web/src/components/list-filter-bar/filter-field.tsx+++ b/web/src/components/list-filter-bar/filter-field.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { Checkbox } from '@/components/ui/checkbox';import { ChevronDown, ChevronUp } from 'lucide-react';import { memo, useState } from 'react';diff --git a/web/src/components/list-filter-bar/filter-popover.tsx b/web/src/components/list-filter-bar/filter-popover.tsxindex 026437a428..a870e50b0b 100644--- a/web/src/components/list-filter-bar/filter-popover.tsx+++ b/web/src/components/list-filter-bar/filter-popover.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import {Popover,PopoverContent,diff --git a/web/src/components/list-filter-bar/index.tsx b/web/src/components/list-filter-bar/index.tsxindex 9a2206e4c6..2f80d8f41d 100644--- a/web/src/components/list-filter-bar/index.tsx+++ b/web/src/components/list-filter-bar/index.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { cn } from '@/lib/utils';import { Funnel } from 'lucide-react';import React, {diff --git a/web/src/components/list-filter-bar/interface.ts b/web/src/components/list-filter-bar/interface.tsindex 0634520eb7..60eb6289d0 100644--- a/web/src/components/list-filter-bar/interface.ts+++ b/web/src/components/list-filter-bar/interface.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+export type FilterType = {id: string;field?: string;diff --git a/web/src/components/list-filter-bar/use-handle-filter-submit.ts b/web/src/components/list-filter-bar/use-handle-filter-submit.tsindex 515a108959..aa3ec41304 100644--- a/web/src/components/list-filter-bar/use-handle-filter-submit.ts+++ b/web/src/components/list-filter-bar/use-handle-filter-submit.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { useGetPaginationWithRouter } from '@/hooks/logic-hooks';import { useCallback, useState } from 'react';import {diff --git a/web/src/components/llm-select/index.less b/web/src/components/llm-select/index.lessindex 341768ae13..89243a9bd1 100644--- a/web/src/components/llm-select/index.less+++ b/web/src/components/llm-select/index.less@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+.llmLabel {font-size: 14px;}diff --git a/web/src/components/llm-select/llm-label.tsx b/web/src/components/llm-select/llm-label.tsxindex 875e94f974..8276282102 100644--- a/web/src/components/llm-select/llm-label.tsx+++ b/web/src/components/llm-select/llm-label.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { useFetchAllAddedModels } from '@/hooks/use-llm-request';import { parseModelValue } from '@/utils/llm-util';import { memo } from 'react';diff --git a/web/src/components/llm-select/next.tsx b/web/src/components/llm-select/next.tsxindex 6afa95025b..b43766d5a3 100644--- a/web/src/components/llm-select/next.tsx+++ b/web/src/components/llm-select/next.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { LlmModelType } from '@/constants/knowledge';import * as SelectPrimitive from '@radix-ui/react-select';import { forwardRef, memo, useMemo, useState } from 'react';diff --git a/web/src/components/llm-setting-items/index.module.less b/web/src/components/llm-setting-items/index.module.lessindex 03928e740a..f4ca59ed6d 100644--- a/web/src/components/llm-setting-items/index.module.less+++ b/web/src/components/llm-setting-items/index.module.less@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+.sliderInputNumber {width: 80px;}diff --git a/web/src/components/llm-setting-items/llm-form-field.tsx b/web/src/components/llm-setting-items/llm-form-field.tsxindex 9ffef8e69a..6d61a96f6f 100644--- a/web/src/components/llm-setting-items/llm-form-field.tsx+++ b/web/src/components/llm-setting-items/llm-form-field.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { ModelTreeSelect } from '@/components/model-tree-select';import { useTranslation } from 'react-i18next';import { RAGFlowFormItem } from '../ragflow-form';diff --git a/web/src/components/llm-setting-items/next.tsx b/web/src/components/llm-setting-items/next.tsxindex 8ae7058fc5..e351391b7f 100644--- a/web/src/components/llm-setting-items/next.tsx+++ b/web/src/components/llm-setting-items/next.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import {ModelVariableType,settledModelVariableMap,diff --git a/web/src/components/llm-setting-items/slider.tsx b/web/src/components/llm-setting-items/slider.tsxindex 6fd447650b..4d73ebd406 100644--- a/web/src/components/llm-setting-items/slider.tsx+++ b/web/src/components/llm-setting-items/slider.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { useTranslate } from '@/hooks/common-hooks';import { cn } from '@/lib/utils';import { forwardRef } from 'react';diff --git a/web/src/components/llm-setting-items/use-watch-change.ts b/web/src/components/llm-setting-items/use-watch-change.tsindex c2e8af020d..8888a1d2f4 100644--- a/web/src/components/llm-setting-items/use-watch-change.ts+++ b/web/src/components/llm-setting-items/use-watch-change.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { settledModelVariableMap } from '@/constants/knowledge';import { AgentFormContext } from '@/pages/agent/context';import useGraphStore from '@/pages/agent/store';diff --git a/web/src/components/loading-dots/index.module.less b/web/src/components/loading-dots/index.module.lessindex e3e8906e14..501421106d 100644--- a/web/src/components/loading-dots/index.module.less+++ b/web/src/components/loading-dots/index.module.less@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+.dot {display: inline-block;width: 6px;diff --git a/web/src/components/loading-dots/index.tsx b/web/src/components/loading-dots/index.tsxindex ad1e67cdbc..a37c9c784b 100644--- a/web/src/components/loading-dots/index.tsx+++ b/web/src/components/loading-dots/index.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import styles from './index.module.less';interface LoadingDotsProps {diff --git a/web/src/components/logical-operator.tsx b/web/src/components/logical-operator.tsxindex 7b37a25676..69ddb08dcd 100644--- a/web/src/components/logical-operator.tsx+++ b/web/src/components/logical-operator.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { useBuildSwitchLogicOperatorOptions } from '@/hooks/logic-hooks/use-build-options';import { RAGFlowFormItem } from './ragflow-form';import { RAGFlowSelect } from './ui/select';diff --git a/web/src/components/markdown-content/image-carousel.tsx b/web/src/components/markdown-content/image-carousel.tsxindex f1b000da15..014029abcc 100644--- a/web/src/components/markdown-content/image-carousel.tsx+++ b/web/src/components/markdown-content/image-carousel.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import Image from '@/components/image';import {Carousel,diff --git a/web/src/components/markdown-content/index.module.less b/web/src/components/markdown-content/index.module.lessindex 02eba0064d..606c31f11f 100644--- a/web/src/components/markdown-content/index.module.less+++ b/web/src/components/markdown-content/index.module.less@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+.markdownContentWrapper {line-height: 1.8;:global(details.think) {diff --git a/web/src/components/markdown-content/index.tsx b/web/src/components/markdown-content/index.tsxindex 57df99c2a8..744f05120e 100644--- a/web/src/components/markdown-content/index.tsx+++ b/web/src/components/markdown-content/index.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import Image, { AuthenticatedImg } from '@/components/image';import SvgIcon from '@/components/svg-icon';import { MarkdownRemarkPlugins } from '@/constants/markdown-remark-plugins';diff --git a/web/src/components/markdown-content/reference-utils.ts b/web/src/components/markdown-content/reference-utils.tsindex 384e5e7341..3b7b086a52 100644--- a/web/src/components/markdown-content/reference-utils.ts+++ b/web/src/components/markdown-content/reference-utils.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { IReference } from '@/interfaces/database/chat';import { currentReg, normalizeCitationDigits, showImage } from '@/utils/chat';diff --git a/web/src/components/markdown-editor.tsx b/web/src/components/markdown-editor.tsxindex bd96cdb638..ea02a7218a 100644--- a/web/src/components/markdown-editor.tsx+++ b/web/src/components/markdown-editor.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { useCallback, useEffect, useRef, useState } from 'react';import LexicalEditor from '@/lib/editor/lexical-editor';diff --git a/web/src/components/max-token-number-from-field.tsx b/web/src/components/max-token-number-from-field.tsxindex 9b8b29eacb..c9f3099240 100644--- a/web/src/components/max-token-number-from-field.tsx+++ b/web/src/components/max-token-number-from-field.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { FormLayout } from '@/constants/form';import { useTranslate } from '@/hooks/common-hooks';import { SliderInputFormField } from './slider-input-form-field';diff --git a/web/src/components/memories-form-field.tsx b/web/src/components/memories-form-field.tsxindex 537846d0d9..e0d78f0feb 100644--- a/web/src/components/memories-form-field.tsx+++ b/web/src/components/memories-form-field.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { useFetchAllMemoryList } from '@/hooks/use-memory-request';import { IMemory } from '@/interfaces/database/memory';import { useMemo, useRef } from 'react';diff --git a/web/src/components/message-history-window-size-item.tsx b/web/src/components/message-history-window-size-item.tsxindex cd44f0d0af..d765f70358 100644--- a/web/src/components/message-history-window-size-item.tsx+++ b/web/src/components/message-history-window-size-item.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { useFormContext } from 'react-hook-form';import { useTranslation } from 'react-i18next';import NumberInput from './originui/number-input';diff --git a/web/src/components/message-input/index.less b/web/src/components/message-input/index.lessindex 65652c248f..fb7f29ca41 100644--- a/web/src/components/message-input/index.less+++ b/web/src/components/message-input/index.less@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+.messageInputWrapper {margin-inline-end: 20px;padding: '0px 0px 10px 0px';diff --git a/web/src/components/message-input/next.tsx b/web/src/components/message-input/next.tsxindex b72d2c0e68..d88c588ea1 100644--- a/web/src/components/message-input/next.tsx+++ b/web/src/components/message-input/next.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+'use client';import {diff --git a/web/src/components/message-item/group-button.tsx b/web/src/components/message-item/group-button.tsxindex e57b08e0f6..000ccead36 100644--- a/web/src/components/message-item/group-button.tsx+++ b/web/src/components/message-item/group-button.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { PromptIcon } from '@/assets/icon/next-icon';import CopyToClipboard from '@/components/copy-to-clipboard';import {diff --git a/web/src/components/message-item/hooks.ts b/web/src/components/message-item/hooks.tsindex 5992027757..413cbbd3f5 100644--- a/web/src/components/message-item/hooks.ts+++ b/web/src/components/message-item/hooks.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { useSetModalState } from '@/hooks/common-hooks';import { IRemoveMessageById, useSpeechWithSse } from '@/hooks/logic-hooks';import { useDeleteMessage, useFeedback } from '@/hooks/use-chat-request';diff --git a/web/src/components/message-item/index.module.less b/web/src/components/message-item/index.module.lessindex e0f55c2a1b..c07ec404a5 100644--- a/web/src/components/message-item/index.module.less+++ b/web/src/components/message-item/index.module.less@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+.messageItem {padding: 24px 0;.messageItemSection {diff --git a/web/src/components/message-item/index.tsx b/web/src/components/message-item/index.tsxindex 5530fa0e0f..c56841c5a4 100644--- a/web/src/components/message-item/index.tsx+++ b/web/src/components/message-item/index.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { MessageType } from '@/constants/chat';import { IRegenerateMessage, IRemoveMessageById } from '@/hooks/logic-hooks';import {diff --git a/web/src/components/metadata-filter/index.tsx b/web/src/components/metadata-filter/index.tsxindex 6b2ebbdc70..bdc15f1f46 100644--- a/web/src/components/metadata-filter/index.tsx+++ b/web/src/components/metadata-filter/index.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { DatasetMetadata } from '@/constants/chat';import { useTranslate } from '@/hooks/common-hooks';import { useFormContext, useWatch } from 'react-hook-form';diff --git a/web/src/components/metadata-filter/metadata-filter-conditions.tsx b/web/src/components/metadata-filter/metadata-filter-conditions.tsxindex 7b4fb07277..da44de5a0f 100644--- a/web/src/components/metadata-filter/metadata-filter-conditions.tsx+++ b/web/src/components/metadata-filter/metadata-filter-conditions.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { Button } from '@/components/ui/button';import {DropdownMenu,diff --git a/web/src/components/metadata-filter/metadata-semi-auto-fields.tsx b/web/src/components/metadata-filter/metadata-semi-auto-fields.tsxindex 57fb686c7c..80bd054604 100644--- a/web/src/components/metadata-filter/metadata-semi-auto-fields.tsx+++ b/web/src/components/metadata-filter/metadata-semi-auto-fields.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { Button } from '@/components/ui/button';import {FormControl,diff --git a/web/src/components/mineru-options-form-field.tsx b/web/src/components/mineru-options-form-field.tsxindex fd889737be..e0d98056b5 100644--- a/web/src/components/mineru-options-form-field.tsx+++ b/web/src/components/mineru-options-form-field.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { RAGFlowFormItem } from '@/components/ragflow-form';import { RAGFlowSelect } from '@/components/ui/select';import { Switch } from '@/components/ui/switch';diff --git a/web/src/components/modal-manager.tsx b/web/src/components/modal-manager.tsxindex a3d16d1211..5935538fb4 100644--- a/web/src/components/modal-manager.tsx+++ b/web/src/components/modal-manager.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { useState } from 'react';export interface IModalManagerChildrenProps {diff --git a/web/src/components/model-tree-select.tsx b/web/src/components/model-tree-select.tsxindex 3cacb9e20d..bf73f1abc4 100644--- a/web/src/components/model-tree-select.tsx+++ b/web/src/components/model-tree-select.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import LLMLabel from '@/components/llm-select/llm-label';import { LlmIcon } from '@/components/svg-icon';import {diff --git a/web/src/components/more-button.tsx b/web/src/components/more-button.tsxindex a73dad2eb8..da48310122 100644--- a/web/src/components/more-button.tsx+++ b/web/src/components/more-button.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { cn } from '@/lib/utils';import { Ellipsis } from 'lucide-react';import React from 'react';diff --git a/web/src/components/new-document-link.tsx b/web/src/components/new-document-link.tsxindex e2c65a62a8..1a16f5a3da 100644--- a/web/src/components/new-document-link.tsx+++ b/web/src/components/new-document-link.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import {getExtension,isSupportedPreviewDocumentType,diff --git a/web/src/components/next-markdown-content/index.module.less b/web/src/components/next-markdown-content/index.module.lessindex 05ef45ed7e..13b663d301 100644--- a/web/src/components/next-markdown-content/index.module.less+++ b/web/src/components/next-markdown-content/index.module.less@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+.markdownContentWrapper {line-height: 1.8;:global(details.think) {diff --git a/web/src/components/next-markdown-content/index.tsx b/web/src/components/next-markdown-content/index.tsxindex 5358fcf6fd..834c81b230 100644--- a/web/src/components/next-markdown-content/index.tsx+++ b/web/src/components/next-markdown-content/index.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import Image, { AuthenticatedImg } from '@/components/image';import SvgIcon from '@/components/svg-icon';import { MarkdownRemarkPlugins } from '@/constants/markdown-remark-plugins';diff --git a/web/src/components/next-message-item/group-button.tsx b/web/src/components/next-message-item/group-button.tsxindex a7bffa9c04..e07cef4950 100644--- a/web/src/components/next-message-item/group-button.tsx+++ b/web/src/components/next-message-item/group-button.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { PromptIcon } from '@/assets/icon/next-icon';import CopyToClipboard from '@/components/copy-to-clipboard';import {diff --git a/web/src/components/next-message-item/hooks.ts b/web/src/components/next-message-item/hooks.tsindex 27d86e9161..17e844dd59 100644--- a/web/src/components/next-message-item/hooks.ts+++ b/web/src/components/next-message-item/hooks.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+// import { useDeleteMessage, useFeedback } from '@/hooks/chat-hooks';import { useSetModalState } from '@/hooks/common-hooks';import { IRemoveMessageById, useSpeechWithSse } from '@/hooks/logic-hooks';diff --git a/web/src/components/next-message-item/index.module.less b/web/src/components/next-message-item/index.module.lessindex d68d946898..460ea40880 100644--- a/web/src/components/next-message-item/index.module.less+++ b/web/src/components/next-message-item/index.module.less@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+.messageItem {padding: 24px 0;.messageItemSection {diff --git a/web/src/components/next-message-item/index.tsx b/web/src/components/next-message-item/index.tsxindex a294474043..2acb082dd2 100644--- a/web/src/components/next-message-item/index.tsx+++ b/web/src/components/next-message-item/index.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { MessageType } from '@/constants/chat';import {IMessage,diff --git a/web/src/components/next-message-item/reference-document-list.tsx b/web/src/components/next-message-item/reference-document-list.tsxindex 48e8b72f50..d6bce88fc5 100644--- a/web/src/components/next-message-item/reference-document-list.tsx+++ b/web/src/components/next-message-item/reference-document-list.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { Card, CardContent } from '@/components/ui/card';import { useSetModalState } from '@/hooks/common-hooks';import { Docagg } from '@/interfaces/database/chat';diff --git a/web/src/components/next-message-item/reference-image-list.tsx b/web/src/components/next-message-item/reference-image-list.tsxindex 00dae1b0e8..29157d0f5c 100644--- a/web/src/components/next-message-item/reference-image-list.tsx+++ b/web/src/components/next-message-item/reference-image-list.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import Image, { useDocumentImageUrl } from '@/components/image';import {Carousel,diff --git a/web/src/components/next-message-item/uploaded-message-files.tsx b/web/src/components/next-message-item/uploaded-message-files.tsxindex badeeb1606..5ae72bb706 100644--- a/web/src/components/next-message-item/uploaded-message-files.tsx+++ b/web/src/components/next-message-item/uploaded-message-files.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { UploadResponseDataType } from '@/interfaces/database/chat';import { IDocumentInfo } from '@/interfaces/database/document';import { getExtension } from '@/utils/document-util';diff --git a/web/src/components/next-message-item/utils.ts b/web/src/components/next-message-item/utils.tsindex 45dca5b6b7..803982ae62 100644--- a/web/src/components/next-message-item/utils.ts+++ b/web/src/components/next-message-item/utils.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { currentReg, parseCitationIndex } from '@/utils/chat';export const extractNumbersFromMessageContent = (content: string) => {diff --git a/web/src/components/operator-icon.tsx b/web/src/components/operator-icon.tsxindex 0996c42dee..79982d10b3 100644--- a/web/src/components/operator-icon.tsx+++ b/web/src/components/operator-icon.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { IconFontFill } from '@/components/icon-font';import SvgIcon from '@/components/svg-icon';import queritLogo from '@/assets/querit.png';diff --git a/web/src/components/paddleocr-options-form-field.tsx b/web/src/components/paddleocr-options-form-field.tsxindex 87ffba5baf..0baae8fb32 100644--- a/web/src/components/paddleocr-options-form-field.tsx+++ b/web/src/components/paddleocr-options-form-field.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { RAGFlowFormItem } from '@/components/ragflow-form';import { Input } from '@/components/ui/input';import { RAGFlowSelect } from '@/components/ui/select';diff --git a/web/src/components/page-header.tsx b/web/src/components/page-header.tsxindex 0fe5daddc6..4565b72889 100644--- a/web/src/components/page-header.tsx+++ b/web/src/components/page-header.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { PropsWithChildren } from 'react';export function PageHeader({ children }: PropsWithChildren) {diff --git a/web/src/components/page-rank-form-field.tsx b/web/src/components/page-rank-form-field.tsxindex 42c6d00a24..1c26fe6ba9 100644--- a/web/src/components/page-rank-form-field.tsx+++ b/web/src/components/page-rank-form-field.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { FormLayout } from '@/constants/form';import { useTranslate } from '@/hooks/common-hooks';import { SliderInputFormField } from './slider-input-form-field';diff --git a/web/src/components/parse-configuration/graph-rag-form-fields.tsx b/web/src/components/parse-configuration/graph-rag-form-fields.tsxindex 5a01a2deb3..5fdb4ff51a 100644--- a/web/src/components/parse-configuration/graph-rag-form-fields.tsx+++ b/web/src/components/parse-configuration/graph-rag-form-fields.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { FormLayout } from '@/constants/form';import { DocumentParserType, GenerateType } from '@/constants/knowledge';import { useTranslate } from '@/hooks/common-hooks';diff --git a/web/src/components/parse-configuration/raptor-form-fields.tsx b/web/src/components/parse-configuration/raptor-form-fields.tsxindex 1cc2de5c72..813c37a883 100644--- a/web/src/components/parse-configuration/raptor-form-fields.tsx+++ b/web/src/components/parse-configuration/raptor-form-fields.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { FormLayout } from '@/constants/form';import { DocumentParserType, GenerateType } from '@/constants/knowledge';import { useTranslate } from '@/hooks/common-hooks';diff --git a/web/src/components/parse-type-form-field.tsx b/web/src/components/parse-type-form-field.tsxindex 50db24fe64..a02ff3356a 100644--- a/web/src/components/parse-type-form-field.tsx+++ b/web/src/components/parse-type-form-field.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import {FormControl,FormField,diff --git a/web/src/components/pdf-drawer/hooks.ts b/web/src/components/pdf-drawer/hooks.tsindex fe65009aa0..db36972906 100644--- a/web/src/components/pdf-drawer/hooks.ts+++ b/web/src/components/pdf-drawer/hooks.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { useSetModalState } from '@/hooks/common-hooks';import { IReferenceChunk } from '@/interfaces/database/chat';import { useCallback, useState } from 'react';diff --git a/web/src/components/pdf-drawer/index.tsx b/web/src/components/pdf-drawer/index.tsxindex 3557e130c7..a5df43f042 100644--- a/web/src/components/pdf-drawer/index.tsx+++ b/web/src/components/pdf-drawer/index.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import {useGetChunkHighlights,useGetDocumentUrl,diff --git a/web/src/components/pipeline-operator-tabs/index.tsx b/web/src/components/pipeline-operator-tabs/index.tsxindex 0bd8a44478..cf7108bee8 100644--- a/web/src/components/pipeline-operator-tabs/index.tsx+++ b/web/src/components/pipeline-operator-tabs/index.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs';import { RAGFlowNodeType } from '@/interfaces/database/agent';import { memo, useCallback } from 'react';diff --git a/web/src/components/pipeline-operator-tabs/pipeline-operator-form.tsx b/web/src/components/pipeline-operator-tabs/pipeline-operator-form.tsxindex 221a599fe8..d76e125ded 100644--- a/web/src/components/pipeline-operator-tabs/pipeline-operator-form.tsx+++ b/web/src/components/pipeline-operator-tabs/pipeline-operator-form.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { Operator } from '@/constants/agent';import { RAGFlowNodeType } from '@/interfaces/database/agent';import CompilationForm from '@/pages/agent/form/compilation-form';diff --git a/web/src/components/prompt-dialog.tsx b/web/src/components/prompt-dialog.tsxindex f18f00bcd7..0138892646 100644--- a/web/src/components/prompt-dialog.tsx+++ b/web/src/components/prompt-dialog.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { IModalProps } from '@/interfaces/common';import { IFeedbackRequestBody } from '@/interfaces/request/chat';import HighLightMarkdown from './highlight-markdown';diff --git a/web/src/components/ragflow-avatar.tsx b/web/src/components/ragflow-avatar.tsxindex 0141a99666..3443db6e54 100644--- a/web/src/components/ragflow-avatar.tsx+++ b/web/src/components/ragflow-avatar.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { cn } from '@/lib/utils';import * as AvatarPrimitive from '@radix-ui/react-avatar';import { forwardRef, memo, useMemo } from 'react';diff --git a/web/src/components/ragflow-form.tsx b/web/src/components/ragflow-form.tsxindex 2a46fdcfbe..b12dd73c0a 100644--- a/web/src/components/ragflow-form.tsx+++ b/web/src/components/ragflow-form.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import {FormControl,FormField,diff --git a/web/src/components/rename-dialog/index.tsx b/web/src/components/rename-dialog/index.tsxindex 9507c877fc..4fc14b0292 100644--- a/web/src/components/rename-dialog/index.tsx+++ b/web/src/components/rename-dialog/index.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import {Dialog,DialogContent,diff --git a/web/src/components/rename-dialog/rename-form.tsx b/web/src/components/rename-dialog/rename-form.tsxindex cad388cf1e..41bf3783c5 100644--- a/web/src/components/rename-dialog/rename-form.tsx+++ b/web/src/components/rename-dialog/rename-form.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+'use client';import { zodResolver } from '@hookform/resolvers/zod';diff --git a/web/src/components/rerank.tsx b/web/src/components/rerank.tsxindex e6618f1d8b..77b257eb0d 100644--- a/web/src/components/rerank.tsx+++ b/web/src/components/rerank.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { ModelTreeSelect } from '@/components/model-tree-select';import { useTranslate } from '@/hooks/common-hooks';import { prefixName } from '@/utils/form';diff --git a/web/src/components/shared-badge.tsx b/web/src/components/shared-badge.tsxindex 2d4a5a4166..d277f4f377 100644--- a/web/src/components/shared-badge.tsx+++ b/web/src/components/shared-badge.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { useFetchUserInfo } from '@/hooks/use-user-setting-request';import { PropsWithChildren } from 'react';diff --git a/web/src/components/similarity-slider/index.tsx b/web/src/components/similarity-slider/index.tsxindex 7e55158b9c..3da7694027 100644--- a/web/src/components/similarity-slider/index.tsx+++ b/web/src/components/similarity-slider/index.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { FormLayout } from '@/constants/form';import { useTranslate } from '@/hooks/common-hooks';import { cn } from '@/lib/utils';diff --git a/web/src/components/skeleton-card.tsx b/web/src/components/skeleton-card.tsxindex ebc285fa1d..df45a19eb4 100644--- a/web/src/components/skeleton-card.tsx+++ b/web/src/components/skeleton-card.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { Skeleton } from '@/components/ui/skeleton';import { cn } from '@/lib/utils';diff --git a/web/src/components/slider-input-form-field.tsx b/web/src/components/slider-input-form-field.tsxindex 11b4fc5594..22ca7a3b81 100644--- a/web/src/components/slider-input-form-field.tsx+++ b/web/src/components/slider-input-form-field.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { FormLayout } from '@/constants/form';import { cn } from '@/lib/utils';import { forwardRef, ReactNode, useMemo } from 'react';diff --git a/web/src/components/spotlight.tsx b/web/src/components/spotlight.tsxindex 374b84403c..743eefccb9 100644--- a/web/src/components/spotlight.tsx+++ b/web/src/components/spotlight.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { useIsDarkTheme } from '@/components/theme-provider';import { cn } from '@/lib/utils';import { parseColorToRGB } from '@/utils/common-util';diff --git a/web/src/components/structure-graph/adapters.ts b/web/src/components/structure-graph/adapters.tsindex 8cf17fdab4..0d19a2a75a 100644--- a/web/src/components/structure-graph/adapters.ts+++ b/web/src/components/structure-graph/adapters.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import trim from 'lodash/trim';import { type TreeDataItem } from '@/components/ui/tree-view';import {diff --git a/web/src/components/structure-graph/mindmap-g6-graph/index.tsx b/web/src/components/structure-graph/mindmap-g6-graph/index.tsxindex 5bd83e2f56..f3a890c344 100644--- a/web/src/components/structure-graph/mindmap-g6-graph/index.tsx+++ b/web/src/components/structure-graph/mindmap-g6-graph/index.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { SkeletonCard } from '@/components/skeleton-card';import { cn } from '@/lib/utils';import { Graph, IElementEvent, NodeEvent, treeToGraphData } from '@antv/g6';diff --git a/web/src/components/structure-graph/mindmap-g6-graph/types.ts b/web/src/components/structure-graph/mindmap-g6-graph/types.tsindex 6a48de778d..a7ff6bf620 100644--- a/web/src/components/structure-graph/mindmap-g6-graph/types.ts+++ b/web/src/components/structure-graph/mindmap-g6-graph/types.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { type IStructureGraphTemplate } from '@/interfaces/database/document-structure';export interface MindMapNodeValue {diff --git a/web/src/components/structure-graph/representation-renderer.tsx b/web/src/components/structure-graph/representation-renderer.tsxindex 8fa516e61a..dc2da335dc 100644--- a/web/src/components/structure-graph/representation-renderer.tsx+++ b/web/src/components/structure-graph/representation-renderer.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import ArtifactForceGraph from '@/components/artifact-force-graph';import { TreeView, type TreeDataItem } from '@/components/ui/tree-view';import { CompilationTemplateKind } from '@/constants/compilation';diff --git a/web/src/components/structure-graph/timeline-x6-graph/hooks/use-x6-graph.ts b/web/src/components/structure-graph/timeline-x6-graph/hooks/use-x6-graph.tsindex 15eeda4d1b..181ca7e64a 100644--- a/web/src/components/structure-graph/timeline-x6-graph/hooks/use-x6-graph.ts+++ b/web/src/components/structure-graph/timeline-x6-graph/hooks/use-x6-graph.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { DagreLayout } from '@antv/layout';import { Graph, type EdgeMetadata, type NodeMetadata } from '@antv/x6';import { useEffect, useRef } from 'react';diff --git a/web/src/components/structure-graph/timeline-x6-graph/index.tsx b/web/src/components/structure-graph/timeline-x6-graph/index.tsxindex 7cbf81ef20..6480b4e016 100644--- a/web/src/components/structure-graph/timeline-x6-graph/index.tsx+++ b/web/src/components/structure-graph/timeline-x6-graph/index.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { cn } from '@/lib/utils';import { useRef } from 'react';diff --git a/web/src/components/structure-graph/timeline-x6-graph/types.ts b/web/src/components/structure-graph/timeline-x6-graph/types.tsindex 8170d7a419..e3e512f6b4 100644--- a/web/src/components/structure-graph/timeline-x6-graph/types.ts+++ b/web/src/components/structure-graph/timeline-x6-graph/types.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { type TimelineX6EdgeData, type TimelineX6NodeData } from '../adapters';export interface TimelineNodeValue {diff --git a/web/src/components/svg-icon.tsx b/web/src/components/svg-icon.tsxindex ccbc5e3c31..ab8e3f0baf 100644--- a/web/src/components/svg-icon.tsx+++ b/web/src/components/svg-icon.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { IconMap, LLMFactory } from '@/constants/llm';import { cn } from '@/lib/utils';import Icon from '@ant-design/icons';diff --git a/web/src/components/switch-fom-field.tsx b/web/src/components/switch-fom-field.tsxindex 308608c0be..a4a31a0020 100644--- a/web/src/components/switch-fom-field.tsx+++ b/web/src/components/switch-fom-field.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import {FormControl,FormField,diff --git a/web/src/components/table-skeleton.tsx b/web/src/components/table-skeleton.tsxindex e02677ec65..fcbefcd1b2 100644--- a/web/src/components/table-skeleton.tsx+++ b/web/src/components/table-skeleton.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { t } from 'i18next';import { Loader2 } from 'lucide-react';import { PropsWithChildren } from 'react';diff --git a/web/src/components/theme-provider.tsx b/web/src/components/theme-provider.tsxindex 2206d0b030..0f4116e56b 100644--- a/web/src/components/theme-provider.tsx+++ b/web/src/components/theme-provider.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { ThemeEnum } from '@/constants/common';import React, {createContext,diff --git a/web/src/components/theme-switch.tsx b/web/src/components/theme-switch.tsxindex 3143c84637..335300a155 100644--- a/web/src/components/theme-switch.tsx+++ b/web/src/components/theme-switch.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { useIsDarkTheme, useTheme } from '@/components/theme-provider';import { ThemeEnum } from '@/constants/common';import { cn } from '@/lib/utils';diff --git a/web/src/components/top-n-item.tsx b/web/src/components/top-n-item.tsxindex 6ffeacee59..ab7c807481 100644--- a/web/src/components/top-n-item.tsx+++ b/web/src/components/top-n-item.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { FormLayout } from '@/constants/form';import { useTranslate } from '@/hooks/common-hooks';import { z } from 'zod';diff --git a/web/src/components/top-select.tsx b/web/src/components/top-select.tsxindex e969f703ce..08c68ba3ad 100644--- a/web/src/components/top-select.tsx+++ b/web/src/components/top-select.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { useMemo } from 'react';import { useTranslation } from 'react-i18next';import { SelectWithSearch } from './originui/select-with-search';diff --git a/web/src/components/truncated-text.tsx b/web/src/components/truncated-text.tsxindex 2809623215..c93b15db6c 100644--- a/web/src/components/truncated-text.tsx+++ b/web/src/components/truncated-text.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import {Tooltip,TooltipContent,diff --git a/web/src/components/web-search-form-field.tsx b/web/src/components/web-search-form-field.tsxindex eccace2cf4..7d1bd62790 100644--- a/web/src/components/web-search-form-field.tsx+++ b/web/src/components/web-search-form-field.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import queritLogo from '@/assets/querit.png';import tavilyLogo from '@/assets/svg/tavily.svg';import { RAGFlowSelect } from '@/components/ui/select';diff --git a/web/src/components/webhook-response-status.tsx b/web/src/components/webhook-response-status.tsxindex 5c6725c4ec..cf21323183 100644--- a/web/src/components/webhook-response-status.tsx+++ b/web/src/components/webhook-response-status.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { useTranslation } from 'react-i18next';import { RAGFlowFormItem } from './ragflow-form';import { Input } from './ui/input';diff --git a/web/src/components/what-is-this.tsx b/web/src/components/what-is-this.tsxindex 68d92437b3..a29a378ae6 100644--- a/web/src/components/what-is-this.tsx+++ b/web/src/components/what-is-this.tsx@@ -1,3 +1,18 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */import { LucideCircleQuestionMark } from 'lucide-react';import { Tooltip, TooltipContent, TooltipTrigger } from './ui/tooltip';diff --git a/web/src/components/xyflow/base-node.tsx b/web/src/components/xyflow/base-node.tsxindex 6e0de064a5..9a41e0c021 100644--- a/web/src/components/xyflow/base-node.tsx+++ b/web/src/components/xyflow/base-node.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { forwardRef, HTMLAttributes } from 'react';import { cn } from '@/lib/utils';diff --git a/web/src/components/xyflow/tooltip-node.tsx b/web/src/components/xyflow/tooltip-node.tsxindex 8acb80b066..269e4027a3 100644--- a/web/src/components/xyflow/tooltip-node.tsx+++ b/web/src/components/xyflow/tooltip-node.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { NodeProps, NodeToolbar, NodeToolbarProps } from '@xyflow/react';import {HTMLAttributes,diff --git a/web/src/constants/agent.tsx b/web/src/constants/agent.tsxindex 88080d0e53..6ef6225746 100644--- a/web/src/constants/agent.tsx+++ b/web/src/constants/agent.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { setInitialChatVariableEnabledFieldValue } from '@/utils/chat';import {Circle,diff --git a/web/src/constants/authorization.ts b/web/src/constants/authorization.tsindex 5516be221a..b9c65403a9 100644--- a/web/src/constants/authorization.ts+++ b/web/src/constants/authorization.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+export const Authorization = 'Authorization';export const Token = 'token';export const UserInfo = 'userInfo';diff --git a/web/src/constants/chat.ts b/web/src/constants/chat.tsindex 0570474140..0bfb6aad6d 100644--- a/web/src/constants/chat.ts+++ b/web/src/constants/chat.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+export enum MessageType {Assistant = 'assistant',User = 'user',diff --git a/web/src/constants/common.ts b/web/src/constants/common.tsindex 7db0372ac5..1d1b871e36 100644--- a/web/src/constants/common.ts+++ b/web/src/constants/common.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+export const fileIconMap = {aep: 'aep.svg',ai: 'ai.svg',diff --git a/web/src/constants/compilation.ts b/web/src/constants/compilation.tsindex d7ae0eb59d..188f7935ff 100644--- a/web/src/constants/compilation.ts+++ b/web/src/constants/compilation.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+export const enum CompilationTemplateKind {Artifacts = 'wiki',KnowledgeGraph = 'knowledge_graph',diff --git a/web/src/constants/file.ts b/web/src/constants/file.tsindex 27c8318b6a..2814093051 100644--- a/web/src/constants/file.ts+++ b/web/src/constants/file.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+export const FileIconMap = {doc: 'doc',docx: 'doc',diff --git a/web/src/constants/form.ts b/web/src/constants/form.tsindex 9f2043d032..288e911676 100644--- a/web/src/constants/form.ts+++ b/web/src/constants/form.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+export enum FormLayout {Horizontal = 'horizontal',Vertical = 'vertical',diff --git a/web/src/constants/knowledge.ts b/web/src/constants/knowledge.tsindex b97f5ef579..57568bc5d2 100644--- a/web/src/constants/knowledge.ts+++ b/web/src/constants/knowledge.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+export enum KnowledgeRouteKey {Dataset = 'dataset',Testing = 'testing',diff --git a/web/src/constants/llm.ts b/web/src/constants/llm.tsindex 93cd7bc910..5e8e86bad2 100644--- a/web/src/constants/llm.ts+++ b/web/src/constants/llm.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+export enum ModelStatus {Active = 'active',Inactive = 'inactive',diff --git a/web/src/constants/markdown-remark-plugins.ts b/web/src/constants/markdown-remark-plugins.tsindex 9d797082bb..52d21d9e12 100644--- a/web/src/constants/markdown-remark-plugins.ts+++ b/web/src/constants/markdown-remark-plugins.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import remarkBreaks from 'remark-breaks';import remarkGfm from 'remark-gfm';import remarkMath from 'remark-math';diff --git a/web/src/constants/permission.ts b/web/src/constants/permission.tsindex 7a6cac632a..29511966cd 100644--- a/web/src/constants/permission.ts+++ b/web/src/constants/permission.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+export enum PermissionRole {Me = 'me',Team = 'team',diff --git a/web/src/constants/setting.ts b/web/src/constants/setting.tsindex 63c10545af..99e120515c 100644--- a/web/src/constants/setting.ts+++ b/web/src/constants/setting.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+export const UserSettingBaseKey = 'user-setting';export enum UserSettingRouteKey {diff --git a/web/src/hooks/logic-hooks/navigate-hooks.ts b/web/src/hooks/logic-hooks/navigate-hooks.tsindex 6b95db7a55..1df861364d 100644--- a/web/src/hooks/logic-hooks/navigate-hooks.ts+++ b/web/src/hooks/logic-hooks/navigate-hooks.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { AgentCategory, AgentQuery } from '@/constants/agent';import { NavigateToDataflowResultProps } from '@/pages/dataflow-result/interface';import { Routes } from '@/routes';diff --git a/web/src/hooks/logic-hooks/use-build-operator-options.tsx b/web/src/hooks/logic-hooks/use-build-operator-options.tsxindex 6576cb4f55..7f696b3ad9 100644--- a/web/src/hooks/logic-hooks/use-build-operator-options.tsx+++ b/web/src/hooks/logic-hooks/use-build-operator-options.tsx@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { IconFont } from '@/components/icon-font';import { ComparisonOperator, SwitchOperatorOptions } from '@/constants/agent';import { cn } from '@/lib/utils';diff --git a/web/src/hooks/logic-hooks/use-build-options.ts b/web/src/hooks/logic-hooks/use-build-options.tsindex e0d09bc6eb..66ee2ba3ea 100644--- a/web/src/hooks/logic-hooks/use-build-options.ts+++ b/web/src/hooks/logic-hooks/use-build-options.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { SwitchLogicOperator } from '@/constants/agent';import { buildOptions } from '@/utils/form';import { useCallback } from 'react';diff --git a/web/src/hooks/logic-hooks/use-change-search.ts b/web/src/hooks/logic-hooks/use-change-search.tsindex 66a3f42ffd..f1db3b9fc6 100644--- a/web/src/hooks/logic-hooks/use-change-search.ts+++ b/web/src/hooks/logic-hooks/use-change-search.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { useCallback, useState } from 'react';export const useHandleSearchStrChange = () => {diff --git a/web/src/hooks/logic-hooks/use-pagination.ts b/web/src/hooks/logic-hooks/use-pagination.tsindex 47e3cf46cf..473426deb4 100644--- a/web/src/hooks/logic-hooks/use-pagination.ts+++ b/web/src/hooks/logic-hooks/use-pagination.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { useCallback, useMemo, useState } from 'react';export function useClientPagination(list: Array<any>) {diff --git a/web/src/hooks/logic-hooks/use-row-selection.ts b/web/src/hooks/logic-hooks/use-row-selection.tsindex 88e289a3c8..1682916e98 100644--- a/web/src/hooks/logic-hooks/use-row-selection.ts+++ b/web/src/hooks/logic-hooks/use-row-selection.ts@@ -1,3 +1,19 @@+/*+ * Copyright 2026 The InfiniFlow Authors. All Rights Reserved.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { RowSelectionState } from '@tanstack/react-table';import { isEmpty } from 'lodash';import { useCallback, useMemo, useState } from 'react';