sequant 1.15.3 → 1.16.0
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/.claude-plugin/plugin.json +1 -1
- package/dist/bin/cli.js +14 -0
- package/dist/src/commands/merge.d.ts +22 -0
- package/dist/src/commands/merge.js +109 -0
- package/dist/src/commands/run.d.ts +36 -0
- package/dist/src/commands/run.js +195 -8
- package/dist/src/lib/merge-check/combined-branch-test.d.ts +16 -0
- package/dist/src/lib/merge-check/combined-branch-test.js +179 -0
- package/dist/src/lib/merge-check/index.d.ts +41 -0
- package/dist/src/lib/merge-check/index.js +225 -0
- package/dist/src/lib/merge-check/mirroring-check.d.ts +14 -0
- package/dist/src/lib/merge-check/mirroring-check.js +97 -0
- package/dist/src/lib/merge-check/overlap-detection.d.ts +20 -0
- package/dist/src/lib/merge-check/overlap-detection.js +148 -0
- package/dist/src/lib/merge-check/report.d.ts +38 -0
- package/dist/src/lib/merge-check/report.js +238 -0
- package/dist/src/lib/merge-check/residual-pattern-scan.d.ts +26 -0
- package/dist/src/lib/merge-check/residual-pattern-scan.js +222 -0
- package/dist/src/lib/merge-check/types.d.ts +182 -0
- package/dist/src/lib/merge-check/types.js +22 -0
- package/dist/src/lib/workflow/log-writer.d.ts +4 -0
- package/dist/src/lib/workflow/log-writer.js +16 -0
- package/dist/src/lib/workflow/run-log-schema.d.ts +4 -0
- package/dist/src/lib/workflow/run-log-schema.js +4 -0
- package/dist/src/lib/workflow/types.d.ts +4 -0
- package/package.json +1 -1
- package/templates/skills/exec/SKILL.md +1 -0
|
@@ -98,6 +98,16 @@ export class LogWriter {
|
|
|
98
98
|
console.log(`📝 Logged phase: ${phaseLog.phase} (${phaseLog.status}) - ${phaseLog.durationSeconds.toFixed(1)}s`);
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
+
/**
|
|
102
|
+
* Set PR info on the current issue (call before completeIssue)
|
|
103
|
+
*/
|
|
104
|
+
setPRInfo(prNumber, prUrl) {
|
|
105
|
+
if (!this.currentIssue) {
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
this.currentIssue.prNumber = prNumber;
|
|
109
|
+
this.currentIssue.prUrl = prUrl;
|
|
110
|
+
}
|
|
101
111
|
/**
|
|
102
112
|
* Complete the current issue and add it to the run log
|
|
103
113
|
*/
|
|
@@ -114,6 +124,12 @@ export class LogWriter {
|
|
|
114
124
|
status: this.currentIssue.status,
|
|
115
125
|
phases: this.currentIssue.phases,
|
|
116
126
|
totalDurationSeconds,
|
|
127
|
+
...(this.currentIssue.prNumber != null && {
|
|
128
|
+
prNumber: this.currentIssue.prNumber,
|
|
129
|
+
}),
|
|
130
|
+
...(this.currentIssue.prUrl != null && {
|
|
131
|
+
prUrl: this.currentIssue.prUrl,
|
|
132
|
+
}),
|
|
117
133
|
};
|
|
118
134
|
this.runLog.issues.push(issueLog);
|
|
119
135
|
this.currentIssue = null;
|
|
@@ -197,6 +197,8 @@ export declare const IssueLogSchema: z.ZodObject<{
|
|
|
197
197
|
}, z.core.$strip>>;
|
|
198
198
|
}, z.core.$strip>>;
|
|
199
199
|
totalDurationSeconds: z.ZodNumber;
|
|
200
|
+
prNumber: z.ZodOptional<z.ZodNumber>;
|
|
201
|
+
prUrl: z.ZodOptional<z.ZodString>;
|
|
200
202
|
}, z.core.$strip>;
|
|
201
203
|
export type IssueLog = z.infer<typeof IssueLogSchema>;
|
|
202
204
|
/**
|
|
@@ -314,6 +316,8 @@ export declare const RunLogSchema: z.ZodObject<{
|
|
|
314
316
|
}, z.core.$strip>>;
|
|
315
317
|
}, z.core.$strip>>;
|
|
316
318
|
totalDurationSeconds: z.ZodNumber;
|
|
319
|
+
prNumber: z.ZodOptional<z.ZodNumber>;
|
|
320
|
+
prUrl: z.ZodOptional<z.ZodString>;
|
|
317
321
|
}, z.core.$strip>>;
|
|
318
322
|
summary: z.ZodObject<{
|
|
319
323
|
totalIssues: z.ZodNumber;
|
|
@@ -126,6 +126,10 @@ export const IssueLogSchema = z.object({
|
|
|
126
126
|
phases: z.array(PhaseLogSchema),
|
|
127
127
|
/** Total execution time in seconds */
|
|
128
128
|
totalDurationSeconds: z.number().nonnegative(),
|
|
129
|
+
/** PR number if created after successful QA */
|
|
130
|
+
prNumber: z.number().int().positive().optional(),
|
|
131
|
+
/** PR URL if created after successful QA */
|
|
132
|
+
prUrl: z.string().optional(),
|
|
129
133
|
});
|
|
130
134
|
/**
|
|
131
135
|
* Run configuration
|
|
@@ -71,6 +71,10 @@ export interface IssueResult {
|
|
|
71
71
|
abortReason?: string;
|
|
72
72
|
loopTriggered?: boolean;
|
|
73
73
|
durationSeconds?: number;
|
|
74
|
+
/** PR number if created after successful QA */
|
|
75
|
+
prNumber?: number;
|
|
76
|
+
/** PR URL if created after successful QA */
|
|
77
|
+
prUrl?: string;
|
|
74
78
|
}
|
|
75
79
|
/**
|
|
76
80
|
* CLI arguments for run command
|
package/package.json
CHANGED