qwen-code/packages
DennisYu07 077a2471f9
Some checks are pending
E2E Tests / E2E Test (Linux) - sandbox:docker (push) Waiting to run
E2E Tests / E2E Test (Linux) - sandbox:none (push) Waiting to run
E2E Tests / E2E Test - macOS (push) Waiting to run
fix(core): prevent re-invoking loaded skill from appending duplicate content (#6430)
When a skill is invoked multiple times in a session, each invocation
previously appended the full SKILL.md body content to the conversation
history as a new tool result, wasting context tokens.

Add an isSkillLoaded callback to SkillToolInvocation that checks
loadedSkillNames before building the full content. On re-invocation,
return a short confirmation message instead of the full body. The
check runs after successful skill load (so disabled/not-found paths
are unaffected) but before content construction, hooks registration,
and allowedTools application (which are idempotent and already applied
on first load).

Fixes #6427

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-07-07 07:50:28 +00:00
..
acp-bridge feat(cli): support stacked slash-skill invocations (#6361) 2026-07-07 06:38:04 +00:00
audio-capture chore(release): v0.19.6 (#6280) 2026-07-03 16:37:54 +00:00
channels [codex] add proactive channel loop tools (#6287) 2026-07-05 15:49:48 +00:00
chrome-extension feat(cli): add --project and --global flags to /model for per-project model persistence (#6060) 2026-07-07 04:49:36 +00:00
cli feat(core): add tools.visible config for selective deferred-tool visibility at startup (#6372) 2026-07-07 07:11:44 +00:00
core fix(core): prevent re-invoking loaded skill from appending duplicate content (#6430) 2026-07-07 07:50:28 +00:00
cua-driver fix(cua-driver): bump BAKED_VERSION to 0.7.0 (#6241) 2026-07-03 07:32:23 +00:00
desktop fix(desktop): preserve glued automation history records (#6344) 2026-07-05 23:53:49 +00:00
mobile-mcp chore(release): v0.19.6 (#6280) 2026-07-03 16:37:54 +00:00
sdk-java fix(core): Align MCP OAuth guidance and docs (#5589) 2026-06-24 07:09:53 +08:00
sdk-python doc[sdk-python] Expand Python SDK usage documentation (#3995) 2026-05-12 15:27:00 +08:00
sdk-typescript fix(daemon): preserve user message source metadata (#6385) 2026-07-07 07:08:28 +00:00
vscode-ide-companion feat(core): add tools.visible config for selective deferred-tool visibility at startup (#6372) 2026-07-07 07:11:44 +00:00
web-shell fix(daemon): preserve user message source metadata (#6385) 2026-07-07 07:08:28 +00:00
web-templates chore(release): v0.19.6 (#6280) 2026-07-03 16:37:54 +00:00
webui feat(scheduled-tasks): run each task in its own dedicated, named session (#6389) 2026-07-07 06:22:36 +00:00
zed-extension chore(deps): upgrade ink 6.2.3 → 7.0.2 + bump Node engine to 22 (#3860) 2026-05-11 17:29:50 +08:00