santree 0.7.6 → 0.7.7
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.
|
@@ -3071,7 +3071,7 @@ export default function Dashboard() {
|
|
|
3071
3071
|
if (!mux.isActive()) {
|
|
3072
3072
|
dispatch({
|
|
3073
3073
|
type: "SET_ACTION_MESSAGE",
|
|
3074
|
-
message: "Fix loop needs tmux or cmux — run `santree pr fix
|
|
3074
|
+
message: "Fix loop needs tmux or cmux — run `santree pr fix` in the worktree",
|
|
3075
3075
|
});
|
|
3076
3076
|
return;
|
|
3077
3077
|
}
|
|
@@ -3079,7 +3079,7 @@ export default function Dashboard() {
|
|
|
3079
3079
|
const cwd = di.worktree.path;
|
|
3080
3080
|
// Absolute santree invocation: the new window's shell may not have
|
|
3081
3081
|
// `santree` on PATH (cmux workspaces start a fresh login shell).
|
|
3082
|
-
const self = santreeSelfArgv(["pr", "fix"
|
|
3082
|
+
const self = santreeSelfArgv(["pr", "fix"]);
|
|
3083
3083
|
const command = [self.cmd, ...self.args].join(" ");
|
|
3084
3084
|
// Seed the marker + optimistic badge so the loop shows immediately,
|
|
3085
3085
|
// before the launched process writes its own marker.
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const description = "Run the self-driving fix loop: merge conflicts, fixable CI, and \uD83D\uDC4D-approved review comments";
|
|
3
3
|
export declare const options: z.ZodObject<{
|
|
4
|
-
loop: z.ZodDefault<z.ZodBoolean>;
|
|
5
4
|
signal: z.ZodOptional<z.ZodString>;
|
|
6
5
|
}, z.core.$strip>;
|
|
7
6
|
type Props = {
|
package/dist/commands/pr/fix.js
CHANGED
|
@@ -10,9 +10,6 @@ import { santreeSelfArgv } from "../../lib/setup/apply.js";
|
|
|
10
10
|
import { startFixLoop, signalFixLoop } from "../../lib/fix-loop.js";
|
|
11
11
|
export const description = "Run the self-driving fix loop: merge conflicts, fixable CI, and 👍-approved review comments";
|
|
12
12
|
export const options = z.object({
|
|
13
|
-
// Accepted for backward compatibility (the dashboard passes it). The fix loop
|
|
14
|
-
// is now the only flow, so this is always on.
|
|
15
|
-
loop: z.boolean().default(true).describe("Deprecated: the fix loop is always on"),
|
|
16
13
|
signal: z
|
|
17
14
|
.string()
|
|
18
15
|
.optional()
|
package/dist/lib/fix-loop.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Marker store for the auto-fix `/loop` (see `santree pr fix
|
|
2
|
+
* Marker store for the auto-fix `/loop` (see `santree pr fix`).
|
|
3
3
|
*
|
|
4
4
|
* Each running loop writes `.santree/fix-loops/<ticketId>.json` and heartbeats it
|
|
5
5
|
* every iteration. The dashboard reads these markers to render a per-ticket fix-loop
|