Commit Graph

281 Commits

Author SHA1 Message Date
jxxghp
9dd1ace301 refactor(types): describe lazy log message object contract 2026-10-16 17:33:49 +08:00
jxxghp
e71b225597 refactor(types): declare progress snapshot fields 2026-10-16 16:53:39 +08:00
jxxghp
9ad0c10115 refactor(types): describe sync and async configuration reload callbacks 2026-10-16 16:28:47 +08:00
jxxghp
5e14615dce refactor(types): govern raw plugin metadata mappings 2026-10-16 15:49:36 +08:00
jxxghp
7f61662fae refactor(types): declare legacy settings update result 2026-10-16 15:45:51 +08:00
jxxghp
02fb8953b4 refactor(types): preserve retry and timing decorator contracts 2026-10-16 15:42:50 +08:00
jxxghp
3ee36342bd refactor(types): prove acquired plugin mutation context 2026-10-16 15:15:17 +08:00
jxxghp
0297216794 refactor(types): preserve memory decorator call signatures 2026-10-16 15:15:17 +08:00
jxxghp
ca15f05038 refactor(types): govern plugin lifecycle configuration 2026-10-16 15:15:17 +08:00
jxxghp
2d7af4b0a7 refactor(types): govern stored plugin configuration values 2026-10-16 15:15:17 +08:00
jxxghp
967860e830 refactor(types): specify plugin clone configuration values 2026-10-16 13:25:40 +08:00
jxxghp
ece46052aa refactor(types): preserve configured service schema types 2026-10-16 13:25:40 +08:00
jxxghp
bd21d8a6bf refactor(types): specify localization catalog value boundaries 2026-10-16 13:25:40 +08:00
jxxghp
44f9528a21 refactor(types): preserve deprecated callable signatures 2026-10-16 12:45:57 +08:00
jxxghp
e06a051d7f refactor(types): govern singleton and remove thread metaclass ignore 2026-10-16 11:35:14 +08:00
jxxghp
3858a82852 refactor(types): align sensitive event field lookup key types 2026-10-16 11:13:47 +08:00
jxxghp
a59c9bb94e refactor(types): govern event dispatch callback types 2026-10-16 11:12:37 +08:00
jxxghp
2e897d9fe5 refactor(types): govern event handler binding contracts 2026-10-16 11:10:46 +08:00
jxxghp
e1b6d478e6 refactor(types): govern event registry and snapshot contracts 2026-10-16 11:08:28 +08:00
jxxghp
4955b7b9ea fix: harden backend isolation and execution safety 2026-10-16 09:11:28 +08:00
InfinityPacer
9181ad2b65 feat(community): serve community medals from the Wiki registry behind remote switches
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 22:28:58 +08:00
jxxghp
57b883d2bf feat(music): add global local cover control 2026-10-15 07:20:44 +08:00
jxxghp
72c8bff312 feat(music): preserve local covers and fall back after online scraping fails 2026-10-14 23:15:41 +08:00
jxxghp
48cffca3a1 feat(transfer): aggregate successful notifications by batch (#6981) 2026-10-13 17:21:17 +08:00
jxxghp
7a853577d8 fix(subscribe): preserve original execution log content 2026-10-12 06:58:01 +08:00
jxxghp
391f55df40 feat(subscribe): add isolated execution logs with authorized streaming (#6963) 2026-10-11 22:18:37 +08:00
InfinityPacer
d9ac4cc429 feat(plugin): expose remote entry and version on agent pets
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 04:08:15 +08:00
InfinityPacer
40e80f43f5 fix(plugin): advance runtime generation when a plugin is enabled or disabled
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 04:08:15 +08:00
InfinityPacer
e97f64e777 feat(plugin): add avatar to agent pet declarations
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 04:08:15 +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
b663825fe7 fix(plugin): recover dependencies without disabled constraints
Keep enabled host and clone sources in dependency recovery. Fall back to per-plugin requests while retaining ready and recovered manifest constraints, preserving original sources and cancellation ownership.

Refs #6943
2026-10-10 12:20:13 +08:00
jxxghp
d7db4cfc0b fix(plugin): serialize package swaps with imports (#6939) 2026-10-10 07:42:37 +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
freeman
0cfb292cef fix(api): disable CORS credentials for wildcard origins
ALLOWED_HOSTS defaults to ["*"] and the CORS middleware always set
allow_credentials=True. Starlette echoes any request Origin with
Access-Control-Allow-Credentials in that combination, which lets every
site make credentialed cross-origin calls. resolve_cors_policy now
returns credentials=False for wildcard origins and keeps credentials
only when explicit origins are configured.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-09 11:39:12 +08:00
jxxghp
70811b551e feat(music): optionally simplify written lyrics 2026-10-08 18:40:16 +08:00
ChantXu64
e5e2558585 feat(search): 订阅补全逐页搜索、断点续搜与资源页手动分页 (#6907) 2026-10-07 14:40:55 +08:00
jxxghp
fb652c74f4 fix(music): 支持关闭 CUE 识别整理分轨音频 2026-10-05 17:15:14 +08:00
jxxghp
6f0f528e2f feat(agent): add configurable output language 2026-10-05 07:35:05 +08:00
jxxghp
e21d68496f fix(torrents): use incremental cache for M-Team by default
Refs #6878
2026-10-04 10:46:49 +08:00
ChantXu64
8b30668cf3 fix(llm): preserve max reasoning effort (#6866) 2026-10-03 22:22:39 +08:00
ChantXu64
3c56f0bfdc fix(llm): 允许温度留空以省略不兼容的请求参数 (#6865) 2026-10-03 19:55:43 +08:00
thsrite
4395ddecf2 feat(mediaserver): 内置媒体服务 MediaVault 更名为 Vyo
主项目更名为 Muvyo,内置媒体服务更名为 Vyo。模块目录、文件、类名、模块 ID、枚举、
名称描述、日志与文档统一改为 Vyo;配置类型值 mediavault 保持不变,
已保存的媒体服务器配置无需迁移。
2026-09-30 19:46:09 +08:00
InfinityPacer
8f9754b5f8 feat(api): serve API docs behind a runtime toggle, closed by default
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 18:03:37 +08:00
jxxghp
e306bc3fa8 fix(cli): move dev updates out of ordinary startup 2026-09-30 10:32:54 +08:00
InfinityPacer
810ee2896f perf(startup): compose redis cache and agent memory only when used
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 20:07:34 +08:00
InfinityPacer
143ed49de0 docs(runtime): drop redundant allocator comments
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 18:20:24 +08:00
InfinityPacer
ecafd4ce14 docs(runtime): trim allocator background thread docstring
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 18:20:24 +08:00
InfinityPacer
7191b23555 fix(runtime): strip inherited jemalloc background thread config for subprocesses
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 18:20:24 +08:00
InfinityPacer
31ca107e41 fix(docker): enable jemalloc background thread only in the main process
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 18:20:24 +08:00
InfinityPacer
c5a57dbd8c perf(runtime): release idle pool threads' allocator caches
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 17:30:52 +08:00