Skip to content

Commit 9cdb074

Browse files
authored
feat: add $ARGUMENTS support to apply slash command (#244)
This change adds the $ARGUMENTS property to the OpenCode apply slash command template, allowing users to pass arguments when invoking the apply command. The template now includes instructions for the agent to find and implement the change proposal, with guidance to ask for clarification when ambiguous.
1 parent 4e93d7a commit 9cdb074

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/core/configurators/slash/opencode.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@ The user has requested the following change proposal. Use the openspec instructi
2222
apply: `---
2323
agent: build
2424
description: Implement an approved OpenSpec change and keep tasks in sync.
25-
---`,
25+
---
26+
The user has requested to implement the following change proposal. Find the change proposal and follow the instructions below. If you're not sure or if ambiguous, ask for clarification from the user.
27+
<UserRequest>
28+
$ARGUMENTS
29+
</UserRequest>
30+
`,
2631
archive: `---
2732
agent: build
2833
description: Archive a deployed OpenSpec change and update specs.

0 commit comments

Comments
 (0)