@smartergpt/lexrunner 2.1.0 → 2.2.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/dist/cli.d.ts CHANGED
@@ -226,6 +226,24 @@ declare const Plan: z.ZodObject<{
226
226
  mismatch: z.ZodOptional<z.ZodBoolean>;
227
227
  }, z.core.$strip>>;
228
228
  }, z.core.$strict>>>;
229
+ gitInputs: z.ZodOptional<z.ZodObject<{
230
+ schemaVersion: z.ZodLiteral<"1.0.0">;
231
+ repository: z.ZodString;
232
+ checkoutRemote: z.ZodString;
233
+ acquisition: z.ZodEnum<{
234
+ "local-only": "local-only";
235
+ fetch: "fetch";
236
+ }>;
237
+ target: z.ZodObject<{
238
+ ref: z.ZodString;
239
+ commit: z.ZodString;
240
+ }, z.core.$strict>;
241
+ sources: z.ZodArray<z.ZodObject<{
242
+ ref: z.ZodString;
243
+ commit: z.ZodString;
244
+ item: z.ZodString;
245
+ }, z.core.$strict>>;
246
+ }, z.core.$strict>>;
229
247
  }, z.core.$strict>;
230
248
  type Plan = z.infer<typeof Plan>;
231
249
  /**
@@ -2506,6 +2524,12 @@ type AgentWorkFanInDecision_v1 = z.infer<typeof AgentWorkFanInDecision_v1>;
2506
2524
  declare function computeFanInEvidenceSetHash(candidates: AgentWorkFanInDecision_v1["candidates"]): string;
2507
2525
  /** Portable packet content before LexRunner derives and verifies packet_hash. */
2508
2526
  declare const AgentTaskPacketHashInput_v1: z.ZodObject<{
2527
+ repository: z.ZodObject<{
2528
+ id: z.ZodString;
2529
+ remote_url: z.ZodOptional<z.ZodString>;
2530
+ default_branch: z.ZodOptional<z.ZodString>;
2531
+ base_sha: z.ZodString;
2532
+ }, z.core.$strict>;
2509
2533
  objective: z.ZodString;
2510
2534
  run_id: z.ZodString;
2511
2535
  scope: z.ZodObject<{
@@ -2528,12 +2552,6 @@ declare const AgentTaskPacketHashInput_v1: z.ZodObject<{
2528
2552
  }, z.core.$strict>;
2529
2553
  schema_version: z.ZodLiteral<"1.0.0">;
2530
2554
  created_at: z.ZodString;
2531
- repository: z.ZodObject<{
2532
- id: z.ZodString;
2533
- remote_url: z.ZodOptional<z.ZodString>;
2534
- default_branch: z.ZodOptional<z.ZodString>;
2535
- base_sha: z.ZodString;
2536
- }, z.core.$strict>;
2537
2555
  acceptance_criteria: z.ZodArray<z.ZodObject<{
2538
2556
  id: z.ZodString;
2539
2557
  text: z.ZodString;
@@ -4919,8 +4937,8 @@ declare const SourceObservationShape: {
4919
4937
  readonly source_head_sha: z.ZodString;
4920
4938
  readonly requested_object_sha: z.ZodString;
4921
4939
  readonly requested_object_type: z.ZodEnum<{
4922
- missing: "missing";
4923
4940
  commit: "commit";
4941
+ missing: "missing";
4924
4942
  other: "other";
4925
4943
  }>;
4926
4944
  readonly cleanliness: z.ZodEnum<{
@@ -4939,8 +4957,8 @@ declare const NativeWslSourceObservation_v1: z.ZodPreprocess<z.ZodObject<{
4939
4957
  source_head_sha: z.ZodString;
4940
4958
  requested_object_sha: z.ZodString;
4941
4959
  requested_object_type: z.ZodEnum<{
4942
- missing: "missing";
4943
4960
  commit: "commit";
4961
+ missing: "missing";
4944
4962
  other: "other";
4945
4963
  }>;
4946
4964
  cleanliness: z.ZodEnum<{
@@ -5046,8 +5064,8 @@ declare const ProjectionManifestShape: {
5046
5064
  source_head_sha: z.ZodString;
5047
5065
  requested_object_sha: z.ZodString;
5048
5066
  requested_object_type: z.ZodEnum<{
5049
- missing: "missing";
5050
5067
  commit: "commit";
5068
+ missing: "missing";
5051
5069
  other: "other";
5052
5070
  }>;
5053
5071
  cleanliness: z.ZodEnum<{
@@ -5134,8 +5152,8 @@ declare const NativeWslProjectionManifest_v1: z.ZodPreprocess<z.ZodObject<{
5134
5152
  source_head_sha: z.ZodString;
5135
5153
  requested_object_sha: z.ZodString;
5136
5154
  requested_object_type: z.ZodEnum<{
5137
- missing: "missing";
5138
5155
  commit: "commit";
5156
+ missing: "missing";
5139
5157
  other: "other";
5140
5158
  }>;
5141
5159
  cleanliness: z.ZodEnum<{
@@ -5637,8 +5655,8 @@ declare const ProjectionSelectionShape: {
5637
5655
  source_head_sha: z.ZodString;
5638
5656
  requested_object_sha: z.ZodString;
5639
5657
  requested_object_type: z.ZodEnum<{
5640
- missing: "missing";
5641
5658
  commit: "commit";
5659
+ missing: "missing";
5642
5660
  other: "other";
5643
5661
  }>;
5644
5662
  cleanliness: z.ZodEnum<{
@@ -5701,8 +5719,8 @@ declare const NativeWslProjectionSelection_v1: z.ZodPreprocess<z.ZodObject<{
5701
5719
  source_head_sha: z.ZodString;
5702
5720
  requested_object_sha: z.ZodString;
5703
5721
  requested_object_type: z.ZodEnum<{
5704
- missing: "missing";
5705
5722
  commit: "commit";
5723
+ missing: "missing";
5706
5724
  other: "other";
5707
5725
  }>;
5708
5726
  cleanliness: z.ZodEnum<{
@@ -5768,8 +5786,8 @@ declare const NativeWslProjectionInventoryObservation_v1: z.ZodUnion<readonly [z
5768
5786
  source_head_sha: z.ZodString;
5769
5787
  requested_object_sha: z.ZodString;
5770
5788
  requested_object_type: z.ZodEnum<{
5771
- missing: "missing";
5772
5789
  commit: "commit";
5790
+ missing: "missing";
5773
5791
  other: "other";
5774
5792
  }>;
5775
5793
  cleanliness: z.ZodEnum<{
@@ -7134,9 +7152,9 @@ declare const AxfExternalAwaitResult_v1: z.ZodObject<{
7134
7152
  name: z.ZodString;
7135
7153
  appSlug: z.ZodNullable<z.ZodString>;
7136
7154
  state: z.ZodEnum<{
7155
+ error: "error";
7137
7156
  success: "success";
7138
7157
  failure: "failure";
7139
- error: "error";
7140
7158
  completed: "completed";
7141
7159
  pending: "pending";
7142
7160
  missing: "missing";
@@ -7231,9 +7249,9 @@ declare const AttemptAwaitableTerminalResult_v1: z.ZodObject<{
7231
7249
  name: z.ZodString;
7232
7250
  appSlug: z.ZodNullable<z.ZodString>;
7233
7251
  state: z.ZodEnum<{
7252
+ error: "error";
7234
7253
  success: "success";
7235
7254
  failure: "failure";
7236
- error: "error";
7237
7255
  completed: "completed";
7238
7256
  pending: "pending";
7239
7257
  missing: "missing";
@@ -7372,9 +7390,9 @@ declare const AttemptAwaitableRecord_v1: z.ZodObject<{
7372
7390
  name: z.ZodString;
7373
7391
  appSlug: z.ZodNullable<z.ZodString>;
7374
7392
  state: z.ZodEnum<{
7393
+ error: "error";
7375
7394
  success: "success";
7376
7395
  failure: "failure";
7377
- error: "error";
7378
7396
  completed: "completed";
7379
7397
  pending: "pending";
7380
7398
  missing: "missing";
@@ -7478,9 +7496,9 @@ declare const AttemptAwaitableCompletion_v1: z.ZodObject<{
7478
7496
  name: z.ZodString;
7479
7497
  appSlug: z.ZodNullable<z.ZodString>;
7480
7498
  state: z.ZodEnum<{
7499
+ error: "error";
7481
7500
  success: "success";
7482
7501
  failure: "failure";
7483
- error: "error";
7484
7502
  completed: "completed";
7485
7503
  pending: "pending";
7486
7504
  missing: "missing";
@@ -8631,6 +8649,7 @@ interface GitHubClient {
8631
8649
  getPRDetails(number: number): Promise<PullRequestDetails>;
8632
8650
  getPRDependencies(pr: PullRequest): Promise<string[]>;
8633
8651
  validateRepository(): Promise<RepositoryInfo>;
8652
+ getBranchHead(branch: string): Promise<string>;
8634
8653
  listIssues(options?: IssueQueryOptions): Promise<GitHubIssue[]>;
8635
8654
  getOctokit(): any;
8636
8655
  getOwner(): string;
@@ -8921,6 +8940,7 @@ interface GitHubPlanOptions$1 {
8921
8940
  excludePRs?: number[];
8922
8941
  includeDrafts?: boolean;
8923
8942
  target?: string;
8943
+ gitAcquisition?: "local-only" | "fetch";
8924
8944
  policy?: {
8925
8945
  requiredGates?: string[];
8926
8946
  maxWorkers?: number;
@@ -8998,6 +9018,7 @@ interface MergeOperation {
8998
9018
  item: PlanItem;
8999
9019
  targetBranch: string;
9000
9020
  strategy: "rebase-weave" | "merge-weave" | "squash-weave";
9021
+ sourceCommit?: string;
9001
9022
  }
9002
9023
  interface WeaveResult {
9003
9024
  success: boolean;
@@ -9240,6 +9261,7 @@ interface BoundedIntegrationStatus {
9240
9261
  schemaVersion: string;
9241
9262
  target: string;
9242
9263
  itemCount: number;
9264
+ gitInputBinding: "frozen" | "legacy-unbound";
9243
9265
  policy?: Plan["policy"];
9244
9266
  };
9245
9267
  mergeSummary: ReturnType<MergeEligibilityEvaluator["getMergeSummary"]>;
@@ -9320,6 +9342,7 @@ interface BoundedMergeApplicationResult {
9320
9342
  ok: boolean;
9321
9343
  status: "preview" | "completed" | "paused" | "failed";
9322
9344
  totalItems: number;
9345
+ gitInputBinding: "frozen" | "legacy-unbound";
9323
9346
  levels?: string[][];
9324
9347
  maxParallelism?: number;
9325
9348
  runId?: string;