已合并
fix: 补充代码版权申明、三方引用申明、License文件 #81
fix: 补充代码版权申明、三方引用申明、License文件 #81
已合并
张雅晴创建于 4月10日
共 107 个文件变更+704-18
ALICENSE+201-0
@@ -0,0 +1,201 @@
1+ Apache License
2+ Version 2.0, January 2004
3+ http://www.apache.org/licenses/
4+ 
5+TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6+ 
7+1. Definitions.
8+ 
9+ "License" shall mean the terms and conditions for use, reproduction,
10+ and distribution as defined by Sections 1 through 9 of this document.
11+ 
12+ "Licensor" shall mean the copyright owner or entity authorized by
13+ the copyright owner that is granting the License.
14+ 
15+ "Legal Entity" shall mean the union of the acting entity and all
16+ other entities that control, are controlled by, or are under common
17+ control with that entity. For the purposes of this definition,
18+ "control" means (i) the power, direct or indirect, to cause the
19+ direction or management of such entity, whether by contract or
20+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21+ outstanding shares, or (iii) beneficial ownership of such entity.
22+ 
23+ "You" (or "Your") shall mean an individual or Legal Entity
24+ exercising permissions granted by this License.
25+ 
26+ "Source" form shall mean the preferred form for making modifications,
27+ including but not limited to software source code, documentation
28+ source, and configuration files.
29+ 
30+ "Object" form shall mean any form resulting from mechanical
31+ transformation or translation of a Source form, including but
32+ not limited to compiled object code, generated documentation,
33+ and conversions to other media types.
34+ 
35+ "Work" shall mean the work of authorship, whether in Source or
36+ Object form, made available under the License, as indicated by a
37+ copyright notice that is included in or attached to the work
38+ (an example is provided in the Appendix below).
39+ 
40+ "Derivative Works" shall mean any work, whether in Source or Object
41+ form, that is based on (or derived from) the Work and for which the
42+ editorial revisions, annotations, elaborations, or other modifications
43+ represent, as a whole, an original work of authorship. For the purposes
44+ of this License, Derivative Works shall not include works that remain
45+ separable from, or merely link (or bind by name) to the interfaces of,
46+ the Work and Derivative Works thereof.
47+ 
48+ "Contribution" shall mean any work of authorship, including
49+ the original version of the Work and any modifications or additions
50+ to that Work or Derivative Works thereof, that is intentionally
51+ submitted to Licensor for inclusion in the Work by the copyright owner
52+ or by an individual or Legal Entity authorized to submit on behalf of
53+ the copyright owner. For the purposes of this definition, "submitted"
54+ means any form of electronic, verbal, or written communication sent
55+ to the Licensor or its representatives, including but not limited to
56+ communication on electronic mailing lists, source code control systems,
57+ and issue tracking systems that are managed by, or on behalf of, the
58+ Licensor for the purpose of discussing and improving the Work, but
59+ excluding communication that is conspicuously marked or otherwise
60+ designated in writing by the copyright owner as "Not a Contribution."
61+ 
62+ "Contributor" shall mean Licensor and any individual or Legal Entity
63+ on behalf of whom a Contribution has been received by Licensor and
64+ subsequently incorporated within the Work.
65+ 
66+2. Grant of Copyright License. Subject to the terms and conditions of
67+ this License, each Contributor hereby grants to You a perpetual,
68+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69+ copyright license to reproduce, prepare Derivative Works of,
70+ publicly display, publicly perform, sublicense, and distribute the
71+ Work and such Derivative Works in Source or Object form.
72+ 
73+3. Grant of Patent License. Subject to the terms and conditions of
74+ this License, each Contributor hereby grants to You a perpetual,
75+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76+ (except as stated in this section) patent license to make, have made,
77+ use, offer to sell, sell, import, and otherwise transfer the Work,
78+ where such license applies only to those patent claims licensable
79+ by such Contributor that are necessarily infringed by their
80+ Contribution(s) alone or by combination of their Contribution(s)
81+ with the Work to which such Contribution(s) was submitted. If You
82+ institute patent litigation against any entity (including a
83+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84+ or a Contribution incorporated within the Work constitutes direct
85+ or contributory patent infringement, then any patent licenses
86+ granted to You under this License for that Work shall terminate
87+ as of the date such litigation is filed.
88+ 
89+4. Redistribution. You may reproduce and distribute copies of the
90+ Work or Derivative Works thereof in any medium, with or without
91+ modifications, and in Source or Object form, provided that You
92+ meet the following conditions:
93+ 
94+ (a) You must give any other recipients of the Work or
95+ Derivative Works a copy of this License; and
96+ 
97+ (b) You must cause any modified files to carry prominent notices
98+ stating that You changed the files; and
99+ 
100+ (c) You must retain, in the Source form of any Derivative Works
101+ that You distribute, all copyright, patent, trademark, and
102+ attribution notices from the Source form of the Work,
103+ excluding those notices that do not pertain to any part of
104+ the Derivative Works; and
105+ 
106+ (d) If the Work includes a "NOTICE" text file as part of its
107+ distribution, then any Derivative Works that You distribute must
108+ include a readable copy of the attribution notices contained
109+ within such NOTICE file, excluding those notices that do not
110+ pertain to any part of the Derivative Works, in at least one
111+ of the following places: within a NOTICE text file distributed
112+ as part of the Derivative Works; within the Source form or
113+ documentation, if provided along with the Derivative Works; or,
114+ within a display generated by the Derivative Works, if and
115+ wherever such third-party notices normally appear. The contents
116+ of the NOTICE file are for informational purposes only and
117+ do not modify the License. You may add Your own attribution
118+ notices within Derivative Works that You distribute, alongside
119+ or as an addendum to the NOTICE text from the Work, provided
120+ that such additional attribution notices cannot be construed
121+ as modifying the License.
122+ 
123+ You may add Your own copyright statement to Your modifications and
124+ may provide additional or different license terms and conditions
125+ for use, reproduction, or distribution of Your modifications, or
126+ for any such Derivative Works as a whole, provided Your use,
127+ reproduction, and distribution of the Work otherwise complies with
128+ the conditions stated in this License.
129+ 
130+5. Submission of Contributions. Unless You explicitly state otherwise,
131+ any Contribution intentionally submitted for inclusion in the Work
132+ by You to the Licensor shall be under the terms and conditions of
133+ this License, without any additional terms or conditions.
134+ Notwithstanding the above, nothing herein shall supersede or modify
135+ the terms of any separate license agreement you may have executed
136+ with Licensor regarding such Contributions.
137+ 
138+6. Trademarks. This License does not grant permission to use the trade
139+ names, trademarks, service marks, or product names of the Licensor,
140+ except as required for reasonable and customary use in describing the
141+ origin of the Work and reproducing the content of the NOTICE file.
142+ 
143+7. Disclaimer of Warranty. Unless required by applicable law or
144+ agreed to in writing, Licensor provides the Work (and each
145+ Contributor provides its Contributions) on an "AS IS" BASIS,
146+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147+ implied, including, without limitation, any warranties or conditions
148+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149+ PARTICULAR PURPOSE. You are solely responsible for determining the
150+ appropriateness of using or redistributing the Work and assume any
151+ risks associated with Your exercise of permissions under this License.
152+ 
153+8. Limitation of Liability. In no event and under no legal theory,
154+ whether in tort (including negligence), contract, or otherwise,
155+ unless required by applicable law (such as deliberate and grossly
156+ negligent acts) or agreed to in writing, shall any Contributor be
157+ liable to You for damages, including any direct, indirect, special,
158+ incidental, or consequential damages of any character arising as a
159+ result of this License or out of the use or inability to use the
160+ Work (including but not limited to damages for loss of goodwill,
161+ work stoppage, computer failure or malfunction, or any and all
162+ other commercial damages or losses), even if such Contributor
163+ has been advised of the possibility of such damages.
164+ 
165+9. Accepting Warranty or Additional Liability. While redistributing
166+ the Work or Derivative Works thereof, You may choose to offer,
167+ and charge a fee for, acceptance of support, warranty, indemnity,
168+ or other liability obligations and/or rights consistent with this
169+ License. However, in accepting such obligations, You may act only
170+ on Your own behalf and on Your sole responsibility, not on behalf
171+ of any other Contributor, and only if You agree to indemnify,
172+ defend, and hold each Contributor harmless for any liability
173+ incurred by, or claims asserted against, such Contributor by reason
174+ of your accepting any such warranty or additional liability.
175+ 
176+END OF TERMS AND CONDITIONS
177+ 
178+APPENDIX: How to apply the Apache License to your work.
179+ 
180+ To apply the Apache License to your work, attach the following
181+ boilerplate notice, with the fields enclosed by brackets "[]"
182+ replaced with your own identifying information. (Don't include
183+ the brackets!) The text should be enclosed in the appropriate
184+ comment syntax for the file format. We also recommend that a
185+ file or class name and description of purpose be included on the
186+ same "printed page" as the copyright notice for easier
187+ identification within third-party archives.
188+ 
189+Copyright [yyyy] [name of copyright owner]
190+ 
191+Licensed under the Apache License, Version 2.0 (the "License");
192+you may not use this file except in compliance with the License.
193+You may obtain a copy of the License at
194+ 
195+ http://www.apache.org/licenses/LICENSE-2.0
196+ 
197+Unless required by applicable law or agreed to in writing, software
198+distributed under the License is distributed on an "AS IS" BASIS,
199+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200+See the License for the specific language governing permissions and
201+limitations under the License.
@@ -0,0 +1,192 @@
1+OPEN SOURCE SOFTWARE NOTICE
2+ 
3+1. INTRODUCTION
4+This open source software notice ("Notice") applies to openJiuwen Agent Runtime ("Product").
5+The Product includes and/or is distributed with third-party software components licensed under open source licenses.
6+All rights in such third-party components remain with their respective copyright holders.
7+ 
8+2. LICENSE PRIORITY
9+For each third-party component, the applicable open source license terms govern the use, reproduction, modification,
10+and distribution of that component. If any term in Product-level agreements conflicts with an applicable open source
11+license for a specific component, the open source license controls for that component to the extent of the conflict.
12+ 
13+3. NO WARRANTY FOR OPEN SOURCE COMPONENTS
14+THE OPEN SOURCE COMPONENTS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
15+LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND NON-INFRINGEMENT.
16+TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, COPYRIGHT HOLDERS AND CONTRIBUTORS OF OPEN SOURCE COMPONENTS
17+SHALL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES.
18+ 
19+4. SCOPE AND VERSIONING
20+- Product: openJiuwen Agent Runtime
21+- Repository: agent-runtime
22+- Notice Version: 2.0 (Legal-Strict Draft)
23+- Last Updated: 2026-04-10
24+ 
25+5. COMPLIANCE DELIVERY MODEL
26+This Notice provides a consolidated attribution list and license references for representative direct dependencies declared
27+in this repository (including module-level pyproject.toml files). Depending on deployment method, platform, and installation
28+time, the final runtime image may include additional transitive dependencies.
29+ 
30+Where required by applicable licenses, corresponding notices and full license texts are provided through one or more of:
31+- This repository and distributed source archives;
32+- Installed package metadata (for example, *.dist-info directories);
33+- Official upstream repositories of the listed components.
34+ 
35+6. THIRD-PARTY COMPONENT LIST (SPDX-STYLE, REPRESENTATIVE)
36+The table below is provided for compliance and attribution convenience. It is not a limitation of rights granted by each
37+license and should be read together with upstream license files.
38+ 
39+6.1 Runtime / Core Dependencies
40+ 
41+- Name: Python
42+ Package: python
43+ Version: 3.11.x
44+ SPDX-License-Identifier: Python-2.0
45+ License URL: https://docs.python.org/3/license.html
46+ 
47+- Name: FastAPI
48+ Package: fastapi
49+ Version: 0.115.11
50+ SPDX-License-Identifier: MIT
51+ License URL: https://github.com/fastapi/fastapi/blob/master/LICENSE
52+ 
53+- Name: Uvicorn
54+ Package: uvicorn
55+ Version: 0.42.0
56+ SPDX-License-Identifier: BSD-3-Clause
57+ License URL: https://github.com/encode/uvicorn/blob/master/LICENSE.md
58+ 
59+- Name: Pydantic
60+ Package: pydantic
61+ Version: 2.11.7
62+ SPDX-License-Identifier: MIT
63+ License URL: https://github.com/pydantic/pydantic/blob/main/LICENSE
64+ 
65+- Name: Pydantic Settings
66+ Package: pydantic-settings
67+ Version: 2.5.2
68+ SPDX-License-Identifier: MIT
69+ License URL: https://github.com/pydantic/pydantic-settings/blob/main/LICENSE
70+ 
71+- Name: SQLAlchemy
72+ Package: sqlalchemy
73+ Version: 2.0.48
74+ SPDX-License-Identifier: MIT
75+ License URL: https://github.com/sqlalchemy/sqlalchemy/blob/main/LICENSE
76+ 
77+- Name: PyMySQL
78+ Package: pymysql
79+ Version: 1.1.1
80+ SPDX-License-Identifier: MIT
81+ License URL: https://github.com/PyMySQL/PyMySQL/blob/main/LICENSE
82+ 
83+- Name: cryptography
84+ Package: cryptography
85+ Version: >=42.0.0
86+ SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause
87+ License URL: https://github.com/pyca/cryptography/blob/main/LICENSE
88+ 
89+- Name: aiomysql
90+ Package: aiomysql
91+ Version: 0.2.0
92+ SPDX-License-Identifier: MIT
93+ License URL: https://github.com/aio-libs/aiomysql/blob/master/LICENSE
94+ 
95+- Name: aiosqlite
96+ Package: aiosqlite
97+ Version: 0.21.0
98+ SPDX-License-Identifier: MIT
99+ License URL: https://github.com/omnilib/aiosqlite/blob/main/LICENSE
100+ 
101+- Name: redis-py
102+ Package: redis
103+ Version: 7.1.0
104+ SPDX-License-Identifier: MIT
105+ License URL: https://github.com/redis/redis-py/blob/master/LICENSE
106+ 
107+- Name: aiohttp
108+ Package: aiohttp
109+ Version: >=3.9.0
110+ SPDX-License-Identifier: Apache-2.0
111+ License URL: https://github.com/aio-libs/aiohttp/blob/master/LICENSE.txt
112+ 
113+- Name: PyYAML
114+ Package: pyyaml
115+ Version: >=6.0
116+ SPDX-License-Identifier: MIT
117+ License URL: https://github.com/yaml/pyyaml/blob/main/LICENSE
118+ 
119+- Name: Click
120+ Package: click
121+ Version: >=8.0.0
122+ SPDX-License-Identifier: BSD-3-Clause
123+ License URL: https://github.com/pallets/click/blob/main/LICENSE.txt
124+ 
125+- Name: python-dotenv
126+ Package: python-dotenv
127+ Version: >=1.0.0
128+ SPDX-License-Identifier: BSD-3-Clause
129+ License URL: https://github.com/theskumar/python-dotenv/blob/main/LICENSE
130+ 
131+- Name: python-multipart
132+ Package: python-multipart
133+ Version: >=0.0.6
134+ SPDX-License-Identifier: Apache-2.0
135+ License URL: https://github.com/Kludex/python-multipart/blob/master/LICENSE.txt
136+ 
137+- Name: greenlet
138+ Package: greenlet
139+ Version: >=3.0.0
140+ SPDX-License-Identifier: MIT
141+ License URL: https://github.com/python-greenlet/greenlet/blob/master/LICENSE
142+ 
143+6.2 Build / QA / Tooling Dependencies
144+ 
145+- Name: build
146+ Package: build
147+ Version: >=1.0.0
148+ SPDX-License-Identifier: MIT
149+ License URL: https://github.com/pypa/build/blob/main/LICENSE
150+ 
151+- Name: ruff
152+ Package: ruff
153+ Version: 0.9.10
154+ SPDX-License-Identifier: MIT
155+ License URL: https://github.com/astral-sh/ruff/blob/main/LICENSE
156+ 
157+- Name: pytest
158+ Package: pytest
159+ Version: 8.3.5
160+ SPDX-License-Identifier: MIT
161+ License URL: https://github.com/pytest-dev/pytest/blob/main/LICENSE
162+ 
163+- Name: coverage.py
164+ Package: coverage
165+ Version: 7.8.0
166+ SPDX-License-Identifier: Apache-2.0
167+ License URL: https://github.com/nedbat/coveragepy/blob/master/LICENSE.txt
168+ 
169+- Name: pytest-asyncio
170+ Package: pytest-asyncio
171+ Version: 1.2.0
172+ SPDX-License-Identifier: Apache-2.0
173+ License URL: https://github.com/pytest-dev/pytest-asyncio/blob/main/LICENSE
174+ 
175+- Name: pytest-mock
176+ Package: pytest-mock
177+ Version: 3.14.0
178+ SPDX-License-Identifier: MIT
179+ License URL: https://github.com/pytest-dev/pytest-mock/blob/main/LICENSE
180+ 
181+7. LICENSE TEXT AND ATTRIBUTION REQUESTS
182+If any applicable attribution, notice, or license text is considered missing or incomplete, please contact project maintainers
183+to request correction in a subsequent notice update.
184+ 
185+8. TRADEMARK NOTICE
186+Names, logos, and marks of third-party projects are the property of their respective owners.
187+This Notice does not grant trademark rights for any third-party project.
188+ 
189+9. RESERVATION
190+This Notice is provided for compliance convenience and informational purposes. It does not modify or replace any rights or
191+obligations under the original open source licenses.
192+ 
Mapplications/ir_execution_service/dsl_workflow_dependency_loader.py+4-1文件内容审核中,请稍后刷新重试
Mapplications/ir_execution_service/invoke_api.py+4-1文件内容审核中,请稍后刷新重试
Mapplications/ir_execution_service/ir_execution_service_app.py+4-1文件内容审核中,请稍后刷新重试
Mapplications/ir_execution_service/react_agent_builder.py+3-0文件内容审核中,请稍后刷新重试
Mapplications/ir_execution_service/runtime_support/__init__.py+3-1文件内容审核中,请稍后刷新重试
Mapplications/ir_execution_service/runtime_support/error_logging.py+1-0文件内容审核中,请稍后刷新重试
Mapplications/ir_execution_service/runtime_support/execution_request.py+3-0文件内容审核中,请稍后刷新重试
Mapplications/ir_execution_service/runtime_support/http_response_contract.py+3-1文件内容审核中,请稍后刷新重试
Mapplications/ir_execution_service/runtime_support/ir_fetch.py+4-1文件内容审核中,请稍后刷新重试
Mapplications/ir_execution_service/runtime_support/memory_engine_start.py+3-1文件内容审核中,请稍后刷新重试
Mapplications/ir_execution_service/runtime_support/runtime_bootstrap.py+3-1文件内容审核中,请稍后刷新重试
Mapplications/ir_execution_service/runtime_support/runtime_env.py+3-1文件内容审核中,请稍后刷新重试
Mapplications/ir_execution_service/runtime_support/runtime_env_prepare.py+3-1文件内容审核中,请稍后刷新重试
Mapplications/ir_execution_service/stream_api.py+4-1文件内容审核中,请稍后刷新重试
Mapplications/ir_execution_service/test/obs_upload_download_smoke.py+3-0文件内容审核中,请稍后刷新重试
Mapplications/ir_execution_service/test/run_local_with_dotenv.py+3-0文件内容审核中,请稍后刷新重试
Mapplications/ir_execution_service/test/sandbox_smoke_wf_dsl2_code.py+3-0文件内容审核中,请稍后刷新重试
Mapplications/ir_execution_service/test/tavily_smoke_from_test_json.py+3-0文件内容审核中,请稍后刷新重试
Mapplications/ir_execution_service/test/test_ensure_ir_local_path.py+3-0文件内容审核中,请稍后刷新重试
Mapplications/ir_execution_service/workflow_ir_builder.py+4-1文件内容审核中,请稍后刷新重试
@@ -0,0 +1,2 @@
1+# coding: utf-8
2+# Copyright (c) Huawei Technologies Co., Ltd. 2026-2026. All rights reserved
@@ -0,0 +1,2 @@
1+# coding: utf-8
2+# Copyright (c) Huawei Technologies Co., Ltd. 2026-2026. All rights reserved
@@ -0,0 +1,2 @@
1+# coding: utf-8
2+# Copyright (c) Huawei Technologies Co., Ltd. 2026-2026. All rights reserved
@@ -1 +1,4 @@
1+# coding: utf-8
2+# Copyright (c) Huawei Technologies Co., Ltd. 2026-2026. All rights reserved
3+ 
1"""Agent Runtime Manager CLI"""4"""Agent Runtime Manager CLI"""
Mcli/openjiuwen_runtime/cli/main.py+4-1文件内容审核中,请稍后刷新重试
Mfoundation/openjiuwen_runtime/foundation/__init__.py+3-0文件内容审核中,请稍后刷新重试
Mfoundation/openjiuwen_runtime/foundation/config.py+4-1文件内容审核中,请稍后刷新重试
Mfoundation/openjiuwen_runtime/foundation/db/__init__.py+3-0文件内容审核中,请稍后刷新重试
Mfoundation/openjiuwen_runtime/foundation/db/handler.py+3-0文件内容审核中,请稍后刷新重试
Mfoundation/openjiuwen_runtime/foundation/db/mysql_handler.py+3-0文件内容审核中,请稍后刷新重试
Mfoundation/openjiuwen_runtime/foundation/db/redis_handler.py+3-0文件内容审核中,请稍后刷新重试
Mfoundation/openjiuwen_runtime/foundation/db/sqlalchemy_handler.py+3-0文件内容审核中,请稍后刷新重试
Mfoundation/openjiuwen_runtime/foundation/db/sqlite_handler.py+3-0文件内容审核中,请稍后刷新重试
Mfoundation/openjiuwen_runtime/foundation/db/table_def.py+3-0文件内容审核中,请稍后刷新重试
Mfoundation/openjiuwen_runtime/foundation/docker_utils.py+3-0文件内容审核中,请稍后刷新重试
Mfoundation/openjiuwen_runtime/foundation/log/__init__.py+3-0文件内容审核中,请稍后刷新重试
Mfoundation/openjiuwen_runtime/foundation/log/config.py+3-0文件内容审核中,请稍后刷新重试
Mfoundation/openjiuwen_runtime/foundation/log/handler.py+3-0文件内容审核中,请稍后刷新重试
Mfoundation/openjiuwen_runtime/foundation/log/utils.py+3-0文件内容审核中,请稍后刷新重试
Mfoundation/openjiuwen_runtime/foundation/packaging.py+3-0文件内容审核中,请稍后刷新重试
Mfoundation/openjiuwen_runtime/foundation/port_utils.py+3-0文件内容审核中,请稍后刷新重试
Mfoundation/openjiuwen_runtime/foundation/venv_manager.py+3-0文件内容审核中,请稍后刷新重试
Mfoundation/pyproject.toml+1-0文件内容审核中,请稍后刷新重试
@@ -1 +1,2 @@
1- 1+# coding: utf-8
2+# Copyright (c) Huawei Technologies Co., Ltd. 2026-2026. All rights reserved
@@ -0,0 +1,2 @@
1+# coding: utf-8
2+# Copyright (c) Huawei Technologies Co., Ltd. 2026-2026. All rights reserved
Mfoundation/tests/unit_tests/test_log.py+3-0文件内容审核中,请稍后刷新重试
Mfoundation/tests/unit_tests/test_sqlite_handler.py+3-0文件内容审核中,请稍后刷新重试
Mmanagement/openjiuwen_runtime/management/__init__.py+3-0文件内容审核中,请稍后刷新重试
@@ -1,3 +1,6 @@
1+# coding: utf-8
2+# Copyright (c) Huawei Technologies Co., Ltd. 2026-2026. All rights reserved
3+ 
1"""部署模块4"""部署模块
2 5 
3提供三种部署模式:6提供三种部署模式:
@@ -1,3 +1,6 @@
1+# coding: utf-8
2+# Copyright (c) Huawei Technologies Co., Ltd. 2026-2026. All rights reserved
3+ 
1from .deployer import (4from .deployer import (
2 Deployer,5 Deployer,
3)6)
@@ -1,3 +1,6 @@
1+# coding: utf-8
2+# Copyright (c) Huawei Technologies Co., Ltd. 2026-2026. All rights reserved
3+ 
1"""部署器抽象基类"""4"""部署器抽象基类"""
2 5 
3from abc import ABC, abstractmethod6from abc import ABC, abstractmethod
@@ -1,3 +1,6 @@
1+# coding: utf-8
2+# Copyright (c) Huawei Technologies Co., Ltd. 2026-2026. All rights reserved
3+ 
1"""部署模块基础数据结构"""4"""部署模块基础数据结构"""
2 5 
3from dataclasses import dataclass, field6from dataclasses import dataclass, field
Mmanagement/openjiuwen_runtime/management/deployments/base/strategy.py+3-0文件内容审核中,请稍后刷新重试
Mmanagement/openjiuwen_runtime/management/deployments/docker/__init__.py+3-0文件内容审核中,请稍后刷新重试
Mmanagement/openjiuwen_runtime/management/deployments/docker/deployer.py+3-0文件内容审核中,请稍后刷新重试
@@ -1,3 +1,6 @@
1+# coding: utf-8
2+# Copyright (c) Huawei Technologies Co., Ltd. 2026-2026. All rights reserved
3+ 
1"""Docker 部署模块数据模型"""4"""Docker 部署模块数据模型"""
2 5 
3from dataclasses import dataclass, field6from dataclasses import dataclass, field
Mmanagement/openjiuwen_runtime/management/deployments/docker/strategy.py+3-0文件内容审核中,请稍后刷新重试
@@ -1,3 +1,6 @@
1+# coding: utf-8
2+# Copyright (c) Huawei Technologies Co., Ltd. 2026-2026. All rights reserved
3+ 
1"""K8s 部署模块"""4"""K8s 部署模块"""
2 5 
3from .models import K8sParams, K8sInfo, K8sCreate, K8S_TABLE_DEF6from .models import K8sParams, K8sInfo, K8sCreate, K8S_TABLE_DEF
Mmanagement/openjiuwen_runtime/management/deployments/k8s/deployer.py+3-0文件内容审核中,请稍后刷新重试
Mmanagement/openjiuwen_runtime/management/deployments/k8s/models.py+3-0文件内容审核中,请稍后刷新重试
@@ -1,3 +1,6 @@
1+# coding: utf-8
2+# Copyright (c) Huawei Technologies Co., Ltd. 2026-2026. All rights reserved
3+ 
1"""K8s 部署策略"""4"""K8s 部署策略"""
2 5 
3from datetime import datetime6from datetime import datetime
Mmanagement/openjiuwen_runtime/management/deployments/subprocess/__init__.py+3-0文件内容审核中,请稍后刷新重试
Mmanagement/openjiuwen_runtime/management/deployments/subprocess/deployer.py+3-0文件内容审核中,请稍后刷新重试
@@ -1,3 +1,6 @@
1+# coding: utf-8
2+# Copyright (c) Huawei Technologies Co., Ltd. 2026-2026. All rights reserved
3+ 
1"""Subprocess 部署模块数据模型"""4"""Subprocess 部署模块数据模型"""
2 5 
3from dataclasses import dataclass6from dataclasses import dataclass
Mmanagement/openjiuwen_runtime/management/deployments/subprocess/strategy.py+3-0文件内容审核中,请稍后刷新重试
Mmanagement/openjiuwen_runtime/management/manager.py+3-0文件内容审核中,请稍后刷新重试
Mmanagement/openjiuwen_runtime/management/models/__init__.py+3-0文件内容审核中,请稍后刷新重试
Mmanagement/openjiuwen_runtime/management/models/enums.py+3-0文件内容审核中,请稍后刷新重试
Mmanagement/openjiuwen_runtime/management/models/schemas.py+3-0文件内容审核中,请稍后刷新重试
@@ -1 +1,2 @@
1- 1+# coding: utf-8
2+# Copyright (c) Huawei Technologies Co., Ltd. 2026-2026. All rights reserved
Mmanagement/tests/resources/examples/simple_agent/simple_agent/__init__.py+3-0文件内容审核中,请稍后刷新重试
Mmanagement/tests/resources/examples/simple_agent/simple_agent/__main__.py+3-0文件内容审核中,请稍后刷新重试
Mmanagement/tests/resources/examples/simple_plugin/simple_plugin.py+4-1文件内容审核中,请稍后刷新重试
@@ -0,0 +1,2 @@
1+# coding: utf-8
2+# Copyright (c) Huawei Technologies Co., Ltd. 2026-2026. All rights reserved
Mmanagement/tests/system_tests/test_manager.py+3-0文件内容审核中,请稍后刷新重试
Mserver/openjiuwen_runtime/server/__init__.py+3-0文件内容审核中,请稍后刷新重试
@@ -0,0 +1,2 @@
1+# coding: utf-8
2+# Copyright (c) Huawei Technologies Co., Ltd. 2026-2026. All rights reserved
Mserver/openjiuwen_runtime/server/main.py+3-0文件内容审核中,请稍后刷新重试
Mserver/openjiuwen_runtime/server/middleware/tenant.py+3-0文件内容审核中,请稍后刷新重试
Mserver/openjiuwen_runtime/server/models/__init__.py+3-0文件内容审核中,请稍后刷新重试
Mserver/openjiuwen_runtime/server/models/request.py+3-0文件内容审核中,请稍后刷新重试
@@ -1,3 +1,6 @@
1+# coding: utf-8
2+# Copyright (c) Huawei Technologies Co., Ltd. 2026-2026. All rights reserved
3+ 
1"""OSS Client Module"""4"""OSS Client Module"""
2 5 
3from .client import MockOSSClient6from .client import MockOSSClient
Mserver/openjiuwen_runtime/server/oss/client.py+3-0文件内容审核中,请稍后刷新重试
Mserver/openjiuwen_runtime/server/utils.py+3-0文件内容审核中,请稍后刷新重试
Mservice/examples/calculator_plugin_app.py+3-0文件内容审核中,请稍后刷新重试
Mservice/examples/multi_agent_group.py+3-0文件内容审核中,请稍后刷新重试
Mservice/examples/simple_agent_app.py+3-0文件内容审核中,请稍后刷新重试
Mservice/openjiuwen_runtime/service/__init__.py+3-0文件内容审核中,请稍后刷新重试
@@ -1,3 +1,6 @@
1+# coding: utf-8
2+# Copyright (c) Huawei Technologies Co., Ltd. 2026-2026. All rights reserved
3+ 
1"""4"""
2openjiuwen-runtime-sdk 的核心模块5openjiuwen-runtime-sdk 的核心模块
3 6 
Mservice/openjiuwen_runtime/service/app/agent_app.py+3-0文件内容审核中,请稍后刷新重试
Mservice/openjiuwen_runtime/service/app/app_group.py+3-0文件内容审核中,请稍后刷新重试
Mservice/openjiuwen_runtime/service/app/base_app.py+3-0文件内容审核中,请稍后刷新重试
@@ -1,3 +1,6 @@
1+# coding: utf-8
2+# Copyright (c) Huawei Technologies Co., Ltd. 2026-2026. All rights reserved
3+ 
1"""4"""
2Middleware - 中间件基类和上下文5Middleware - 中间件基类和上下文
3 6 
Mservice/openjiuwen_runtime/service/app/plugin_app.py+3-0文件内容审核中,请稍后刷新重试
Mservice/openjiuwen_runtime/service/app/restful.py+3-0文件内容审核中,请稍后刷新重试
Mservice/openjiuwen_runtime/service/models/__init__.py+3-0文件内容审核中,请稍后刷新重试
Mservice/openjiuwen_runtime/service/models/request.py+3-0文件内容审核中,请稍后刷新重试
Mservice/tests/unit_tests/test_middleware.py+3-0文件内容审核中,请稍后刷新重试