| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
feat(service): 增加锁、缓存与资源装配能力 Co-authored-by: m0u55e<mayanxin3@huawei.com> # message auto-generated for no-merge-commit merge: !413 merge feature/service-locks into develop feat(service): 增加锁、缓存与资源装配能力 Created-by: m0u55e Commit-by: m0u55e Merged-by: wangmingqi Description: Paired: [GitHub #36](https://github.com/openJiuwen-ai/agent-runtime/pull/36) ↔ [GitCode !413](https://gitcode.com/openJiuwen/agent-runtime/merge_requests/413) <!-- Thanks for sending a pull request! Here are some tips for you: 1) If this is your first time, please read our contributor guidelines: https://gitcode.com/openJiuwen/community/blob/master/CONTRIBUTING.md 2) If you want to contribute your code but don't know who will review and merge, please add label openjiuwen-assistant to the pull request, we will find and do it as soon as possible. --> **What type of PR is this?** <!-- 选择下面一种标签替换下方 /kind <label>,可选标签类型有: - /kind bug - /kind task - /kind feature - /kind refactor - /kind clean_code 如PR描述不符合规范,修改PR描述后需要/check-pr重新检查PR规范。 --> /kind feature **Self-checklist**:(**请自检,在[ ]内打上x,我们将检视你的完成情况,否则会导致pr无法合入**) + - [x] **设计**:PR对应的方案是否已经经过Maintainer评审,方案检视意见是否均已答复并完成方案修改 + - [x] **测试**:PR中的代码是否已有UT/ST测试用例进行充分的覆盖,新增测试用例是否随本PR一并上库或已经上库 + - [x] **验证**:PR描述信息中是否已包含对该PR对应的Feature、Refactor、Bugfix的预期目标达成情况的详细验证结果描述 + - [x] **接口**:是否涉及对外接口变更,相应变更已得到接口评审组织的通过,API对应的注释信息已经刷新正确 + - [ ] **文档**:是否涉及官网文档修改,如果涉及请及时提交资料到Doc仓 <!-- **Special notes for your reviewers**: --> <!-- + - [ ] 是否导致无法前向兼容 --> <!-- + - [ ] 是否涉及依赖的三方库变更 --> <!-- bot4-pr-sync-meta schema_version: 1 source: gitcode gitcode_repo: openJiuwen/agent-runtime gitcode_mr: 413 github_repo: openJiuwen-ai/agent-runtime github_pr: 36 github_branch: sync/pr-413 --> See merge request: openJiuwen/agent-runtime!413 | 1 个月前 | |
feat(service): 增强请求上下文生命周期与数据能力 Co-authored-by: m0u55e<mayanxin3@huawei.com> # message auto-generated for no-merge-commit merge: !411 merge feature/service-context-core into develop feat(service): 增强请求上下文生命周期与数据能力 Created-by: m0u55e Commit-by: m0u55e Merged-by: cyz95 Description: Paired: [GitHub #33](https://github.com/openJiuwen-ai/agent-runtime/pull/33) ↔ [GitCode !411](https://gitcode.com/openJiuwen/agent-runtime/merge_requests/411) <!-- Thanks for sending a pull request! Here are some tips for you: 1) If this is your first time, please read our contributor guidelines: https://gitcode.com/openJiuwen/community/blob/master/CONTRIBUTING.md 2) If you want to contribute your code but don't know who will review and merge, please add label openjiuwen-assistant to the pull request, we will find and do it as soon as possible. --> **What type of PR is this?** <!-- 选择下面一种标签替换下方 /kind <label>,可选标签类型有: - /kind bug - /kind task - /kind feature - /kind refactor - /kind clean_code 如PR描述不符合规范,修改PR描述后需要/check-pr重新检查PR规范。 --> /kind feature **Self-checklist**:(**请自检,在[ ]内打上x,我们将检视你的完成情况,否则会导致pr无法合入**) + - [x] **设计**:PR对应的方案是否已经经过Maintainer评审,方案检视意见是否均已答复并完成方案修改 + - [x] **测试**:PR中的代码是否已有UT/ST测试用例进行充分的覆盖,新增测试用例是否随本PR一并上库或已经上库 + - [x] **验证**:PR描述信息中是否已包含对该PR对应的Feature、Refactor、Bugfix的预期目标达成情况的详细验证结果描述 + - [x] **接口**:是否涉及对外接口变更,相应变更已得到接口评审组织的通过,API对应的注释信息已经刷新正确 + - [x] **文档**:是否涉及官网文档修改,如果涉及请及时提交资料到Doc仓 <!-- **Special notes for your reviewers**: --> <!-- + - [ ] 是否导致无法前向兼容 --> <!-- + - [ ] 是否涉及依赖的三方库变更 --> <!-- bot4-pr-sync-meta schema_version: 1 source: gitcode gitcode_repo: openJiuwen/agent-runtime gitcode_mr: 411 github_repo: openJiuwen-ai/agent-runtime github_pr: 33 github_branch: sync/pr-411 --> See merge request: openJiuwen/agent-runtime!411 | 1 个月前 | |
feat(service):上下文能力demo、集成Kubernetes至上下文 Co-authored-by: m0u55e<mayanxin3@huawei.com> # message auto-generated for no-merge-commit merge: !418 merge simple-demo into develop feat(service):上下文能力demo、集成Kubernetes至上下文 Created-by: m0u55e Commit-by: m0u55e Merged-by: cyz95 Description: Paired: [GitHub #50](https://github.com/openJiuwen-ai/agent-runtime/pull/50) ↔ [GitCode !418](https://gitcode.com/openJiuwen/agent-runtime/merge_requests/418) <!-- Thanks for sending a pull request! Here are some tips for you: 1) If this is your first time, please read our contributor guidelines: https://gitcode.com/openJiuwen/community/blob/master/CONTRIBUTING.md 2) If you want to contribute your code but don't know who will review and merge, please add label openjiuwen-assistant to the pull request, we will find and do it as soon as possible. --> **What type of PR is this?** <!-- 选择下面一种标签替换下方 /kind <label>,可选标签类型有: - /kind bug - /kind task - /kind feature - /kind refactor - /kind clean_code 如PR描述不符合规范,修改PR描述后需要/check-pr重新检查PR规范。 --> /kind feature **Self-checklist**:(**请自检,在[ ]内打上x,我们将检视你的完成情况,否则会导致pr无法合入**) + - [x] **设计**:PR对应的方案是否已经经过Maintainer评审,方案检视意见是否均已答复并完成方案修改 + - [x] **测试**:PR中的代码是否已有UT/ST测试用例进行充分的覆盖,新增测试用例是否随本PR一并上库或已经上库 + - [x] **验证**:PR描述信息中是否已包含对该PR对应的Feature、Refactor、Bugfix的预期目标达成情况的详细验证结果描述 + - [x] **接口**:是否涉及对外接口变更,相应变更已得到接口评审组织的通过,API对应的注释信息已经刷新正确 + - [x] **文档**:是否涉及官网文档修改,如果涉及请及时提交资料到Doc仓 <!-- **Special notes for your reviewers**: --> <!-- + - [ ] 是否导致无法前向兼容 --> <!-- + - [ ] 是否涉及依赖的三方库变更 --> ## Summary 新增可部署的 Service 能力 Demo service/examples/simple_capabilities_app.py,通过 8 个 HTTP 接口展示数据库、Redis、Envelope 和 Kubernetes 能力。 Demo 从 .env 文件读取运行配置,本地环境使用 SQLite、FakeRedis 和 Fake Kubernetes,服务器环境使用 MySQL、Redis 和 kubernetes_asyncio。 将 Kubernetes Pod 操作抽象为系统能力,统一装配到 SystemContext,Handler 可通过 RequestContext 调用 Pod 查询、创建和删除接口。 ### 核心能力 - 提供数据库读写接口 POST /api/db/read 和 POST /api/db/write - 提供 Redis 读写接口 POST /api/redis/read 和 POST /api/redis/write - Redis 写入支持命名空间隔离、自定义 TTL 和默认 TTL 配置 - 提供 Envelope 解析接口 POST /api/envelope/inspect,返回 Envelope、Metadata、RequestContext 和服务环境信息 - 定义统一的 Kubernetes 操作协议及 Pod 创建、摘要和删除结果模型 - 提供 Pod 查询、创建和删除接口 POST /api/k8s/pod/read、POST /api/k8s/pod/create 和 POST /api/k8s/pod/delete - 提供 Fake Kubernetes 和基于 kubernetes_asyncio 的真实 Kubernetes 实现 - 将 Kubernetes 纳入 SystemContext 的启动、探活、健康检查和资源释放流程 - 真实 Kubernetes 模式支持集群内配置和 kubeconfig,并使用固定 namespace、管理标签和受限 Pod 模板 - 提供本地和服务器 .env 配置模板、Swagger/OpenAPI 调试入口、部署说明及 RBAC 配置示例 - 补充配置校验、上下文生命周期、Kubernetes 适配器和 8 个 Demo 接口的单元测试 <!-- bot4-pr-sync-meta schema_version: 1 source: gitcode gitcode_repo: openJiuwen/agent-runtime gitcode_mr: 418 github_repo: openJiuwen-ai/agent-runtime github_pr: 50 github_branch: sync/pr-418 --> See merge request: openJiuwen/agent-runtime!418 | 1 个月前 | |
feat(service): 增加锁、缓存与资源装配能力 Co-authored-by: m0u55e<mayanxin3@huawei.com> # message auto-generated for no-merge-commit merge: !413 merge feature/service-locks into develop feat(service): 增加锁、缓存与资源装配能力 Created-by: m0u55e Commit-by: m0u55e Merged-by: wangmingqi Description: Paired: [GitHub #36](https://github.com/openJiuwen-ai/agent-runtime/pull/36) ↔ [GitCode !413](https://gitcode.com/openJiuwen/agent-runtime/merge_requests/413) <!-- Thanks for sending a pull request! Here are some tips for you: 1) If this is your first time, please read our contributor guidelines: https://gitcode.com/openJiuwen/community/blob/master/CONTRIBUTING.md 2) If you want to contribute your code but don't know who will review and merge, please add label openjiuwen-assistant to the pull request, we will find and do it as soon as possible. --> **What type of PR is this?** <!-- 选择下面一种标签替换下方 /kind <label>,可选标签类型有: - /kind bug - /kind task - /kind feature - /kind refactor - /kind clean_code 如PR描述不符合规范,修改PR描述后需要/check-pr重新检查PR规范。 --> /kind feature **Self-checklist**:(**请自检,在[ ]内打上x,我们将检视你的完成情况,否则会导致pr无法合入**) + - [x] **设计**:PR对应的方案是否已经经过Maintainer评审,方案检视意见是否均已答复并完成方案修改 + - [x] **测试**:PR中的代码是否已有UT/ST测试用例进行充分的覆盖,新增测试用例是否随本PR一并上库或已经上库 + - [x] **验证**:PR描述信息中是否已包含对该PR对应的Feature、Refactor、Bugfix的预期目标达成情况的详细验证结果描述 + - [x] **接口**:是否涉及对外接口变更,相应变更已得到接口评审组织的通过,API对应的注释信息已经刷新正确 + - [ ] **文档**:是否涉及官网文档修改,如果涉及请及时提交资料到Doc仓 <!-- **Special notes for your reviewers**: --> <!-- + - [ ] 是否导致无法前向兼容 --> <!-- + - [ ] 是否涉及依赖的三方库变更 --> <!-- bot4-pr-sync-meta schema_version: 1 source: gitcode gitcode_repo: openJiuwen/agent-runtime gitcode_mr: 413 github_repo: openJiuwen-ai/agent-runtime github_pr: 36 github_branch: sync/pr-413 --> See merge request: openJiuwen/agent-runtime!413 | 1 个月前 | |
feat(service): 增强请求上下文生命周期与数据能力 Co-authored-by: m0u55e<mayanxin3@huawei.com> # message auto-generated for no-merge-commit merge: !411 merge feature/service-context-core into develop feat(service): 增强请求上下文生命周期与数据能力 Created-by: m0u55e Commit-by: m0u55e Merged-by: cyz95 Description: Paired: [GitHub #33](https://github.com/openJiuwen-ai/agent-runtime/pull/33) ↔ [GitCode !411](https://gitcode.com/openJiuwen/agent-runtime/merge_requests/411) <!-- Thanks for sending a pull request! Here are some tips for you: 1) If this is your first time, please read our contributor guidelines: https://gitcode.com/openJiuwen/community/blob/master/CONTRIBUTING.md 2) If you want to contribute your code but don't know who will review and merge, please add label openjiuwen-assistant to the pull request, we will find and do it as soon as possible. --> **What type of PR is this?** <!-- 选择下面一种标签替换下方 /kind <label>,可选标签类型有: - /kind bug - /kind task - /kind feature - /kind refactor - /kind clean_code 如PR描述不符合规范,修改PR描述后需要/check-pr重新检查PR规范。 --> /kind feature **Self-checklist**:(**请自检,在[ ]内打上x,我们将检视你的完成情况,否则会导致pr无法合入**) + - [x] **设计**:PR对应的方案是否已经经过Maintainer评审,方案检视意见是否均已答复并完成方案修改 + - [x] **测试**:PR中的代码是否已有UT/ST测试用例进行充分的覆盖,新增测试用例是否随本PR一并上库或已经上库 + - [x] **验证**:PR描述信息中是否已包含对该PR对应的Feature、Refactor、Bugfix的预期目标达成情况的详细验证结果描述 + - [x] **接口**:是否涉及对外接口变更,相应变更已得到接口评审组织的通过,API对应的注释信息已经刷新正确 + - [x] **文档**:是否涉及官网文档修改,如果涉及请及时提交资料到Doc仓 <!-- **Special notes for your reviewers**: --> <!-- + - [ ] 是否导致无法前向兼容 --> <!-- + - [ ] 是否涉及依赖的三方库变更 --> <!-- bot4-pr-sync-meta schema_version: 1 source: gitcode gitcode_repo: openJiuwen/agent-runtime gitcode_mr: 411 github_repo: openJiuwen-ai/agent-runtime github_pr: 33 github_branch: sync/pr-411 --> See merge request: openJiuwen/agent-runtime!411 | 1 个月前 | |
feat(service):上下文能力demo、集成Kubernetes至上下文 Co-authored-by: m0u55e<mayanxin3@huawei.com> # message auto-generated for no-merge-commit merge: !418 merge simple-demo into develop feat(service):上下文能力demo、集成Kubernetes至上下文 Created-by: m0u55e Commit-by: m0u55e Merged-by: cyz95 Description: Paired: [GitHub #50](https://github.com/openJiuwen-ai/agent-runtime/pull/50) ↔ [GitCode !418](https://gitcode.com/openJiuwen/agent-runtime/merge_requests/418) <!-- Thanks for sending a pull request! Here are some tips for you: 1) If this is your first time, please read our contributor guidelines: https://gitcode.com/openJiuwen/community/blob/master/CONTRIBUTING.md 2) If you want to contribute your code but don't know who will review and merge, please add label openjiuwen-assistant to the pull request, we will find and do it as soon as possible. --> **What type of PR is this?** <!-- 选择下面一种标签替换下方 /kind <label>,可选标签类型有: - /kind bug - /kind task - /kind feature - /kind refactor - /kind clean_code 如PR描述不符合规范,修改PR描述后需要/check-pr重新检查PR规范。 --> /kind feature **Self-checklist**:(**请自检,在[ ]内打上x,我们将检视你的完成情况,否则会导致pr无法合入**) + - [x] **设计**:PR对应的方案是否已经经过Maintainer评审,方案检视意见是否均已答复并完成方案修改 + - [x] **测试**:PR中的代码是否已有UT/ST测试用例进行充分的覆盖,新增测试用例是否随本PR一并上库或已经上库 + - [x] **验证**:PR描述信息中是否已包含对该PR对应的Feature、Refactor、Bugfix的预期目标达成情况的详细验证结果描述 + - [x] **接口**:是否涉及对外接口变更,相应变更已得到接口评审组织的通过,API对应的注释信息已经刷新正确 + - [x] **文档**:是否涉及官网文档修改,如果涉及请及时提交资料到Doc仓 <!-- **Special notes for your reviewers**: --> <!-- + - [ ] 是否导致无法前向兼容 --> <!-- + - [ ] 是否涉及依赖的三方库变更 --> ## Summary 新增可部署的 Service 能力 Demo service/examples/simple_capabilities_app.py,通过 8 个 HTTP 接口展示数据库、Redis、Envelope 和 Kubernetes 能力。 Demo 从 .env 文件读取运行配置,本地环境使用 SQLite、FakeRedis 和 Fake Kubernetes,服务器环境使用 MySQL、Redis 和 kubernetes_asyncio。 将 Kubernetes Pod 操作抽象为系统能力,统一装配到 SystemContext,Handler 可通过 RequestContext 调用 Pod 查询、创建和删除接口。 ### 核心能力 - 提供数据库读写接口 POST /api/db/read 和 POST /api/db/write - 提供 Redis 读写接口 POST /api/redis/read 和 POST /api/redis/write - Redis 写入支持命名空间隔离、自定义 TTL 和默认 TTL 配置 - 提供 Envelope 解析接口 POST /api/envelope/inspect,返回 Envelope、Metadata、RequestContext 和服务环境信息 - 定义统一的 Kubernetes 操作协议及 Pod 创建、摘要和删除结果模型 - 提供 Pod 查询、创建和删除接口 POST /api/k8s/pod/read、POST /api/k8s/pod/create 和 POST /api/k8s/pod/delete - 提供 Fake Kubernetes 和基于 kubernetes_asyncio 的真实 Kubernetes 实现 - 将 Kubernetes 纳入 SystemContext 的启动、探活、健康检查和资源释放流程 - 真实 Kubernetes 模式支持集群内配置和 kubeconfig,并使用固定 namespace、管理标签和受限 Pod 模板 - 提供本地和服务器 .env 配置模板、Swagger/OpenAPI 调试入口、部署说明及 RBAC 配置示例 - 补充配置校验、上下文生命周期、Kubernetes 适配器和 8 个 Demo 接口的单元测试 <!-- bot4-pr-sync-meta schema_version: 1 source: gitcode gitcode_repo: openJiuwen/agent-runtime gitcode_mr: 418 github_repo: openJiuwen-ai/agent-runtime github_pr: 50 github_branch: sync/pr-418 --> See merge request: openJiuwen/agent-runtime!418 | 1 个月前 | |
feat(service): 新增可扩展 Handler 与联合认证示例 Co-authored-by: whq<whqxbs@163.com> # message auto-generated for no-merge-commit merge: !412 merge feat/service-extensible-example into develop feat(service): 新增可扩展 Handler 与联合认证示例 Created-by: u010240195 Commit-by: whq Merged-by: cyz95 Description: Paired: [GitHub #34](https://github.com/openJiuwen-ai/agent-runtime/pull/34) ↔ [GitCode !412](https://gitcode.com/openJiuwen/agent-runtime/merge_requests/412) ## 背景 基于最新 develop 的 Service Framework 示例,补齐可组合 Handler、明确的 REST/SSE OpenAPI 路由以及 FastAPI 原生 OAuth2/联合认证演示。 ## 主要变更 - 新增统一的普通/流式 Handler 对象接口和 HandlerSpec。 - 支持 app.register、register_all、include 及独立 HandlerRegistry 模块。 - 每个 Handler 生成明确的 REST 路径、请求/响应模型和 OpenAPI 描述。 - 保留最新 develop 的强类型请求、超时、中断和 RequestContext 清理语义。 - 新增异步 OAuth2 Authorization Code + PKCE 访问控制示例。 - 新增模块化联合身份 Provider、内存测试 Store 和 SQLite 示例 Store。 - 增加完整开发者 README、UT 和 ST。 ## 边界 Enterprise Demo IdP 只用于演示浏览器和身份映射链路,不解析或验证真实 SAML XML;生产接入要求在 FederationProvider 后实现完整 SAML 校验并替换示例 OAuth2 Server/Store。 ## 验证 - uv run pytest -q:117 passed - uv run ruff check .:passed <!-- bot4-pr-sync-meta schema_version: 1 source: gitcode gitcode_repo: openJiuwen/agent-runtime gitcode_mr: 412 github_repo: openJiuwen-ai/agent-runtime github_pr: 34 github_branch: sync/pr-412 --> See merge request: openJiuwen/agent-runtime!412 | 1 个月前 | |
feat(service): 新增可扩展 Handler 与联合认证示例 Co-authored-by: whq<whqxbs@163.com> # message auto-generated for no-merge-commit merge: !412 merge feat/service-extensible-example into develop feat(service): 新增可扩展 Handler 与联合认证示例 Created-by: u010240195 Commit-by: whq Merged-by: cyz95 Description: Paired: [GitHub #34](https://github.com/openJiuwen-ai/agent-runtime/pull/34) ↔ [GitCode !412](https://gitcode.com/openJiuwen/agent-runtime/merge_requests/412) ## 背景 基于最新 develop 的 Service Framework 示例,补齐可组合 Handler、明确的 REST/SSE OpenAPI 路由以及 FastAPI 原生 OAuth2/联合认证演示。 ## 主要变更 - 新增统一的普通/流式 Handler 对象接口和 HandlerSpec。 - 支持 app.register、register_all、include 及独立 HandlerRegistry 模块。 - 每个 Handler 生成明确的 REST 路径、请求/响应模型和 OpenAPI 描述。 - 保留最新 develop 的强类型请求、超时、中断和 RequestContext 清理语义。 - 新增异步 OAuth2 Authorization Code + PKCE 访问控制示例。 - 新增模块化联合身份 Provider、内存测试 Store 和 SQLite 示例 Store。 - 增加完整开发者 README、UT 和 ST。 ## 边界 Enterprise Demo IdP 只用于演示浏览器和身份映射链路,不解析或验证真实 SAML XML;生产接入要求在 FederationProvider 后实现完整 SAML 校验并替换示例 OAuth2 Server/Store。 ## 验证 - uv run pytest -q:117 passed - uv run ruff check .:passed <!-- bot4-pr-sync-meta schema_version: 1 source: gitcode gitcode_repo: openJiuwen/agent-runtime gitcode_mr: 412 github_repo: openJiuwen-ai/agent-runtime github_pr: 34 github_branch: sync/pr-412 --> See merge request: openJiuwen/agent-runtime!412 | 1 个月前 | |
feat(auth): 集成联合认证与Manager登录 Co-authored-by: whq<whqxbs@163.com> # message auto-generated for no-merge-commit merge: !427 merge feat/service-federated-auth-core into develop feat(auth): 集成联合认证与Manager登录 Created-by: u010240195 Commit-by: whq Merged-by: wangmingqi Description: Paired: [GitHub #58](https://github.com/openJiuwen-ai/agent-runtime/pull/58) ↔ [GitCode !427](https://gitcode.com/openJiuwen/agent-runtime/merge_requests/427) <!-- Thanks for sending a pull request! Here are some tips for you: 1) If this is your first time, please read our contributor guidelines: https://gitcode.com/openJiuwen/community/blob/master/CONTRIBUTING.md 2) If you want to contribute your code but don't know who will review and merge, please add label openjiuwen-assistant to the pull request, we will find and do it as soon as possible. --> **What type of PR is this?** <!-- 选择下面一种标签替换下方 /kind <label>,可选标签类型有: - /kind bug - /kind task - /kind feature - /kind refactor - /kind clean_code 如PR描述不符合规范,修改PR描述后需要/check-pr重新检查PR规范。 --> /kind <label> **Self-checklist**:(**请自检,在[ ]内打上x,我们将检视你的完成情况,否则会导致pr无法合入**) + - [ ] **设计**:PR对应的方案是否已经经过Maintainer评审,方案检视意见是否均已答复并完成方案修改 + - [ ] **测试**:PR中的代码是否已有UT/ST测试用例进行充分的覆盖,新增测试用例是否随本PR一并上库或已经上库 + - [ ] **验证**:PR描述信息中是否已包含对该PR对应的Feature、Refactor、Bugfix的预期目标达成情况的详细验证结果描述 + - [ ] **接口**:是否涉及对外接口变更,相应变更已得到接口评审组织的通过,API对应的注释信息已经刷新正确 + - [ ] **文档**:是否涉及官网文档修改,如果涉及请及时提交资料到Doc仓 <!-- **Special notes for your reviewers**: --> <!-- + - [ ] 是否导致无法前向兼容 --> <!-- + - [ ] 是否涉及依赖的三方库变更 --> <!-- bot4-pr-sync-meta schema_version: 1 source: gitcode gitcode_repo: openJiuwen/agent-runtime gitcode_mr: 427 github_repo: openJiuwen-ai/agent-runtime github_pr: 58 github_branch: sync/pr-427 --> See merge request: openJiuwen/agent-runtime!427 | 1 个月前 | |
feat(service): 新增可扩展 Handler 与联合认证示例 Co-authored-by: whq<whqxbs@163.com> # message auto-generated for no-merge-commit merge: !412 merge feat/service-extensible-example into develop feat(service): 新增可扩展 Handler 与联合认证示例 Created-by: u010240195 Commit-by: whq Merged-by: cyz95 Description: Paired: [GitHub #34](https://github.com/openJiuwen-ai/agent-runtime/pull/34) ↔ [GitCode !412](https://gitcode.com/openJiuwen/agent-runtime/merge_requests/412) ## 背景 基于最新 develop 的 Service Framework 示例,补齐可组合 Handler、明确的 REST/SSE OpenAPI 路由以及 FastAPI 原生 OAuth2/联合认证演示。 ## 主要变更 - 新增统一的普通/流式 Handler 对象接口和 HandlerSpec。 - 支持 app.register、register_all、include 及独立 HandlerRegistry 模块。 - 每个 Handler 生成明确的 REST 路径、请求/响应模型和 OpenAPI 描述。 - 保留最新 develop 的强类型请求、超时、中断和 RequestContext 清理语义。 - 新增异步 OAuth2 Authorization Code + PKCE 访问控制示例。 - 新增模块化联合身份 Provider、内存测试 Store 和 SQLite 示例 Store。 - 增加完整开发者 README、UT 和 ST。 ## 边界 Enterprise Demo IdP 只用于演示浏览器和身份映射链路,不解析或验证真实 SAML XML;生产接入要求在 FederationProvider 后实现完整 SAML 校验并替换示例 OAuth2 Server/Store。 ## 验证 - uv run pytest -q:117 passed - uv run ruff check .:passed <!-- bot4-pr-sync-meta schema_version: 1 source: gitcode gitcode_repo: openJiuwen/agent-runtime gitcode_mr: 412 github_repo: openJiuwen-ai/agent-runtime github_pr: 34 github_branch: sync/pr-412 --> See merge request: openJiuwen/agent-runtime!412 | 1 个月前 | |
feat(service): 增强请求上下文生命周期与数据能力 Co-authored-by: m0u55e<mayanxin3@huawei.com> # message auto-generated for no-merge-commit merge: !411 merge feature/service-context-core into develop feat(service): 增强请求上下文生命周期与数据能力 Created-by: m0u55e Commit-by: m0u55e Merged-by: cyz95 Description: Paired: [GitHub #33](https://github.com/openJiuwen-ai/agent-runtime/pull/33) ↔ [GitCode !411](https://gitcode.com/openJiuwen/agent-runtime/merge_requests/411) <!-- Thanks for sending a pull request! Here are some tips for you: 1) If this is your first time, please read our contributor guidelines: https://gitcode.com/openJiuwen/community/blob/master/CONTRIBUTING.md 2) If you want to contribute your code but don't know who will review and merge, please add label openjiuwen-assistant to the pull request, we will find and do it as soon as possible. --> **What type of PR is this?** <!-- 选择下面一种标签替换下方 /kind <label>,可选标签类型有: - /kind bug - /kind task - /kind feature - /kind refactor - /kind clean_code 如PR描述不符合规范,修改PR描述后需要/check-pr重新检查PR规范。 --> /kind feature **Self-checklist**:(**请自检,在[ ]内打上x,我们将检视你的完成情况,否则会导致pr无法合入**) + - [x] **设计**:PR对应的方案是否已经经过Maintainer评审,方案检视意见是否均已答复并完成方案修改 + - [x] **测试**:PR中的代码是否已有UT/ST测试用例进行充分的覆盖,新增测试用例是否随本PR一并上库或已经上库 + - [x] **验证**:PR描述信息中是否已包含对该PR对应的Feature、Refactor、Bugfix的预期目标达成情况的详细验证结果描述 + - [x] **接口**:是否涉及对外接口变更,相应变更已得到接口评审组织的通过,API对应的注释信息已经刷新正确 + - [x] **文档**:是否涉及官网文档修改,如果涉及请及时提交资料到Doc仓 <!-- **Special notes for your reviewers**: --> <!-- + - [ ] 是否导致无法前向兼容 --> <!-- + - [ ] 是否涉及依赖的三方库变更 --> <!-- bot4-pr-sync-meta schema_version: 1 source: gitcode gitcode_repo: openJiuwen/agent-runtime gitcode_mr: 411 github_repo: openJiuwen-ai/agent-runtime github_pr: 33 github_branch: sync/pr-411 --> See merge request: openJiuwen/agent-runtime!411 | 1 个月前 | |
feat: 部署工具+applications迁移:数据库读写、Redis读写、Kubernetes Pod操作接口demo Co-authored-by: whq<whqxbs@163.com> # message auto-generated for no-merge-commit merge: !421 merge feat/runtime-capabilities-app into develop feat: 部署工具+applications迁移:数据库读写、Redis读写、Kubernetes Pod操作接口demo Created-by: u010240195 Commit-by: whq Merged-by: wangmingqi Description: Paired: [GitHub #53](https://github.com/openJiuwen-ai/agent-runtime/pull/53) ↔ [GitCode !421](https://gitcode.com/openJiuwen/agent-runtime/merge_requests/421) <!-- Thanks for sending a pull request! Here are some tips for you: 1) If this is your first time, please read our contributor guidelines: https://gitcode.com/openJiuwen/community/blob/master/CONTRIBUTING.md 2) If you want to contribute your code but don't know who will review and merge, please add label openjiuwen-assistant to the pull request, we will find and do it as soon as possible. --> **What type of PR is this?** <!-- 选择下面一种标签替换下方 /kind <label>,可选标签类型有: - /kind bug - /kind task - /kind feature - /kind refactor - /kind clean_code 如PR描述不符合规范,修改PR描述后需要/check-pr重新检查PR规范。 --> /kind <label> **Self-checklist**:(**请自检,在[ ]内打上x,我们将检视你的完成情况,否则会导致pr无法合入**) + - [ ] **设计**:PR对应的方案是否已经经过Maintainer评审,方案检视意见是否均已答复并完成方案修改 + - [ ] **测试**:PR中的代码是否已有UT/ST测试用例进行充分的覆盖,新增测试用例是否随本PR一并上库或已经上库 + - [ ] **验证**:PR描述信息中是否已包含对该PR对应的Feature、Refactor、Bugfix的预期目标达成情况的详细验证结果描述 + - [ ] **接口**:是否涉及对外接口变更,相应变更已得到接口评审组织的通过,API对应的注释信息已经刷新正确 + - [ ] **文档**:是否涉及官网文档修改,如果涉及请及时提交资料到Doc仓 <!-- **Special notes for your reviewers**: --> <!-- + - [ ] 是否导致无法前向兼容 --> <!-- + - [ ] 是否涉及依赖的三方库变更 --> <!-- bot4-pr-sync-meta schema_version: 1 source: gitcode gitcode_repo: openJiuwen/agent-runtime gitcode_mr: 421 github_repo: openJiuwen-ai/agent-runtime github_pr: 53 github_branch: sync/pr-421 --> See merge request: openJiuwen/agent-runtime!421 | 1 个月前 | |
feat(service): 实现通用分布式服务框架(Envelope + App + SystemContext + 五原语) Co-authored-by: wangmingqi<wangmingqi@huawei.com> # message auto-generated for no-merge-commit merge: !408 merge develop into develop feat(service): 实现通用分布式服务框架(Envelope + App + SystemContext + 五原语) Created-by: wangmingqi Commit-by: wangmingqi Merged-by: cyz95 Description: Paired: [GitHub #30](https://github.com/openJiuwen-ai/agent-runtime/pull/30) ↔ [GitCode !408](https://gitcode.com/openJiuwen/agent-runtime/merge_requests/408) <!-- Thanks for sending a pull request! Here are some tips for you: 1) If this is your first time, please read our contributor guidelines: https://gitcode.com/openJiuwen/community/blob/master/CONTRIBUTING.md 2) If you want to contribute your code but don't know who will review and merge, please add label openjiuwen-assistant to the pull request, we will find and do it as soon as possible. --> **What type of PR is this?** <!-- 选择下面一种标签替换下方 /kind <label>,可选标签类型有: - /kind bug - /kind task - /kind feature - /kind refactor - /kind clean_code 如PR描述不符合规范,修改PR描述后需要/check-pr重新检查PR规范。 --> /kind <label> **Self-checklist**:(**请自检,在[ ]内打上x,我们将检视你的完成情况,否则会导致pr无法合入**) + - [ ] **设计**:PR对应的方案是否已经经过Maintainer评审,方案检视意见是否均已答复并完成方案修改 + - [ ] **测试**:PR中的代码是否已有UT/ST测试用例进行充分的覆盖,新增测试用例是否随本PR一并上库或已经上库 + - [ ] **验证**:PR描述信息中是否已包含对该PR对应的Feature、Refactor、Bugfix的预期目标达成情况的详细验证结果描述 + - [ ] **接口**:是否涉及对外接口变更,相应变更已得到接口评审组织的通过,API对应的注释信息已经刷新正确 + - [ ] **文档**:是否涉及官网文档修改,如果涉及请及时提交资料到Doc仓 <!-- **Special notes for your reviewers**: --> <!-- + - [ ] 是否导致无法前向兼容 --> <!-- + - [ ] 是否涉及依赖的三方库变更 --> <!-- bot4-pr-sync-meta schema_version: 1 source: gitcode gitcode_repo: openJiuwen/agent-runtime gitcode_mr: 408 github_repo: openJiuwen-ai/agent-runtime github_pr: 30 github_branch: sync/pr-408 --> See merge request: openJiuwen/agent-runtime!408 | 1 个月前 | |
feat(service): 实现通用分布式服务框架(Envelope + App + SystemContext + 五原语) Co-authored-by: wangmingqi<wangmingqi@huawei.com> # message auto-generated for no-merge-commit merge: !408 merge develop into develop feat(service): 实现通用分布式服务框架(Envelope + App + SystemContext + 五原语) Created-by: wangmingqi Commit-by: wangmingqi Merged-by: cyz95 Description: Paired: [GitHub #30](https://github.com/openJiuwen-ai/agent-runtime/pull/30) ↔ [GitCode !408](https://gitcode.com/openJiuwen/agent-runtime/merge_requests/408) <!-- Thanks for sending a pull request! Here are some tips for you: 1) If this is your first time, please read our contributor guidelines: https://gitcode.com/openJiuwen/community/blob/master/CONTRIBUTING.md 2) If you want to contribute your code but don't know who will review and merge, please add label openjiuwen-assistant to the pull request, we will find and do it as soon as possible. --> **What type of PR is this?** <!-- 选择下面一种标签替换下方 /kind <label>,可选标签类型有: - /kind bug - /kind task - /kind feature - /kind refactor - /kind clean_code 如PR描述不符合规范,修改PR描述后需要/check-pr重新检查PR规范。 --> /kind <label> **Self-checklist**:(**请自检,在[ ]内打上x,我们将检视你的完成情况,否则会导致pr无法合入**) + - [ ] **设计**:PR对应的方案是否已经经过Maintainer评审,方案检视意见是否均已答复并完成方案修改 + - [ ] **测试**:PR中的代码是否已有UT/ST测试用例进行充分的覆盖,新增测试用例是否随本PR一并上库或已经上库 + - [ ] **验证**:PR描述信息中是否已包含对该PR对应的Feature、Refactor、Bugfix的预期目标达成情况的详细验证结果描述 + - [ ] **接口**:是否涉及对外接口变更,相应变更已得到接口评审组织的通过,API对应的注释信息已经刷新正确 + - [ ] **文档**:是否涉及官网文档修改,如果涉及请及时提交资料到Doc仓 <!-- **Special notes for your reviewers**: --> <!-- + - [ ] 是否导致无法前向兼容 --> <!-- + - [ ] 是否涉及依赖的三方库变更 --> <!-- bot4-pr-sync-meta schema_version: 1 source: gitcode gitcode_repo: openJiuwen/agent-runtime gitcode_mr: 408 github_repo: openJiuwen-ai/agent-runtime github_pr: 30 github_branch: sync/pr-408 --> See merge request: openJiuwen/agent-runtime!408 | 1 个月前 | |
feat(service): 增加锁、缓存与资源装配能力 Co-authored-by: m0u55e<mayanxin3@huawei.com> # message auto-generated for no-merge-commit merge: !413 merge feature/service-locks into develop feat(service): 增加锁、缓存与资源装配能力 Created-by: m0u55e Commit-by: m0u55e Merged-by: wangmingqi Description: Paired: [GitHub #36](https://github.com/openJiuwen-ai/agent-runtime/pull/36) ↔ [GitCode !413](https://gitcode.com/openJiuwen/agent-runtime/merge_requests/413) <!-- Thanks for sending a pull request! Here are some tips for you: 1) If this is your first time, please read our contributor guidelines: https://gitcode.com/openJiuwen/community/blob/master/CONTRIBUTING.md 2) If you want to contribute your code but don't know who will review and merge, please add label openjiuwen-assistant to the pull request, we will find and do it as soon as possible. --> **What type of PR is this?** <!-- 选择下面一种标签替换下方 /kind <label>,可选标签类型有: - /kind bug - /kind task - /kind feature - /kind refactor - /kind clean_code 如PR描述不符合规范,修改PR描述后需要/check-pr重新检查PR规范。 --> /kind feature **Self-checklist**:(**请自检,在[ ]内打上x,我们将检视你的完成情况,否则会导致pr无法合入**) + - [x] **设计**:PR对应的方案是否已经经过Maintainer评审,方案检视意见是否均已答复并完成方案修改 + - [x] **测试**:PR中的代码是否已有UT/ST测试用例进行充分的覆盖,新增测试用例是否随本PR一并上库或已经上库 + - [x] **验证**:PR描述信息中是否已包含对该PR对应的Feature、Refactor、Bugfix的预期目标达成情况的详细验证结果描述 + - [x] **接口**:是否涉及对外接口变更,相应变更已得到接口评审组织的通过,API对应的注释信息已经刷新正确 + - [ ] **文档**:是否涉及官网文档修改,如果涉及请及时提交资料到Doc仓 <!-- **Special notes for your reviewers**: --> <!-- + - [ ] 是否导致无法前向兼容 --> <!-- + - [ ] 是否涉及依赖的三方库变更 --> <!-- bot4-pr-sync-meta schema_version: 1 source: gitcode gitcode_repo: openJiuwen/agent-runtime gitcode_mr: 413 github_repo: openJiuwen-ai/agent-runtime github_pr: 36 github_branch: sync/pr-413 --> See merge request: openJiuwen/agent-runtime!413 | 1 个月前 | |
feat(service): 增加锁、缓存与资源装配能力 Co-authored-by: m0u55e<mayanxin3@huawei.com> # message auto-generated for no-merge-commit merge: !413 merge feature/service-locks into develop feat(service): 增加锁、缓存与资源装配能力 Created-by: m0u55e Commit-by: m0u55e Merged-by: wangmingqi Description: Paired: [GitHub #36](https://github.com/openJiuwen-ai/agent-runtime/pull/36) ↔ [GitCode !413](https://gitcode.com/openJiuwen/agent-runtime/merge_requests/413) <!-- Thanks for sending a pull request! Here are some tips for you: 1) If this is your first time, please read our contributor guidelines: https://gitcode.com/openJiuwen/community/blob/master/CONTRIBUTING.md 2) If you want to contribute your code but don't know who will review and merge, please add label openjiuwen-assistant to the pull request, we will find and do it as soon as possible. --> **What type of PR is this?** <!-- 选择下面一种标签替换下方 /kind <label>,可选标签类型有: - /kind bug - /kind task - /kind feature - /kind refactor - /kind clean_code 如PR描述不符合规范,修改PR描述后需要/check-pr重新检查PR规范。 --> /kind feature **Self-checklist**:(**请自检,在[ ]内打上x,我们将检视你的完成情况,否则会导致pr无法合入**) + - [x] **设计**:PR对应的方案是否已经经过Maintainer评审,方案检视意见是否均已答复并完成方案修改 + - [x] **测试**:PR中的代码是否已有UT/ST测试用例进行充分的覆盖,新增测试用例是否随本PR一并上库或已经上库 + - [x] **验证**:PR描述信息中是否已包含对该PR对应的Feature、Refactor、Bugfix的预期目标达成情况的详细验证结果描述 + - [x] **接口**:是否涉及对外接口变更,相应变更已得到接口评审组织的通过,API对应的注释信息已经刷新正确 + - [ ] **文档**:是否涉及官网文档修改,如果涉及请及时提交资料到Doc仓 <!-- **Special notes for your reviewers**: --> <!-- + - [ ] 是否导致无法前向兼容 --> <!-- + - [ ] 是否涉及依赖的三方库变更 --> <!-- bot4-pr-sync-meta schema_version: 1 source: gitcode gitcode_repo: openJiuwen/agent-runtime gitcode_mr: 413 github_repo: openJiuwen-ai/agent-runtime github_pr: 36 github_branch: sync/pr-413 --> See merge request: openJiuwen/agent-runtime!413 | 1 个月前 | |
feat(框架): PostgreSQL 接入服务框架 + asyncpg 建连/命令超时兜底 此前 foundation 有 PostgreSQLHandler 但服务框架走不到:build_db_handler 只接 mysql|sqlite|none、ServiceConfig 校验亦不含 postgresql。本次: - ServiceConfig:db_type 放行 postgresql,必填校验同 mysql(host/name/user), 端口默认随类型(mysql 3306 / postgresql 5432,显式设置优先) - build_db_handler:postgresql 分支构造 PostgreSQLHandler(导出补进 foundation.db) - 超时兜底(与 MySQL 对齐):asyncpg 建连 timeout 默认 60s、command_timeout 默认 无限制——注入 timeout=RUNTIME_DB_CONNECT_TIMEOUT(默认 5s,复用旋钮)与 command_timeout=RUNTIME_DB_COMMAND_TIMEOUT(新旋钮,默认 30s,低于请求级 deadline);init_database 临时引擎(CREATE DATABASE/SCHEMA)同款注入; 调用方显式 connect_args 优先(setdefault) - 测试:engine kwargs 注入/优先级/sqlite 不注入、build_db_handler 构造、 必填校验、默认端口;更新原「PG 不注入」断言为新语义 - spec service-core.md 网络/IO 节同步 Co-Authored-By: Claude <noreply@anthropic.com> | 28 天前 | |
feat(service): 实现通用分布式服务框架(Envelope + App + SystemContext + 五原语) Co-authored-by: wangmingqi<wangmingqi@huawei.com> # message auto-generated for no-merge-commit merge: !408 merge develop into develop feat(service): 实现通用分布式服务框架(Envelope + App + SystemContext + 五原语) Created-by: wangmingqi Commit-by: wangmingqi Merged-by: cyz95 Description: Paired: [GitHub #30](https://github.com/openJiuwen-ai/agent-runtime/pull/30) ↔ [GitCode !408](https://gitcode.com/openJiuwen/agent-runtime/merge_requests/408) <!-- Thanks for sending a pull request! Here are some tips for you: 1) If this is your first time, please read our contributor guidelines: https://gitcode.com/openJiuwen/community/blob/master/CONTRIBUTING.md 2) If you want to contribute your code but don't know who will review and merge, please add label openjiuwen-assistant to the pull request, we will find and do it as soon as possible. --> **What type of PR is this?** <!-- 选择下面一种标签替换下方 /kind <label>,可选标签类型有: - /kind bug - /kind task - /kind feature - /kind refactor - /kind clean_code 如PR描述不符合规范,修改PR描述后需要/check-pr重新检查PR规范。 --> /kind <label> **Self-checklist**:(**请自检,在[ ]内打上x,我们将检视你的完成情况,否则会导致pr无法合入**) + - [ ] **设计**:PR对应的方案是否已经经过Maintainer评审,方案检视意见是否均已答复并完成方案修改 + - [ ] **测试**:PR中的代码是否已有UT/ST测试用例进行充分的覆盖,新增测试用例是否随本PR一并上库或已经上库 + - [ ] **验证**:PR描述信息中是否已包含对该PR对应的Feature、Refactor、Bugfix的预期目标达成情况的详细验证结果描述 + - [ ] **接口**:是否涉及对外接口变更,相应变更已得到接口评审组织的通过,API对应的注释信息已经刷新正确 + - [ ] **文档**:是否涉及官网文档修改,如果涉及请及时提交资料到Doc仓 <!-- **Special notes for your reviewers**: --> <!-- + - [ ] 是否导致无法前向兼容 --> <!-- + - [ ] 是否涉及依赖的三方库变更 --> <!-- bot4-pr-sync-meta schema_version: 1 source: gitcode gitcode_repo: openJiuwen/agent-runtime gitcode_mr: 408 github_repo: openJiuwen-ai/agent-runtime github_pr: 30 github_branch: sync/pr-408 --> See merge request: openJiuwen/agent-runtime!408 | 1 个月前 | |
feat(service): request context中实现async Redis client调用 Co-authored-by: whq<whqxbs@163.com> # message auto-generated for no-merge-commit merge: !415 merge feat/request-context-redis into develop feat(service): request context中实现async Redis client调用 Created-by: u010240195 Commit-by: whq Merged-by: wangmingqi Description: Paired: [GitHub #39](https://github.com/openJiuwen-ai/agent-runtime/pull/39) ↔ [GitCode !415](https://gitcode.com/openJiuwen/agent-runtime/merge_requests/415) **What type of PR is this?** /kind feature ## 主要内容 - 在 RequestContext 增加 redis 属性和 require_redis(),向 Handler 提供完整的异步 Redis 客户端。 - Redis 客户端仍由 SystemContext 统一创建、复用和关闭,请求上下文只借用客户端。 - 保持 kv、idempotency、queue、pubsub、lock 等现有 Redis 原语及其行为不变。 - 补充开发者文档,明确异步调用、Key 命名和客户端生命周期边界。 ## 兼容性 - 不修改现有 Redis 原语接口、Key 格式或数据结构。 - Redis 未配置时继续使用统一的 RedisUnavailable 错误。 - 请求中断后拒绝获取新的底层 Redis 句柄。 ## 验证 - uv run ruff check . - uv run pytest -q:120 passed - UT 覆盖客户端复用、缺失配置、请求中断及请求关闭不关闭共享客户端。 - ST 覆盖 REST Handler 中异步执行 HSET/HGET。 **Self-checklist** - [x] 设计:基于最新 develop,保持 SystemContext 资源所有权不变 - [x] 测试:新增 UT/ST 并完成全量回归 - [x] 验证:静态检查和完整测试通过 - [x] 接口:仅新增兼容接口,不破坏现有调用 - [x] 文档:已补充开发者使用说明 <!-- bot4-pr-sync-meta schema_version: 1 source: gitcode gitcode_repo: openJiuwen/agent-runtime gitcode_mr: 415 github_repo: openJiuwen-ai/agent-runtime github_pr: 39 github_branch: sync/pr-415 --> See merge request: openJiuwen/agent-runtime!415 | 1 个月前 | |
feat(service): 增强请求上下文生命周期与数据能力 Co-authored-by: m0u55e<mayanxin3@huawei.com> # message auto-generated for no-merge-commit merge: !411 merge feature/service-context-core into develop feat(service): 增强请求上下文生命周期与数据能力 Created-by: m0u55e Commit-by: m0u55e Merged-by: cyz95 Description: Paired: [GitHub #33](https://github.com/openJiuwen-ai/agent-runtime/pull/33) ↔ [GitCode !411](https://gitcode.com/openJiuwen/agent-runtime/merge_requests/411) <!-- Thanks for sending a pull request! Here are some tips for you: 1) If this is your first time, please read our contributor guidelines: https://gitcode.com/openJiuwen/community/blob/master/CONTRIBUTING.md 2) If you want to contribute your code but don't know who will review and merge, please add label openjiuwen-assistant to the pull request, we will find and do it as soon as possible. --> **What type of PR is this?** <!-- 选择下面一种标签替换下方 /kind <label>,可选标签类型有: - /kind bug - /kind task - /kind feature - /kind refactor - /kind clean_code 如PR描述不符合规范,修改PR描述后需要/check-pr重新检查PR规范。 --> /kind feature **Self-checklist**:(**请自检,在[ ]内打上x,我们将检视你的完成情况,否则会导致pr无法合入**) + - [x] **设计**:PR对应的方案是否已经经过Maintainer评审,方案检视意见是否均已答复并完成方案修改 + - [x] **测试**:PR中的代码是否已有UT/ST测试用例进行充分的覆盖,新增测试用例是否随本PR一并上库或已经上库 + - [x] **验证**:PR描述信息中是否已包含对该PR对应的Feature、Refactor、Bugfix的预期目标达成情况的详细验证结果描述 + - [x] **接口**:是否涉及对外接口变更,相应变更已得到接口评审组织的通过,API对应的注释信息已经刷新正确 + - [x] **文档**:是否涉及官网文档修改,如果涉及请及时提交资料到Doc仓 <!-- **Special notes for your reviewers**: --> <!-- + - [ ] 是否导致无法前向兼容 --> <!-- + - [ ] 是否涉及依赖的三方库变更 --> <!-- bot4-pr-sync-meta schema_version: 1 source: gitcode gitcode_repo: openJiuwen/agent-runtime gitcode_mr: 411 github_repo: openJiuwen-ai/agent-runtime github_pr: 33 github_branch: sync/pr-411 --> See merge request: openJiuwen/agent-runtime!411 | 1 个月前 | |
feat(service): 增强请求上下文生命周期与数据能力 Co-authored-by: m0u55e<mayanxin3@huawei.com> # message auto-generated for no-merge-commit merge: !411 merge feature/service-context-core into develop feat(service): 增强请求上下文生命周期与数据能力 Created-by: m0u55e Commit-by: m0u55e Merged-by: cyz95 Description: Paired: [GitHub #33](https://github.com/openJiuwen-ai/agent-runtime/pull/33) ↔ [GitCode !411](https://gitcode.com/openJiuwen/agent-runtime/merge_requests/411) <!-- Thanks for sending a pull request! Here are some tips for you: 1) If this is your first time, please read our contributor guidelines: https://gitcode.com/openJiuwen/community/blob/master/CONTRIBUTING.md 2) If you want to contribute your code but don't know who will review and merge, please add label openjiuwen-assistant to the pull request, we will find and do it as soon as possible. --> **What type of PR is this?** <!-- 选择下面一种标签替换下方 /kind <label>,可选标签类型有: - /kind bug - /kind task - /kind feature - /kind refactor - /kind clean_code 如PR描述不符合规范,修改PR描述后需要/check-pr重新检查PR规范。 --> /kind feature **Self-checklist**:(**请自检,在[ ]内打上x,我们将检视你的完成情况,否则会导致pr无法合入**) + - [x] **设计**:PR对应的方案是否已经经过Maintainer评审,方案检视意见是否均已答复并完成方案修改 + - [x] **测试**:PR中的代码是否已有UT/ST测试用例进行充分的覆盖,新增测试用例是否随本PR一并上库或已经上库 + - [x] **验证**:PR描述信息中是否已包含对该PR对应的Feature、Refactor、Bugfix的预期目标达成情况的详细验证结果描述 + - [x] **接口**:是否涉及对外接口变更,相应变更已得到接口评审组织的通过,API对应的注释信息已经刷新正确 + - [x] **文档**:是否涉及官网文档修改,如果涉及请及时提交资料到Doc仓 <!-- **Special notes for your reviewers**: --> <!-- + - [ ] 是否导致无法前向兼容 --> <!-- + - [ ] 是否涉及依赖的三方库变更 --> <!-- bot4-pr-sync-meta schema_version: 1 source: gitcode gitcode_repo: openJiuwen/agent-runtime gitcode_mr: 411 github_repo: openJiuwen-ai/agent-runtime github_pr: 33 github_branch: sync/pr-411 --> See merge request: openJiuwen/agent-runtime!411 | 1 个月前 | |
feat(service):上下文能力demo、集成Kubernetes至上下文 Co-authored-by: m0u55e<mayanxin3@huawei.com> # message auto-generated for no-merge-commit merge: !418 merge simple-demo into develop feat(service):上下文能力demo、集成Kubernetes至上下文 Created-by: m0u55e Commit-by: m0u55e Merged-by: cyz95 Description: Paired: [GitHub #50](https://github.com/openJiuwen-ai/agent-runtime/pull/50) ↔ [GitCode !418](https://gitcode.com/openJiuwen/agent-runtime/merge_requests/418) <!-- Thanks for sending a pull request! Here are some tips for you: 1) If this is your first time, please read our contributor guidelines: https://gitcode.com/openJiuwen/community/blob/master/CONTRIBUTING.md 2) If you want to contribute your code but don't know who will review and merge, please add label openjiuwen-assistant to the pull request, we will find and do it as soon as possible. --> **What type of PR is this?** <!-- 选择下面一种标签替换下方 /kind <label>,可选标签类型有: - /kind bug - /kind task - /kind feature - /kind refactor - /kind clean_code 如PR描述不符合规范,修改PR描述后需要/check-pr重新检查PR规范。 --> /kind feature **Self-checklist**:(**请自检,在[ ]内打上x,我们将检视你的完成情况,否则会导致pr无法合入**) + - [x] **设计**:PR对应的方案是否已经经过Maintainer评审,方案检视意见是否均已答复并完成方案修改 + - [x] **测试**:PR中的代码是否已有UT/ST测试用例进行充分的覆盖,新增测试用例是否随本PR一并上库或已经上库 + - [x] **验证**:PR描述信息中是否已包含对该PR对应的Feature、Refactor、Bugfix的预期目标达成情况的详细验证结果描述 + - [x] **接口**:是否涉及对外接口变更,相应变更已得到接口评审组织的通过,API对应的注释信息已经刷新正确 + - [x] **文档**:是否涉及官网文档修改,如果涉及请及时提交资料到Doc仓 <!-- **Special notes for your reviewers**: --> <!-- + - [ ] 是否导致无法前向兼容 --> <!-- + - [ ] 是否涉及依赖的三方库变更 --> ## Summary 新增可部署的 Service 能力 Demo service/examples/simple_capabilities_app.py,通过 8 个 HTTP 接口展示数据库、Redis、Envelope 和 Kubernetes 能力。 Demo 从 .env 文件读取运行配置,本地环境使用 SQLite、FakeRedis 和 Fake Kubernetes,服务器环境使用 MySQL、Redis 和 kubernetes_asyncio。 将 Kubernetes Pod 操作抽象为系统能力,统一装配到 SystemContext,Handler 可通过 RequestContext 调用 Pod 查询、创建和删除接口。 ### 核心能力 - 提供数据库读写接口 POST /api/db/read 和 POST /api/db/write - 提供 Redis 读写接口 POST /api/redis/read 和 POST /api/redis/write - Redis 写入支持命名空间隔离、自定义 TTL 和默认 TTL 配置 - 提供 Envelope 解析接口 POST /api/envelope/inspect,返回 Envelope、Metadata、RequestContext 和服务环境信息 - 定义统一的 Kubernetes 操作协议及 Pod 创建、摘要和删除结果模型 - 提供 Pod 查询、创建和删除接口 POST /api/k8s/pod/read、POST /api/k8s/pod/create 和 POST /api/k8s/pod/delete - 提供 Fake Kubernetes 和基于 kubernetes_asyncio 的真实 Kubernetes 实现 - 将 Kubernetes 纳入 SystemContext 的启动、探活、健康检查和资源释放流程 - 真实 Kubernetes 模式支持集群内配置和 kubeconfig,并使用固定 namespace、管理标签和受限 Pod 模板 - 提供本地和服务器 .env 配置模板、Swagger/OpenAPI 调试入口、部署说明及 RBAC 配置示例 - 补充配置校验、上下文生命周期、Kubernetes 适配器和 8 个 Demo 接口的单元测试 <!-- bot4-pr-sync-meta schema_version: 1 source: gitcode gitcode_repo: openJiuwen/agent-runtime gitcode_mr: 418 github_repo: openJiuwen-ai/agent-runtime github_pr: 50 github_branch: sync/pr-418 --> See merge request: openJiuwen/agent-runtime!418 | 1 个月前 | |
feat(service): 实现通用分布式服务框架(Envelope + App + SystemContext + 五原语) Co-authored-by: wangmingqi<wangmingqi@huawei.com> # message auto-generated for no-merge-commit merge: !408 merge develop into develop feat(service): 实现通用分布式服务框架(Envelope + App + SystemContext + 五原语) Created-by: wangmingqi Commit-by: wangmingqi Merged-by: cyz95 Description: Paired: [GitHub #30](https://github.com/openJiuwen-ai/agent-runtime/pull/30) ↔ [GitCode !408](https://gitcode.com/openJiuwen/agent-runtime/merge_requests/408) <!-- Thanks for sending a pull request! Here are some tips for you: 1) If this is your first time, please read our contributor guidelines: https://gitcode.com/openJiuwen/community/blob/master/CONTRIBUTING.md 2) If you want to contribute your code but don't know who will review and merge, please add label openjiuwen-assistant to the pull request, we will find and do it as soon as possible. --> **What type of PR is this?** <!-- 选择下面一种标签替换下方 /kind <label>,可选标签类型有: - /kind bug - /kind task - /kind feature - /kind refactor - /kind clean_code 如PR描述不符合规范,修改PR描述后需要/check-pr重新检查PR规范。 --> /kind <label> **Self-checklist**:(**请自检,在[ ]内打上x,我们将检视你的完成情况,否则会导致pr无法合入**) + - [ ] **设计**:PR对应的方案是否已经经过Maintainer评审,方案检视意见是否均已答复并完成方案修改 + - [ ] **测试**:PR中的代码是否已有UT/ST测试用例进行充分的覆盖,新增测试用例是否随本PR一并上库或已经上库 + - [ ] **验证**:PR描述信息中是否已包含对该PR对应的Feature、Refactor、Bugfix的预期目标达成情况的详细验证结果描述 + - [ ] **接口**:是否涉及对外接口变更,相应变更已得到接口评审组织的通过,API对应的注释信息已经刷新正确 + - [ ] **文档**:是否涉及官网文档修改,如果涉及请及时提交资料到Doc仓 <!-- **Special notes for your reviewers**: --> <!-- + - [ ] 是否导致无法前向兼容 --> <!-- + - [ ] 是否涉及依赖的三方库变更 --> <!-- bot4-pr-sync-meta schema_version: 1 source: gitcode gitcode_repo: openJiuwen/agent-runtime gitcode_mr: 408 github_repo: openJiuwen-ai/agent-runtime github_pr: 30 github_branch: sync/pr-408 --> See merge request: openJiuwen/agent-runtime!408 | 1 个月前 | |
feat(service):上下文能力demo、集成Kubernetes至上下文 Co-authored-by: m0u55e<mayanxin3@huawei.com> # message auto-generated for no-merge-commit merge: !418 merge simple-demo into develop feat(service):上下文能力demo、集成Kubernetes至上下文 Created-by: m0u55e Commit-by: m0u55e Merged-by: cyz95 Description: Paired: [GitHub #50](https://github.com/openJiuwen-ai/agent-runtime/pull/50) ↔ [GitCode !418](https://gitcode.com/openJiuwen/agent-runtime/merge_requests/418) <!-- Thanks for sending a pull request! Here are some tips for you: 1) If this is your first time, please read our contributor guidelines: https://gitcode.com/openJiuwen/community/blob/master/CONTRIBUTING.md 2) If you want to contribute your code but don't know who will review and merge, please add label openjiuwen-assistant to the pull request, we will find and do it as soon as possible. --> **What type of PR is this?** <!-- 选择下面一种标签替换下方 /kind <label>,可选标签类型有: - /kind bug - /kind task - /kind feature - /kind refactor - /kind clean_code 如PR描述不符合规范,修改PR描述后需要/check-pr重新检查PR规范。 --> /kind feature **Self-checklist**:(**请自检,在[ ]内打上x,我们将检视你的完成情况,否则会导致pr无法合入**) + - [x] **设计**:PR对应的方案是否已经经过Maintainer评审,方案检视意见是否均已答复并完成方案修改 + - [x] **测试**:PR中的代码是否已有UT/ST测试用例进行充分的覆盖,新增测试用例是否随本PR一并上库或已经上库 + - [x] **验证**:PR描述信息中是否已包含对该PR对应的Feature、Refactor、Bugfix的预期目标达成情况的详细验证结果描述 + - [x] **接口**:是否涉及对外接口变更,相应变更已得到接口评审组织的通过,API对应的注释信息已经刷新正确 + - [x] **文档**:是否涉及官网文档修改,如果涉及请及时提交资料到Doc仓 <!-- **Special notes for your reviewers**: --> <!-- + - [ ] 是否导致无法前向兼容 --> <!-- + - [ ] 是否涉及依赖的三方库变更 --> ## Summary 新增可部署的 Service 能力 Demo service/examples/simple_capabilities_app.py,通过 8 个 HTTP 接口展示数据库、Redis、Envelope 和 Kubernetes 能力。 Demo 从 .env 文件读取运行配置,本地环境使用 SQLite、FakeRedis 和 Fake Kubernetes,服务器环境使用 MySQL、Redis 和 kubernetes_asyncio。 将 Kubernetes Pod 操作抽象为系统能力,统一装配到 SystemContext,Handler 可通过 RequestContext 调用 Pod 查询、创建和删除接口。 ### 核心能力 - 提供数据库读写接口 POST /api/db/read 和 POST /api/db/write - 提供 Redis 读写接口 POST /api/redis/read 和 POST /api/redis/write - Redis 写入支持命名空间隔离、自定义 TTL 和默认 TTL 配置 - 提供 Envelope 解析接口 POST /api/envelope/inspect,返回 Envelope、Metadata、RequestContext 和服务环境信息 - 定义统一的 Kubernetes 操作协议及 Pod 创建、摘要和删除结果模型 - 提供 Pod 查询、创建和删除接口 POST /api/k8s/pod/read、POST /api/k8s/pod/create 和 POST /api/k8s/pod/delete - 提供 Fake Kubernetes 和基于 kubernetes_asyncio 的真实 Kubernetes 实现 - 将 Kubernetes 纳入 SystemContext 的启动、探活、健康检查和资源释放流程 - 真实 Kubernetes 模式支持集群内配置和 kubeconfig,并使用固定 namespace、管理标签和受限 Pod 模板 - 提供本地和服务器 .env 配置模板、Swagger/OpenAPI 调试入口、部署说明及 RBAC 配置示例 - 补充配置校验、上下文生命周期、Kubernetes 适配器和 8 个 Demo 接口的单元测试 <!-- bot4-pr-sync-meta schema_version: 1 source: gitcode gitcode_repo: openJiuwen/agent-runtime gitcode_mr: 418 github_repo: openJiuwen-ai/agent-runtime github_pr: 50 github_branch: sync/pr-418 --> See merge request: openJiuwen/agent-runtime!418 | 1 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 28 天前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 |