jxxghp
9b615a663a
refactor(types): describe agent endpoint response payloads
2026-10-17 04:23:50 +08:00
jxxghp
bd29f943f1
refactor(types): declare webhook task completion contract
2026-10-17 03:41:27 +08:00
jxxghp
1db9619eda
refactor(types): specify notification management endpoint results
2026-10-17 03:41:25 +08:00
jxxghp
40177e93a4
refactor(types): specify LLM management endpoint results
2026-10-17 03:41:22 +08:00
jxxghp
ac64d4b9ca
fix(mcp): reject non-object requests with protocol errors
2026-10-17 03:23:40 +08:00
jxxghp
904b871d46
refactor(types): specify Anthropic streaming response contracts
2026-10-17 03:23:35 +08:00
jxxghp
405aafa466
refactor(types): narrow login results before issuing credentials
2026-10-17 03:22:31 +08:00
jxxghp
851c3138a7
refactor(types): align workflow with typed route contracts
2026-10-17 03:00:45 +08:00
jxxghp
3c7fe9e6bb
refactor(types): align user with typed route contracts
2026-10-17 03:00:42 +08:00
jxxghp
34643d1a07
refactor(types): align transfer with typed route contracts
2026-10-17 03:00:40 +08:00
jxxghp
232c325e53
refactor(types): align system with typed route contracts
2026-10-17 03:00:37 +08:00
jxxghp
0f9289c0ea
refactor(types): align submaintenance with typed route contracts
2026-10-17 03:00:32 +08:00
jxxghp
470e0dd4c3
refactor(types): align subexecution with typed route contracts
2026-10-17 03:00:30 +08:00
jxxghp
9b2d2cdfb7
refactor(types): align storage with typed route contracts
2026-10-17 03:00:26 +08:00
jxxghp
669b7d1054
refactor(types): align site with typed route contracts
2026-10-17 03:00:22 +08:00
jxxghp
c3a8937601
refactor(types): align settings with typed route contracts
2026-10-17 03:00:19 +08:00
jxxghp
69139aad12
refactor(types): align rule with typed route contracts
2026-10-17 03:00:15 +08:00
jxxghp
1ee6a01e9c
refactor(types): align recommend with typed route contracts
2026-10-17 03:00:12 +08:00
jxxghp
5b97781dc0
refactor(types): align plugintarget with typed route contracts
2026-10-17 03:00:09 +08:00
jxxghp
efdcdf8201
refactor(types): align pluginloglevel with typed route contracts
2026-10-17 03:00:07 +08:00
jxxghp
5f5acccc7f
refactor(types): align plugininstance with typed route contracts
2026-10-17 03:00:05 +08:00
jxxghp
07b523b716
refactor(types): align pluginfolder with typed route contracts
2026-10-17 03:00:02 +08:00
jxxghp
6314fafc30
refactor(types): align pluginclone with typed route contracts
2026-10-17 03:00:00 +08:00
jxxghp
a69471cb84
refactor(types): align plugin with typed route contracts
2026-10-17 02:59:58 +08:00
jxxghp
29113b7c11
refactor(types): align music with typed route contracts
2026-10-17 02:59:54 +08:00
jxxghp
0f5e4484ed
refactor(types): align module with typed route contracts
2026-10-17 02:59:51 +08:00
jxxghp
c48ba3a05a
refactor(types): align login with typed route contracts
2026-10-17 02:59:49 +08:00
jxxghp
d9cd184fd7
refactor(types): align identifier with typed route contracts
2026-10-17 02:59:46 +08:00
jxxghp
b6fed2b110
refactor(types): align history with typed route contracts
2026-10-17 02:59:43 +08:00
jxxghp
5c8877ef5b
refactor(types): align github with typed route contracts
2026-10-17 02:59:39 +08:00
jxxghp
d2b560c3f6
refactor(types): align download with typed route contracts
2026-10-17 02:59:37 +08:00
jxxghp
92c19446b7
refactor(types): align classification with typed route contracts
2026-10-17 02:59:34 +08:00
jxxghp
769c79f618
refactor(types): align agent with typed route contracts
2026-10-17 02:59:31 +08:00
jxxghp
a9e68119af
refactor(types): align mcp with typed route contracts
2026-10-17 02:59:28 +08:00
jxxghp
0c8b9feaf8
refactor(types): align openai with typed route contracts
2026-10-17 02:59:25 +08:00
jxxghp
193c25f2aa
refactor(types): align anthropic with typed route contracts
2026-10-17 02:59:22 +08:00
Cat
3112ee2040
fix(agent): deny inaccessible web sessions without HTTP 500 ( #7030 )
2026-10-16 22:08:37 +08:00
wenking
5ec9516a89
fix(mcp): 支持显式 opt-in 的 tools/list schema 紧凑投影
...
默认保留 MCP tools/list 的完整 schema;显式携带 X-MCP-Schema-Mode: compact 时,为超限工具提供保留顶层对象和 operation/action 枚举的紧凑投影。REST 合同、tools/call 校验与权限判定沿用完整合同。
合并前修复嵌套定义引用与 patternProperties 投影边界,使用 app.agent.tools.projection 作为纯函数 owner,补充回归和相关 Skill 说明,并同步当前 v3 的架构快照与类型低水位。
验证:113 项相关回归、167 项架构策略测试、45 项架构快照测试通过;Pylint 10/10,类型、复杂度及并发等相关棘轮通过。最终 PR head 6d25e1039d 的全部 10 项必需 GitHub 检查通过;待合并树与 CI 测试树一致。
投影是 best-effort,不承诺压入 5000 字节以内;未进行生产实例或镜像发布验证。
Co-authored-by: clone <clone_fan@foxmail.com >
2026-10-16 19:52:57 +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
ea60ed0fd6
feat(community): recognize GitHub contributions and honor levels
2026-10-15 12:11:36 +08:00
jxxghp
613eb5313b
feat(media): return parsed meta info when recognition fails
...
The recognize endpoint returned an empty context when no media matched,
so the recognition shortcut could not show the applied custom words or
the processed title, which made failures hard to diagnose. Always
return the parsed meta_info (including apply_words) and leave media_info
empty when the lookup fails.
Update the REST API docs and the generated agent skill note accordingly.
Refs #6997
2026-10-15 09:07:00 +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
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
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
cdb8d9df71
fix(api): sync v3 and complete agent media type compatibility
2026-10-10 12:22:57 +08:00
pavel2
0d62815a0f
fix(api): accept agent media type values
...
9 处裸构造 MediaType(x) 改为 MediaType.from_agent(x) or MediaType(x),与 search.py/site.py 既有写法一致。智能体按 API 入参规约传入 movie/tv/music 时不再抛 ValueError 返回 500,中文原生枚举值仍走原分支,无行为变化。
涉及:media.py detail、tmdb.py(3)、douban.py(2)、mediaserver.py not_exists、subscribe.py create_subscribe、transfer.py _execute_manual_transfer。
2026-10-10 09:56:47 +08:00
freeman
2165475dd0
fix(security): throttle password login after repeated failures
...
The access-token endpoint accepted unlimited password attempts; the
only existing rate limiters are single-instance helpers for outbound
site requests. Add app/application/security/throttle.py, an in-memory
LoginThrottle keyed by (client address, normalized username) that locks
for 30s after five consecutive failures and doubles the lockout up to
15 minutes. The endpoint answers 429 with Retry-After while locked,
counts only real credential failures (an MFA challenge after a correct
password does not count), and clears the record on success.
X-Forwarded-For is deliberately not trusted because there is no
trusted-proxy setting; behind the bundled nginx all requests share one
address, so the key degrades to per-username throttling, which is the
dimension brute-force protection needs. Sync the dependency snapshot
and architecture metrics for the new module.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com >
2026-10-09 12:01:04 +08:00