File tree Expand file tree Collapse file tree
packages/opencode/src/command Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ " @kilocode/cli " : patch
3+ ---
4+
5+ Remove unused ` PROMPT_REVIEW ` import and reuse ` localReviewUncommittedCommand ` result in command registry.
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ import { MCP } from "../mcp"
99import { Skill } from "../skill"
1010import { localReviewCommand , localReviewUncommittedCommand } from "@/kilocode/review/command" // kilocode_change
1111import PROMPT_INITIALIZE from "./template/initialize.txt"
12- import PROMPT_REVIEW from "./template/review.txt"
1312
1413type State = {
1514 commands : Record < string , Info >
@@ -127,7 +126,7 @@ ${uncommittedReview.template}`
127126
128127 // kilocode_change start
129128 commands [ Default . LOCAL_REVIEW ] = localReviewCommand ( )
130- commands [ Default . LOCAL_REVIEW_UNCOMMITTED ] = localReviewUncommittedCommand ( )
129+ commands [ Default . LOCAL_REVIEW_UNCOMMITTED ] = uncommittedReview
131130 // kilocode_change end
132131
133132 for ( const [ name , command ] of Object . entries ( cfg . command ?? { } ) ) {
You can’t perform that action at this time.
0 commit comments