Commit Graph

240 Commits

Author SHA1 Message Date
pyss56
b18833f912 fix(agent): preserve generated skill contracts and API guidance (#6991)
* feat(agent): scripted generation of agent skill docs with operation/field notes

Generate skills/moviepilot-api API docs from scripts/generate_agent_skill_docs.py
instead of hand-editing:
- surface canonical MediaType agent keys in the API contract
- add subscribeactivity table note and global operation notes
- preserve upstream search.torrents execution semantics via field notes

Co-Authored-By: pavel2 <pavelyuan468@gmail.com>

* fix(agent): preserve generated skill contracts and English guidance

---------

Co-authored-by: jxxghp <jxxghp@gmail.com>
2026-10-14 11:39:24 +08:00
jxxghp
edc719596d feat(update): prepare latest updates for a single restart 2026-10-13 12:50:01 +08:00
jxxghp
86c7fccfd5 feat(subscribe): persist business activity with scoped details 2026-10-12 23:43:01 +08:00
jxxghp
bd1e6eb899 fix(agent): separate public API queries from bound user operations 2026-10-12 07:30:35 +08:00
jxxghp
391f55df40 feat(subscribe): add isolated execution logs with authorized streaming (#6963) 2026-10-11 22:18:37 +08:00
jxxghp
28e1cb3a2f refactor: move site collector releases and sources to independent repository 2026-10-11 14:12:52 +08:00
jxxghp
3fc4a5cb5c docs: 用有效标签筛选统一采集器下载入口 2026-10-11 12:29:53 +08:00
jxxghp
54b6368340 feat: 独立发布站点采集器并按输入变化递增版本 2026-10-11 12:18:45 +08:00
InfinityPacer
25aaf3a32b feat(plugin): add agent pet extension contract
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 04:08:15 +08:00
jxxghp
63e30e453b ci: preserve manual release summaries and raw changelog 2026-10-10 08:37:30 +08:00
freeman
f3ad81b39e style: apply safe ruff auto-fixes and exempt startup late imports
Run `ruff check app tests scripts --fix` with the configured rule set
(E4/E7/E9/F/I): import sorting (I001), f-strings without placeholders
(F541), lambda/variable/unused-import cleanups that ruff marks safe.
Nine files whose only ruff debt sits next to pre-existing pylint
import-resolution errors (lazy exports, sys.path script imports) or
whose "unused" imports are reached through attribute access by tests are
left untouched so the changed-file pylint gate and the benchmark tests
stay green; their diagnostics remain in the baseline.

app/startup/lifecycle/__init__.py and app/main.py import business
modules after cache composition, import-path and stdio setup on purpose
(the source comments document the contract), so declare E402
per-file-ignores for them instead of adding per-line noqa.

Ruff ratchet watermark drops from 498 to 100; sync the baseline fixture
and the optimization checklist figure.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-09 13:29:09 +08:00
ChantXu64
e5e2558585 feat(search): 订阅补全逐页搜索、断点续搜与资源页手动分页 (#6907) 2026-10-07 14:40:55 +08:00
jxxghp
c8869d4b89 fix(api): classify notification image transport route 2026-10-04 16:33:11 +08:00
jxxghp
b33053e10f Merge remote-tracking branch 'origin/v3' into codex/optimize-pr-6849
# Conflicts:
#	docs/architecture-overview.md
#	docs/refactor/optimization-checklist.md
#	tests/fixtures/architecture/dependency-baseline.json
2026-10-02 22:06:27 +08:00
jxxghp
a8b0870ef9 fix(cli): force sync remote tags during updates 2026-10-02 11:21:54 +08:00
jxxghp
27a9ca4d66 feat(agent): install CJK history tokenizer for Docker and CLI 2026-10-01 23:26:10 +08:00
ranzhigg
0c9d8c9208 Merge upstream v3 into transfer queue PR 2026-10-01 12:51:06 +08:00
ranzhigg
56cf6fefe0 perf(transfer): bound queue snapshots for batch imports 2026-10-01 12:45:31 +08:00
jxxghp
19e62f891f fix(cli): confirm local changes before upgrade 2026-10-01 09:57:27 +08:00
jxxghp
00f396601f fix(cli): prefer project runtime Python 2026-09-30 22:36:33 +08:00
jxxghp
3ffc64cfd6 feat(agent): complete integrated evaluation
Validate persistent recall, learning carry-over, and controlled read-only Python orchestration in real graphs and isolated model scenarios.
2026-09-30 20:53:19 +08:00
jxxghp
c9c9a477d9 fix(music): improve PT title parsing and benchmark recognition 2026-09-30 20:50:50 +08:00
jxxghp
fb0f5738f5 fix(cli): only report config migration after copying files 2026-09-30 14:38:01 +08:00
jxxghp
4b84ceddeb fix(cli): reinstall same-version frontend releases in dev mode 2026-09-30 12:05:30 +08:00
jxxghp
e306bc3fa8 fix(cli): move dev updates out of ordinary startup 2026-09-30 10:32:54 +08:00
jxxghp
7e43ea9676 ci: replace line budgets with structural complexity gates 2026-09-30 07:36:53 +08:00
jxxghp
d9ff1867d5 fix(cli): preserve virtualenv python for autostart 2026-09-29 12:56:01 +08:00
jxxghp
6759128c08 fix(cli): 修复安装向导资源读取与目录处理 2026-09-29 11:52:58 +08:00
jxxghp
5d620b0cbe feat(media): support episode groups in manual scraping 2026-09-24 08:23:35 +08:00
moviepilot-codex[bot]
d96f00113c feat: add GitHub Token device authorization 2026-09-21 18:30:15 +08:00
jxxghp
d5e469a4e4 fix(update): preserve host plugin entrypoint during Docker upgrades 2026-09-16 12:24:19 +08:00
jxxghp
b99b4fe2c3 chore(architecture): 同步模块路径与质量门禁 2026-09-16 00:12:16 +08:00
jxxghp
71fffde878 feat(agent): 完善系统设置机器可读合同 2026-09-15 13:11:29 +08:00
Aqr-K
61aa3cd649 refactor(sdk): 插件契约基类迁入 SDK 并由 Compat 承接旧包根符号 (#6701) 2026-09-15 07:01:00 +08:00
jxxghp
ebddeee23b feat(subscribe): accumulate music album track progress 2026-09-14 19:35:04 +08:00
jxxghp
1cb1f02f19 fix(auth): normalize site authentication parameters 2026-09-14 13:24:14 +08:00
jxxghp
c60949ffff Merge branch 'v3' into feat/plugin-instance-config-logging 2026-09-13 14:30:42 +08:00
jxxghp
8072b7d78f Refactor application architecture and compatibility boundaries 2026-09-13 12:53:00 +08:00
Aqr-K
d6509f092c chore(plugin): 技能表目录登记补进生成脚本并补迁移往返验证
技能文档 skills/database-operation/SKILL.md 的核心表清单是
scripts/generate_agent_skill_docs.py 里 DATABASE_TABLE_GUIDES 的生成物,
前面两笔改动却是手改产物登记 plugininstance,任何人重跑生成器都会把它弄丢。
把条目补进字典,再用生成器重出该文档。

同时补上 agentinvocation:官方 v3 已有该表但字典里没有,生成器因此直接抛
ValueError,不补就根本跑不起来。它的说明照抄文档里现有的那份手写文案,
避免登记动作反而把已有描述改瘦。

迁移测试原本只按单个 revision 直接调 upgrade(),绕过了 Alembic 自己的版本
解析与记账,链接错的 down_revision、少写的 downgrade、重复升级时的重复建表
都测不出来。新增用例改走 alembic.command,在落盘的临时库上从官方 head
b2d4f6a8c1e3 升到链尾 487f7e681955 再降回去,验证配置与描述符确实落到
plugininstance、旧 plugin.* 键就地移除而 PluginInstances 键按回滚依据保留。
2026-09-12 19:48:57 -04:00
jxxghp
509eac75fc test(agent): hydrate native child thread history 2026-09-12 11:56:44 +08:00
jxxghp
b6ba20371e test(agent): infer native subagent terminal scopes 2026-09-12 07:12:16 +08:00
jxxghp
b964ed21e7 test(agent): preserve native collaboration evidence 2026-09-12 07:10:21 +08:00
jxxghp
e0e1598681 test(agent): verify multiple steering boundaries 2026-09-12 06:44:03 +08:00
jxxghp
da33988c50 test(agent): evaluate shared parent terminals 2026-09-12 06:10:06 +08:00
jxxghp
a84f04aa51 test(agent): stabilize native pty completion evidence 2026-09-12 05:13:55 +08:00
jxxghp
e66aec60fb test(evaluation): require native terminal input events 2026-09-12 04:37:02 +08:00
jxxghp
c0a67d4f40 test(agent): cover subagent cancellation recovery 2026-09-12 03:56:26 +08:00
jxxghp
2d6027e393 fix(agent): verify steering boundary in evaluation 2026-09-12 02:36:59 +08:00
jxxghp
ee52ca0705 test(agent): wire native browser harness 2026-09-12 00:50:00 +08:00
jxxghp
8170eadf62 feat(agent): validate delegated read-only subtasks 2026-09-11 21:58:30 +08:00