@shanepadgett/tau-agent 0.41.0 → 0.41.1
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.
|
@@ -902,17 +902,11 @@ async function switchBranch(git: GitRunner, path: string, branch: string): Promi
|
|
|
902
902
|
return;
|
|
903
903
|
}
|
|
904
904
|
|
|
905
|
-
|
|
905
|
+
await git.run(["remote", "set-branches", "--add", "origin", branch], { cwd: path });
|
|
906
|
+
await git.run(["fetch", "--quiet", "--depth=1", "origin", branch], {
|
|
906
907
|
cwd: path,
|
|
907
|
-
|
|
908
|
-
timeout: BRANCH_LOOKUP_TIMEOUT_MS,
|
|
908
|
+
timeout: BRANCH_SWITCH_TIMEOUT_MS,
|
|
909
909
|
});
|
|
910
|
-
if (!remote.trim()) {
|
|
911
|
-
await git.run(["fetch", "--quiet", "--depth=1", "origin", `refs/heads/${branch}:refs/remotes/origin/${branch}`], {
|
|
912
|
-
cwd: path,
|
|
913
|
-
timeout: BRANCH_SWITCH_TIMEOUT_MS,
|
|
914
|
-
});
|
|
915
|
-
}
|
|
916
910
|
await git.run(["switch", "--track", "-c", branch, `origin/${branch}`], {
|
|
917
911
|
cwd: path,
|
|
918
912
|
timeout: BRANCH_SWITCH_TIMEOUT_MS,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shanepadgett/tau-agent",
|
|
3
|
-
"version": "0.41.
|
|
3
|
+
"version": "0.41.1",
|
|
4
4
|
"description": "Tau is a custom agentic harness built with pi extensions",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.ts",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@ast-grep/wasm": "0.45.1",
|
|
38
|
-
"@shanepadgett/tau-tui": "0.41.
|
|
38
|
+
"@shanepadgett/tau-tui": "0.41.1",
|
|
39
39
|
"@vscode/tree-sitter-wasm": "0.3.1",
|
|
40
40
|
"image-size": "2.0.2",
|
|
41
41
|
"smol-toml": "1.8.0",
|