jxxghp
6d4ce83837
fix(types): clear host mypy debt and prevent typing regressions
...
严格检查全部宿主源码,清零类型错误预算并移除按模块类型豁免。
按原因、所属方法、错误码及语法指纹锁定必要兼容例外和站点类型桩,
CI 阻断新增忽略、检查范围退化、本地桩替代真实接口及新的类型错误。
修复空值、异步和供应方类型边界,保持插件与 API 兼容合同,
并补充存储、订阅、通知、Agent 和工作流边界的回归覆盖。
2026-10-21 22:03:18 +08:00
DDSRem
e0642eafa7
chore(types): reduce v3 host mypy debt ( #7057 )
...
* chore(types): clear AniList endpoint mypy debt
* chore(types): clear Douban endpoint mypy debt
* chore(types): clear recommendation endpoint mypy debt
* chore(types): clear subscription notification mypy debt
* chore(types): clear SDK string compatibility mypy debt
* chore(types): ratchet v3 host mypy across remaining files
* chore(types): reduce v3 host mypy debt and retire ledger
* chore(types): reconcile host snapshot with upstream HTTP pool
* test(types): cover host paths exposed by mypy cleanup
2026-10-18 09:37:49 +08:00
DDSRem
2de976f6b3
Merge pull request #7050 from DDSRem-Dev/codex-comment-migration
...
docs: 统一全项目中文注释和结构化契约说明
2026-10-17 19:26:29 +08:00
jxxghp
60cf52b246
fix(agent): bind CLI commands to project virtualenv
2026-10-01 12:33:10 +08:00
jxxghp
985618f6de
fix(agent): improve shell recovery guidance
2026-09-12 12:43:11 +08:00
jxxghp
abd3cea92b
feat(agent): queue steering input during active runs
2026-09-11 05:17:37 +08:00
jxxghp
66d288ffc2
feat(agent): isolate terminal task ownership
2026-09-11 03:12:16 +08:00
jxxghp
20d1aa2b49
feat(agent): align terminal shell and input control semantics
2026-09-10 11:00:24 +08:00
jxxghp
c92483d2a8
feat(agent): stream terminal output with resumable cursors
2026-09-10 00:29:09 +08:00
jxxghp
c3db7531f8
fix(agent): report command outcomes and clean up cancelled runs
2026-09-09 23:06:28 +08:00
jxxghp
ef0f4f7ef4
feat(agent): improve Windows shell compatibility
2026-09-01 17:51:15 +08:00
jxxghp
8849b8da11
fix: recreate terminal manager after shutdown
2026-08-22 19:42:01 +08:00
jxxghp
369d7d6448
refactor: reorganize backend module boundaries
2026-08-14 19:53:33 +08:00
jxxghp
7b3444c366
refactor backend module architecture
2026-08-14 15:45:38 +08:00
jxxghp
83409c1439
feat(agent): expand tool output and search pagination
2026-08-06 22:36:05 +08:00
jxxghp
318cfe68e9
Refactor agent tool inputs and background activity logging
2026-06-27 07:53:09 +08:00
jxxghp
0cd049bfc2
Refactor movie pilot config and test coverage
2026-06-23 10:05:45 +08:00
jxxghp
68f18db374
Handle invalid UTF-8 with replacement decoding
2026-06-21 09:56:34 +08:00
jxxghp
1b83abe155
fix: implement tool execution timeout handling and improve blocking call management
2026-06-12 08:43:17 +08:00
jxxghp
c89df496a5
feat(agent): add ToolTag-based tags to all agent tools; implement tags.py for unified tool capability tagging
2026-05-31 18:30:39 +08:00
jxxghp
d940373f6b
将所有agent工具的explanation字段改为可选
...
修复Pydantic验证错误:QueryTransferHistoryInput的explanation字段为必需,但用户未提供。
修改了74个工具文件,将explanation字段从必需改为可选,默认值为None。
2026-05-25 16:40:43 +08:00
jxxghp
b08c335bb4
fix: 优化 execute_command 工具的 rm -rf 拦截逻辑,仅禁止删除根目录或一级目录
2026-05-25 08:00:35 +08:00
jxxghp
c7670e5cc8
更新 execute_command.py
2026-05-25 07:51:30 +08:00
jxxghp
9076acc52e
feat: add managed agent command sessions
2026-05-18 20:17:59 +08:00
jxxghp
3ee601574c
fix: reduce low-risk pylint issues
2026-05-17 08:01:39 +08:00
jxxghp
c762628217
fix(agent): preserve full command output in temp logs
...
Return only a 10KB preview to the agent so large command results do not overwhelm conversations while keeping the full output available for follow-up reads. Add pytest to the project dependencies to make the regression tests runnable in the project venv.
2026-05-06 20:04:17 +08:00
jxxghp
6a6bcf59a0
增强 execute_command 工具:支持输出截断、并发限制与进程组清理,新增单元测试
2026-04-27 10:05:25 +08:00
jxxghp
323844b26d
revert execute_command streaming changes
...
Restore the previous subprocess handling for execute_command and drop the new command streaming test so agent startup is unblocked.
2026-04-27 08:12:37 +08:00
jxxghp
140d224a9a
fix agent stream blocking during command execution
...
Offload synchronous message edits from the event loop and stream subprocess output so long-running commands stay responsive.
2026-04-27 07:57:32 +08:00
jxxghp
4208c79d72
refine tool提示语为更简洁风格,补充last_buffer_char属性及非VERBOSE模式流式输出换行逻辑,新增工具流式分隔符单元测试
2026-04-26 11:15:11 +08:00
jxxghp
0cab21b83c
feat(agent): 为需要管理员权限的工具添加 require_admin 字段
...
- ExecuteCommandTool: 执行命令行
- DeleteDownloadHistoryTool: 删除下载历史
- EditFileTool: 编辑文件
- WriteFileTool: 写入文件
- TransferFileTool: 传输文件
- UpdateSiteTool: 更新站点
- UpdateSiteCookieTool: 更新站点Cookie
- UpdateSubscribeTool: 更新订阅
- DeleteSubscribeTool: 删除订阅
- DeleteDownloadTool: 删除下载
- ModifyDownloadTool: 修改下载
- RunSchedulerTool: 运行定时任务
- RunWorkflowTool: 运行工作流
- RunPluginCommandTool: 运行插件命令
- SendMessageTool: 发送消息
2026-03-29 10:46:35 +08:00
jxxghp
61ccb4be65
feat(agent): 新增命令行工具
2026-01-24 11:10:15 +08:00