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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sequant",
3
- "version": "1.15.3",
3
+ "version": "1.16.0",
4
4
  "description": "Quantize your development workflow - Sequential AI phases with quality gates",
5
5
  "type": "module",
6
6
  "bin": {
@@ -23,6 +23,7 @@ allowed-tools:
23
23
  - Bash(git add:*)
24
24
  - Bash(git commit:*)
25
25
  - Bash(git log:*)
26
+ - Bash(git push:*)
26
27
  - Bash(git worktree:*)
27
28
  # Worktree management
28
29
  - Bash(./scripts/dev/new-feature.sh:*)