diff --git a/.github/.licenserc.yaml b/.github/.licenserc.yaml index 316cc199..6b97a7cf 100644 --- a/.github/.licenserc.yaml +++ b/.github/.licenserc.yaml @@ -25,5 +25,6 @@ header: - 'backend/api/**' - '**/*_mock.go' - 'backend/internal/mock/**' + - '**/mock/**' files: - ../backend/go.mod \ No newline at end of file diff --git a/.gitignore b/.gitignore index ca61c68c..9c0c556d 100644 --- a/.gitignore +++ b/.gitignore @@ -49,3 +49,6 @@ node_modules common/temp .rush .eslintcache + + +backend/conf/model/*.yaml diff --git a/frontend/config/ts-config/global.d.ts b/frontend/config/ts-config/global.d.ts index e69de29b..26a79f3b 100644 --- a/frontend/config/ts-config/global.d.ts +++ b/frontend/config/ts-config/global.d.ts @@ -0,0 +1,16 @@ +/* + * Copyright 2025 coze-dev Authors + * + * 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. + */ + diff --git a/frontend/infra/eslint-plugin/src/rules/tsx-no-leaked-render/fixture/react.tsx b/frontend/infra/eslint-plugin/src/rules/tsx-no-leaked-render/fixture/react.tsx index e69de29b..26a79f3b 100644 --- a/frontend/infra/eslint-plugin/src/rules/tsx-no-leaked-render/fixture/react.tsx +++ b/frontend/infra/eslint-plugin/src/rules/tsx-no-leaked-render/fixture/react.tsx @@ -0,0 +1,16 @@ +/* + * Copyright 2025 coze-dev Authors + * + * 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. + */ + diff --git a/frontend/packages/agent-ide/bot-plugin/export/src/index.tsx b/frontend/packages/agent-ide/bot-plugin/export/src/index.tsx index e69de29b..26a79f3b 100644 --- a/frontend/packages/agent-ide/bot-plugin/export/src/index.tsx +++ b/frontend/packages/agent-ide/bot-plugin/export/src/index.tsx @@ -0,0 +1,16 @@ +/* + * Copyright 2025 coze-dev Authors + * + * 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. + */ + diff --git a/frontend/packages/agent-ide/space-bot/src/component/config-area/use-bot-config.tsx b/frontend/packages/agent-ide/space-bot/src/component/config-area/use-bot-config.tsx index e69de29b..26a79f3b 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/config-area/use-bot-config.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/config-area/use-bot-config.tsx @@ -0,0 +1,16 @@ +/* + * Copyright 2025 coze-dev Authors + * + * 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. + */ + diff --git a/frontend/packages/agent-ide/space-bot/src/component/model-btn-view/index.tsx b/frontend/packages/agent-ide/space-bot/src/component/model-btn-view/index.tsx index e69de29b..26a79f3b 100644 --- a/frontend/packages/agent-ide/space-bot/src/component/model-btn-view/index.tsx +++ b/frontend/packages/agent-ide/space-bot/src/component/model-btn-view/index.tsx @@ -0,0 +1,16 @@ +/* + * Copyright 2025 coze-dev Authors + * + * 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. + */ + diff --git a/frontend/packages/agent-ide/space-bot/src/hook/use-subscribe-background.ts b/frontend/packages/agent-ide/space-bot/src/hook/use-subscribe-background.ts index e69de29b..26a79f3b 100644 --- a/frontend/packages/agent-ide/space-bot/src/hook/use-subscribe-background.ts +++ b/frontend/packages/agent-ide/space-bot/src/hook/use-subscribe-background.ts @@ -0,0 +1,16 @@ +/* + * Copyright 2025 coze-dev Authors + * + * 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. + */ + diff --git a/frontend/packages/arch/utils/__tests__/setup.ts b/frontend/packages/arch/utils/__tests__/setup.ts index e69de29b..26a79f3b 100644 --- a/frontend/packages/arch/utils/__tests__/setup.ts +++ b/frontend/packages/arch/utils/__tests__/setup.ts @@ -0,0 +1,16 @@ +/* + * Copyright 2025 coze-dev Authors + * + * 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. + */ + diff --git a/frontend/packages/common/chat-area/chat-area/src/components/chat-background/index.tsx b/frontend/packages/common/chat-area/chat-area/src/components/chat-background/index.tsx index e69de29b..26a79f3b 100644 --- a/frontend/packages/common/chat-area/chat-area/src/components/chat-background/index.tsx +++ b/frontend/packages/common/chat-area/chat-area/src/components/chat-background/index.tsx @@ -0,0 +1,16 @@ +/* + * Copyright 2025 coze-dev Authors + * + * 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. + */ + diff --git a/frontend/packages/common/chat-area/chat-uikit/src/hooks/use-event-callback.ts b/frontend/packages/common/chat-area/chat-uikit/src/hooks/use-event-callback.ts index e69de29b..26a79f3b 100644 --- a/frontend/packages/common/chat-area/chat-uikit/src/hooks/use-event-callback.ts +++ b/frontend/packages/common/chat-area/chat-uikit/src/hooks/use-event-callback.ts @@ -0,0 +1,16 @@ +/* + * Copyright 2025 coze-dev Authors + * + * 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. + */ + diff --git a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/components-table/options/index.tsx b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/components-table/options/index.tsx index e69de29b..26a79f3b 100644 --- a/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/components-table/options/index.tsx +++ b/frontend/packages/common/chat-area/plugin-chat-shortcuts/src/components/components-table/options/index.tsx @@ -0,0 +1,16 @@ +/* + * Copyright 2025 coze-dev Authors + * + * 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. + */ + diff --git a/frontend/packages/common/prompt-kit/main/src/typings.d.ts b/frontend/packages/common/prompt-kit/main/src/typings.d.ts index e69de29b..26a79f3b 100644 --- a/frontend/packages/common/prompt-kit/main/src/typings.d.ts +++ b/frontend/packages/common/prompt-kit/main/src/typings.d.ts @@ -0,0 +1,16 @@ +/* + * Copyright 2025 coze-dev Authors + * + * 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. + */ + diff --git a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/type.d.ts b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/type.d.ts index e69de29b..26a79f3b 100644 --- a/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/type.d.ts +++ b/frontend/packages/data/knowledge/knowledge-resource-processor-base/src/components/upload-unit-file/type.d.ts @@ -0,0 +1,16 @@ +/* + * Copyright 2025 coze-dev Authors + * + * 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. + */ + diff --git a/frontend/packages/data/memory/database-v2-base/src/index.tsx b/frontend/packages/data/memory/database-v2-base/src/index.tsx index e69de29b..26a79f3b 100644 --- a/frontend/packages/data/memory/database-v2-base/src/index.tsx +++ b/frontend/packages/data/memory/database-v2-base/src/index.tsx @@ -0,0 +1,16 @@ +/* + * Copyright 2025 coze-dev Authors + * + * 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. + */ + diff --git a/frontend/packages/devops/mockset-manage/src/components/index.tsx b/frontend/packages/devops/mockset-manage/src/components/index.tsx index e69de29b..26a79f3b 100644 --- a/frontend/packages/devops/mockset-manage/src/components/index.tsx +++ b/frontend/packages/devops/mockset-manage/src/components/index.tsx @@ -0,0 +1,16 @@ +/* + * Copyright 2025 coze-dev Authors + * + * 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. + */ + diff --git a/frontend/packages/project-ide/biz-workflow/src/type.ts b/frontend/packages/project-ide/biz-workflow/src/type.ts index e69de29b..26a79f3b 100644 --- a/frontend/packages/project-ide/biz-workflow/src/type.ts +++ b/frontend/packages/project-ide/biz-workflow/src/type.ts @@ -0,0 +1,16 @@ +/* + * Copyright 2025 coze-dev Authors + * + * 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. + */ + diff --git a/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/components/static-error-msg-render.tsx b/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/components/static-error-msg-render.tsx index e69de29b..26a79f3b 100644 --- a/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/components/static-error-msg-render.tsx +++ b/frontend/packages/project-ide/framework/src/components/resource-folder/render-components/components/static-error-msg-render.tsx @@ -0,0 +1,16 @@ +/* + * Copyright 2025 coze-dev Authors + * + * 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. + */ + diff --git a/frontend/packages/studio/stores/bot-detail/src/utils/integrated-fg.ts b/frontend/packages/studio/stores/bot-detail/src/utils/integrated-fg.ts index e69de29b..26a79f3b 100644 --- a/frontend/packages/studio/stores/bot-detail/src/utils/integrated-fg.ts +++ b/frontend/packages/studio/stores/bot-detail/src/utils/integrated-fg.ts @@ -0,0 +1,16 @@ +/* + * Copyright 2025 coze-dev Authors + * + * 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. + */ + diff --git a/frontend/packages/studio/workspace/entry-adapter/src/index.ts b/frontend/packages/studio/workspace/entry-adapter/src/index.ts index e69de29b..26a79f3b 100644 --- a/frontend/packages/studio/workspace/entry-adapter/src/index.ts +++ b/frontend/packages/studio/workspace/entry-adapter/src/index.ts @@ -0,0 +1,16 @@ +/* + * Copyright 2025 coze-dev Authors + * + * 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. + */ + diff --git a/frontend/packages/studio/workspace/project-entity-base/src/components/bot-form-modal/index.tsx b/frontend/packages/studio/workspace/project-entity-base/src/components/bot-form-modal/index.tsx index e69de29b..26a79f3b 100644 --- a/frontend/packages/studio/workspace/project-entity-base/src/components/bot-form-modal/index.tsx +++ b/frontend/packages/studio/workspace/project-entity-base/src/components/bot-form-modal/index.tsx @@ -0,0 +1,16 @@ +/* + * Copyright 2025 coze-dev Authors + * + * 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. + */ + diff --git a/frontend/packages/workflow/base/__tests__/utils/node-result-extractor/index.test.ts b/frontend/packages/workflow/base/__tests__/utils/node-result-extractor/index.test.ts index e69de29b..26a79f3b 100644 --- a/frontend/packages/workflow/base/__tests__/utils/node-result-extractor/index.test.ts +++ b/frontend/packages/workflow/base/__tests__/utils/node-result-extractor/index.test.ts @@ -0,0 +1,16 @@ +/* + * Copyright 2025 coze-dev Authors + * + * 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. + */ + diff --git a/frontend/packages/workflow/playground/src/node-registries/database/common/types.ts b/frontend/packages/workflow/playground/src/node-registries/database/common/types.ts index e69de29b..26a79f3b 100644 --- a/frontend/packages/workflow/playground/src/node-registries/database/common/types.ts +++ b/frontend/packages/workflow/playground/src/node-registries/database/common/types.ts @@ -0,0 +1,16 @@ +/* + * Copyright 2025 coze-dev Authors + * + * 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. + */ +