feat(composer): insert slash command/skill at any time - #7910
Open
bfxh wants to merge 2 commits into
Open
Conversation
…only when input is empty
The + (content) menu's 'Use command or Skill' item was disabled whenever the
composer had text, with the message 'Available when the input is empty'.
Commands that replace the whole message (/clear, /model, ...) still only make
sense at message start (the existing slashCommandAtStart gating keeps them
disabled inline), but skill/subagent invocations are structured inserts that
are valid anywhere — so the trigger should never be disabled.
- Composer.tsx: drop the empty-input-only disabled/title on the '/' item;
inline insertion opens the existing slash menu at the cursor (skills and
subagents selectable anywhere, action commands stay greyed out inline)
- locales en/zh/zh-TW: contentUseCommandsEmptyOnly -> contentUseCommandsInline
('Insert a command or skill at the cursor - available anytime')
Verified: tsc --noEmit clean for Composer.tsx + locales (only pre-existing
@XTerm module-resolution errors remain, unrelated); composer-menu-viewport
9/9 and composer-context-menu-clipboard 15/15 pass.
This was referenced Aug 8, 2026
bfxh
pushed a commit
to bfxh/DeepSeek-Reasonix
that referenced
this pull request
Aug 8, 2026
…OSWorld core esengine#7791 boundary cleanup (step 3): remove the two cleanly-separable domains (cosplay: 15 files — decided to drop; desktop/frontend: 5 PR esengine#7910 files). boot/agent already decoupled from cosplay via cosplayhook (5675a52), so the stripped branch compiles; golden re-recorded, code_verify removed from the boot contract, eventwire skips when frontend is absent. flywheel/modeling/ steer stay as agent infrastructure (same code as esengine#7911/esengine#7967/esengine#7912, PR value is separate review not physical separation).
bfxh
pushed a commit
to bfxh/DeepSeek-Reasonix
that referenced
this pull request
Aug 8, 2026
…OSWorld core Merged latest upstream (a720a3a) + main dev line, then removed the two cleanly-separable domains: cosplay (15 files, decided to drop) and desktop/frontend (5 PR esengine#7910 files). boot/agent already decoupled from cosplay via cosplayhook, so the stripped tree compiles; golden re-recorded, code_verify removed from the boot contract, eventwire skips when frontend is absent. flywheel/modeling/steer remain as agent infrastructure (same code as esengine#7911/esengine#7967/esengine#7912 — separate review, not physical separation).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
前端 Composer 增强:任意时刻可插入斜杠命令 / Skill(不再局限于空输入时)。
+(内容菜单)的 "Use command or Skill" 项去掉了disabled={text.trim().length > 0}限制——非空输入时点击会在光标处插入/并弹出 slash 菜单(Skill/子代理为结构化调用,可在消息中间插入)Verification
tsc --noEmit零错误(仅环境缺失的 @XTerm 既有错误,与本次无关)Notes
CI Declarations
Documentation-impact: none - 纯前端交互改动(斜杠命令/Skill 可用性),产品文档无需更新