[Feature]: 咨询下`自定义confirmResult的拒绝原因`和`支持类似codex的ask_user交互`这两个特性什么时候能发布
目前的最新版本是2.0.3。
已经在open pr list里面找到了两个相关的pr,正好能解决这两个问题
- https://github.com/agentscope-ai/agentscope-java/pull/2546
- https://github.com/agentscope-ai/agentscope-java/pull/3108
想咨询下这两个pr或者最终能解决这两个问题的特性会在下个版本发布吗?
ask_user现在可以用个 自己写一个askUserTool 注册一个toolschema去实现,把user的回复和选择 当作toolresultblock返回即可
Issue Evaluation
Category: question (release timing) | Status: Answered — neither capability is merged, so there is no committed release to point at (checked 2026-09-21 against main @ 8ca0080; latest release v2.0.3 / 2026-09-07, pom.xml is at 2.0.4-SNAPSHOT)
Short answer: the repo carries no release commitment for either capability — the only open milestone is a stale 1.0.12 (due 2026-04-24, zero open issues) — so "will it ship in the next version?" has no citable answer today. It depends on whether the two tracking PRs land before the next cut.
Status of the PRs you linked (neither is in a "waiting to be released" state):
| PR | Subject | State | Notes |
|---|---|---|---|
| #2546 | fix(core): emit tool result events on manual HITL denial and support custom denial reason |
OPEN, unmerged, approved | CI green (ubuntu / windows / license / module-sync), but last activity 2026-08-11 — stale for ~6 weeks |
| #3108 | fix(harness): resolve ask_user conflicts with current main |
CLOSED, unmerged (2026-09-21) | Closed because its linked source issue #3109 is already closed (that issue was merged, not this PR) — so this branch line is no longer the carrier |
So the custom-denial-reason capability lives only in #2546, and the real tracker for ask_user is #2865 (feat(harness): built-in ask_user tool — model-initiated questions to the user), which is still OPEN with review state REVIEW_REQUIRED, last updated 2026-09-15. Please watch #2865 rather than #3108.
Confirmed absent on main today (checked in code, not just PR state):
ConfirmResultstill has exactly three fields —confirmed,toolCall,rules(agentscope-core/src/main/java/io/agentscope/core/event/ConfirmResult.java:33-35) — no denial-reason field, consistent with #2546 being unmerged.- No
ask_user/AskUserimplementation anywhere underagentscope-coreoragentscope-harness, consistent with #2865 being unmerged.
You do not have to wait for a release for the ask_user part (@zhangqian7741's suggestion above is correct — here are the matching framework hooks). The "schema only, execution outside the framework" tool mechanism already exists: Toolkit.registerSchema(ToolSchema) (agentscope-core/src/main/java/io/agentscope/core/tool/Toolkit.java:294-296) registers a SchemaOnlyTool; when the model calls it, the framework does not execute anything but surfaces a pending ToolResultBlock and emits RequireExternalExecutionEvent, suspending the run; the next call feeds back the matching ToolResultBlock and the agent continues (see agentscope-core/src/main/java/io/agentscope/core/tool/SchemaOnlyTool.java:29-31 and docs/v2/en/docs/building-blocks/tool.md:180-186). Registering your own askUserTool that way, then returning the user's reply or selection as the ToolResultBlock, gives you codex-style ask_user on the current release without #2865.
For the custom denial reason there is no equivalent hook today — #2546 is the path, and it needs review movement rather than a release decision.
Suggested next step: ask the maintainers on #2546 and #2865 about inclusion in a specific release; a timeline confirmed there will be reflected back here. This comment only reports verified status and makes no release promise.
Automated evaluation by github-manager-bot
ask_user现在可以用个 自己写一个askUserTool 注册一个toolschema去实现,把user的回复和选择 当作toolresultblock返回即可
确实,那目前就是还差无法自定义用户拒绝的原因
我争取今天解决