Elffuss BraidHub

kikocis/continue public

feat: repo flag
Changesetb0fcd0e0f7a09045b8a2e345e255008ba51f2056f98847ddb8e3e11607b19d99
AuthorNate <sestinj@gmail.com> · 2025-08-21 08:27 -07:00
CommitterNate <sestinj@gmail.com> · 2025-08-21 08:27 -07:00
Parentse5959a5a0348

Browse the files at this changeset

2 files changed

modified extensions/cli/src/commands/remote.ts +2 −1
@@ -15,6 +15,7 @@
1515 idempotencyKey?: string;
1616 start?: boolean;
1717 branch?: string;
18+ repo?: string;
1819 } = {},
1920 ) {
2021 // Check if prompt should come from stdin instead of parameter
@@ -79,7 +80,7 @@
7980 const accessToken = getAccessToken(authConfig);
8081
8182 const requestBody: any = {
82- repoUrl: getRepoUrl(),
83+ repoUrl: options.repo || getRepoUrl(),
8384 name: `devbox-${Date.now()}`,
8485 prompt: actualPrompt,
8586 idempotencyKey: options.idempotencyKey,
modified extensions/cli/src/index.ts +4 −0
@@ -202,6 +202,10 @@
202202 "--branch <branch>",
203203 "Specify the git branch name to use in the remote environment",
204204 )
205+ .option(
206+ "--repo <url>",
207+ "Specify the repository URL to use in the remote environment",
208+ )
205209 .action(async (prompt: string | undefined, options) => {
206210 await remote(prompt, options);
207211 });