@locusai/cli 0.21.1 → 0.21.3
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.
- package/README.md +0 -4
- package/bin/locus.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -181,10 +181,6 @@ locus exec "Refactor the auth middleware to use JWT"
|
|
|
181
181
|
| `--no-sandbox` | Disable Docker isolation |
|
|
182
182
|
| `--sandbox=require` | Require Docker (fail if unavailable) |
|
|
183
183
|
|
|
184
|
-
## VS Code Extension
|
|
185
|
-
|
|
186
|
-
Locus includes a [VS Code extension](https://marketplace.visualstudio.com/items?itemName=locusai.locus) with an integrated chat interface for running tasks directly from your editor.
|
|
187
|
-
|
|
188
184
|
## Documentation
|
|
189
185
|
|
|
190
186
|
Full documentation is available at [docs.locusai.dev](https://docs.locusai.dev).
|
package/bin/locus.js
CHANGED
|
@@ -569,7 +569,7 @@ function detectRepoContext(cwd) {
|
|
|
569
569
|
return { owner, repo, defaultBranch, currentBranch, remoteUrl };
|
|
570
570
|
}
|
|
571
571
|
function parseRemoteUrl(url) {
|
|
572
|
-
let match = url.match(/
|
|
572
|
+
let match = url.match(/[^@]+@github\.com:([^/]+)\/([^/.]+)/);
|
|
573
573
|
if (match)
|
|
574
574
|
return { owner: match[1], repo: match[2] };
|
|
575
575
|
match = url.match(/github\.com\/([^/]+)\/([^/.]+)/);
|