@xenosystem/agent-conversation 0.1.207 → 0.1.209
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6875,14 +6875,14 @@ export function AgentView(props) {
|
|
|
6875
6875
|
if (prAutoFixOn && !isStreaming)
|
|
6876
6876
|
void fixPullRequestRef.current(true);
|
|
6877
6877
|
}, [isStreaming, prAutoFixOn, pullRequest]);
|
|
6878
|
-
// Create PR is a turn: the agent opens
|
|
6878
|
+
// Create PR is a turn: the agent opens a draft pull request with its own tools, matching engineering.git.pr.create
|
|
6879
6879
|
const handleCreatePullRequest = useCallback(async () => {
|
|
6880
6880
|
const command = activeCommandsList.find((entry) => entry.name === '/pr');
|
|
6881
6881
|
if (command) {
|
|
6882
6882
|
await handleExecuteCommandOrPrompt('/pr');
|
|
6883
6883
|
return;
|
|
6884
6884
|
}
|
|
6885
|
-
await handleExecuteCommandOrPrompt('Open a pull request for the current branch: summarise the changes since it diverged from its base in the title and body, and use the repository\'s PR conventions if it has any.');
|
|
6885
|
+
await handleExecuteCommandOrPrompt('Open a draft pull request for the current branch: summarise the changes since it diverged from its base in the title and body, and use the repository\'s PR conventions if it has any.');
|
|
6886
6886
|
}, [activeCommandsList, handleExecuteCommandOrPrompt]);
|
|
6887
6887
|
/*
|
|
6888
6888
|
* The reply's markdown, as the bench writes it: real `<p>`, `<blockquote>`, `<ul>`, `<table>`, styled
|