@smartergpt/lexrunner 2.1.0 → 2.3.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/CHANGELOG.md +44 -0
- package/README.mcp.md +5 -1
- package/README.md +40 -33
- package/dist/{autopilot-JWIOXBCZ.js → autopilot-7PX6YG55.js} +1 -1
- package/dist/{chunk-SHSL643G.js → chunk-M6AAYMHH.js} +361 -291
- package/dist/cli.cjs +10463 -9961
- package/dist/cli.d.ts +231 -18
- package/dist/cli.js +9190 -8772
- package/dist/sdk/index.d.ts +5 -5
- package/mcp-server.mjs +7 -0
- package/package.json +3 -3
- package/schemas/plan.schema.json +203 -73
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<{
|
|
@@ -6112,6 +6130,7 @@ declare const AttemptStartRequestJsonSchema: z.core.ZodStandardJSONSchemaPayload
|
|
|
6112
6130
|
}, z.core.$strict>;
|
|
6113
6131
|
}, z.core.$strict>>;
|
|
6114
6132
|
declare const AttemptPrepareRequestJsonSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
|
|
6133
|
+
expectedPacketHash: z.ZodOptional<z.ZodString>;
|
|
6115
6134
|
runtime: z.ZodObject<{
|
|
6116
6135
|
databasePath: z.ZodString;
|
|
6117
6136
|
repositoryId: z.ZodString;
|
|
@@ -6302,6 +6321,12 @@ interface AdapterInputError {
|
|
|
6302
6321
|
interface AdapterOperationError {
|
|
6303
6322
|
code: "operation_failed";
|
|
6304
6323
|
message: string;
|
|
6324
|
+
preparationEffects?: {
|
|
6325
|
+
runId: string;
|
|
6326
|
+
attemptId: string;
|
|
6327
|
+
expectedPacketHash: string;
|
|
6328
|
+
observedPacketHash: string;
|
|
6329
|
+
};
|
|
6305
6330
|
}
|
|
6306
6331
|
type AdapterError = AdapterInputError | AdapterOperationError;
|
|
6307
6332
|
type AgentWorkHandlerResult<T> = {
|
|
@@ -7134,9 +7159,9 @@ declare const AxfExternalAwaitResult_v1: z.ZodObject<{
|
|
|
7134
7159
|
name: z.ZodString;
|
|
7135
7160
|
appSlug: z.ZodNullable<z.ZodString>;
|
|
7136
7161
|
state: z.ZodEnum<{
|
|
7162
|
+
error: "error";
|
|
7137
7163
|
success: "success";
|
|
7138
7164
|
failure: "failure";
|
|
7139
|
-
error: "error";
|
|
7140
7165
|
completed: "completed";
|
|
7141
7166
|
pending: "pending";
|
|
7142
7167
|
missing: "missing";
|
|
@@ -7231,9 +7256,9 @@ declare const AttemptAwaitableTerminalResult_v1: z.ZodObject<{
|
|
|
7231
7256
|
name: z.ZodString;
|
|
7232
7257
|
appSlug: z.ZodNullable<z.ZodString>;
|
|
7233
7258
|
state: z.ZodEnum<{
|
|
7259
|
+
error: "error";
|
|
7234
7260
|
success: "success";
|
|
7235
7261
|
failure: "failure";
|
|
7236
|
-
error: "error";
|
|
7237
7262
|
completed: "completed";
|
|
7238
7263
|
pending: "pending";
|
|
7239
7264
|
missing: "missing";
|
|
@@ -7372,9 +7397,9 @@ declare const AttemptAwaitableRecord_v1: z.ZodObject<{
|
|
|
7372
7397
|
name: z.ZodString;
|
|
7373
7398
|
appSlug: z.ZodNullable<z.ZodString>;
|
|
7374
7399
|
state: z.ZodEnum<{
|
|
7400
|
+
error: "error";
|
|
7375
7401
|
success: "success";
|
|
7376
7402
|
failure: "failure";
|
|
7377
|
-
error: "error";
|
|
7378
7403
|
completed: "completed";
|
|
7379
7404
|
pending: "pending";
|
|
7380
7405
|
missing: "missing";
|
|
@@ -7478,9 +7503,9 @@ declare const AttemptAwaitableCompletion_v1: z.ZodObject<{
|
|
|
7478
7503
|
name: z.ZodString;
|
|
7479
7504
|
appSlug: z.ZodNullable<z.ZodString>;
|
|
7480
7505
|
state: z.ZodEnum<{
|
|
7506
|
+
error: "error";
|
|
7481
7507
|
success: "success";
|
|
7482
7508
|
failure: "failure";
|
|
7483
|
-
error: "error";
|
|
7484
7509
|
completed: "completed";
|
|
7485
7510
|
pending: "pending";
|
|
7486
7511
|
missing: "missing";
|
|
@@ -7987,6 +8012,189 @@ interface AttemptVerificationHandlerOptions {
|
|
|
7987
8012
|
}
|
|
7988
8013
|
declare function createAttemptVerificationHandlers(options?: AttemptVerificationHandlerOptions): AttemptVerificationHandlers;
|
|
7989
8014
|
|
|
8015
|
+
/** Machine discovery for the same bounded input accepted by CLI and MCP. */
|
|
8016
|
+
declare const SelectedWorkInputJsonSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
|
|
8017
|
+
artifact: z.ZodObject<{
|
|
8018
|
+
id: z.ZodString;
|
|
8019
|
+
text: z.ZodString;
|
|
8020
|
+
digest: z.ZodString;
|
|
8021
|
+
}, z.core.$strict>;
|
|
8022
|
+
outcome: z.ZodObject<{
|
|
8023
|
+
id: z.ZodString;
|
|
8024
|
+
revision: z.ZodString;
|
|
8025
|
+
digest: z.ZodString;
|
|
8026
|
+
}, z.core.$strict>;
|
|
8027
|
+
workPlan: z.ZodObject<{
|
|
8028
|
+
id: z.ZodString;
|
|
8029
|
+
revision: z.ZodString;
|
|
8030
|
+
digest: z.ZodString;
|
|
8031
|
+
}, z.core.$strict>;
|
|
8032
|
+
selectedItemId: z.ZodString;
|
|
8033
|
+
workItem: z.ZodObject<{
|
|
8034
|
+
id: z.ZodString;
|
|
8035
|
+
revision: z.ZodNumber;
|
|
8036
|
+
criterionIds: z.ZodArray<z.ZodString>;
|
|
8037
|
+
}, z.core.$strict>;
|
|
8038
|
+
capturedAt: z.ZodString;
|
|
8039
|
+
repository: z.ZodObject<{
|
|
8040
|
+
id: z.ZodString;
|
|
8041
|
+
remote_url: z.ZodOptional<z.ZodString>;
|
|
8042
|
+
default_branch: z.ZodOptional<z.ZodString>;
|
|
8043
|
+
base_sha: z.ZodString;
|
|
8044
|
+
}, z.core.$strict>;
|
|
8045
|
+
packet: z.ZodObject<{
|
|
8046
|
+
run_id: z.ZodString;
|
|
8047
|
+
scope: z.ZodObject<{
|
|
8048
|
+
read_globs: z.ZodArray<z.ZodString>;
|
|
8049
|
+
write_globs: z.ZodArray<z.ZodString>;
|
|
8050
|
+
deny_globs: z.ZodArray<z.ZodString>;
|
|
8051
|
+
cross_repo_allowed: z.ZodBoolean;
|
|
8052
|
+
}, z.core.$strict>;
|
|
8053
|
+
verification: z.ZodArray<z.ZodObject<{
|
|
8054
|
+
id: z.ZodString;
|
|
8055
|
+
argv: z.ZodArray<z.ZodString>;
|
|
8056
|
+
cwd_rel: z.ZodOptional<z.ZodString>;
|
|
8057
|
+
depends_on: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8058
|
+
expected_exit_codes: z.ZodArray<z.ZodNumber>;
|
|
8059
|
+
}, z.core.$strict>>;
|
|
8060
|
+
budget: z.ZodObject<{
|
|
8061
|
+
max_tokens: z.ZodOptional<z.ZodNumber>;
|
|
8062
|
+
max_tool_calls: z.ZodOptional<z.ZodNumber>;
|
|
8063
|
+
max_elapsed_ms: z.ZodOptional<z.ZodNumber>;
|
|
8064
|
+
}, z.core.$strict>;
|
|
8065
|
+
created_at: z.ZodString;
|
|
8066
|
+
attempt_id: z.ZodString;
|
|
8067
|
+
packet_id: z.ZodString;
|
|
8068
|
+
authority: z.ZodObject<{
|
|
8069
|
+
edit: z.ZodBoolean;
|
|
8070
|
+
git_write: z.ZodBoolean;
|
|
8071
|
+
github_write: z.ZodBoolean;
|
|
8072
|
+
external_runtime: z.ZodBoolean;
|
|
8073
|
+
secrets: z.ZodBoolean;
|
|
8074
|
+
signing: z.ZodBoolean;
|
|
8075
|
+
release: z.ZodBoolean;
|
|
8076
|
+
}, z.core.$strict>;
|
|
8077
|
+
instructions: z.ZodArray<z.ZodString>;
|
|
8078
|
+
}, z.core.$strict>;
|
|
8079
|
+
}, z.core.$strict>>;
|
|
8080
|
+
/** Return only the fragment needed by existing preparation, not duplicate packet text. */
|
|
8081
|
+
declare function materializeAttemptInput(input: unknown): {
|
|
8082
|
+
ok: false;
|
|
8083
|
+
error: {
|
|
8084
|
+
code: "invalid_input" | "input_too_large" | "source_digest_mismatch" | "unsupported_source_version" | "ambiguous_item" | "unsupported_dependencies" | "repository_mismatch" | "invalid_criteria" | "invalid_packet";
|
|
8085
|
+
message: "Supply a valid bounded selection request and project artifact." | "Selection request and artifact must each fit within 256 KiB." | "The artifact bytes do not match the supplied expected digest." | "This converter supports Execution Plan 1.0.0 with Feature Spec 0.1.0 only." | "Select exactly one existing item from a plan with unique item IDs." | "This initial converter supports dependency-free items only." | "The selected repository must match the source specification repository." | "Provide nonblank criteria and one distinct stable ID per criterion in source order." | "Constructed context or explicit packet policy violates the existing portable packet contract; revise the supplied input before preparation.";
|
|
8086
|
+
};
|
|
8087
|
+
} | {
|
|
8088
|
+
ok: true;
|
|
8089
|
+
result: {
|
|
8090
|
+
outcome: "materialized_input";
|
|
8091
|
+
preparationInput: {
|
|
8092
|
+
workItem: {
|
|
8093
|
+
schema_version: "1.0.0";
|
|
8094
|
+
work_item_id: string;
|
|
8095
|
+
revision: number;
|
|
8096
|
+
source: {
|
|
8097
|
+
kind: "manual" | "github" | "jira";
|
|
8098
|
+
external_id: string;
|
|
8099
|
+
revision: string;
|
|
8100
|
+
captured_at: string;
|
|
8101
|
+
url?: string | undefined;
|
|
8102
|
+
};
|
|
8103
|
+
repository: {
|
|
8104
|
+
id: string;
|
|
8105
|
+
remote_url?: string | undefined;
|
|
8106
|
+
default_branch?: string | undefined;
|
|
8107
|
+
};
|
|
8108
|
+
title: string;
|
|
8109
|
+
objective: string;
|
|
8110
|
+
description: string;
|
|
8111
|
+
acceptance_criteria: {
|
|
8112
|
+
id: string;
|
|
8113
|
+
text: string;
|
|
8114
|
+
}[];
|
|
8115
|
+
constraints: string[];
|
|
8116
|
+
labels: string[];
|
|
8117
|
+
dependencies: string[];
|
|
8118
|
+
};
|
|
8119
|
+
identity: {
|
|
8120
|
+
runId: string;
|
|
8121
|
+
attemptId: string;
|
|
8122
|
+
baseSha: string;
|
|
8123
|
+
};
|
|
8124
|
+
packet: {
|
|
8125
|
+
packetId: string;
|
|
8126
|
+
instructions: string[];
|
|
8127
|
+
scope: {
|
|
8128
|
+
read_globs: string[];
|
|
8129
|
+
write_globs: string[];
|
|
8130
|
+
deny_globs: string[];
|
|
8131
|
+
cross_repo_allowed: boolean;
|
|
8132
|
+
};
|
|
8133
|
+
authority: {
|
|
8134
|
+
edit: boolean;
|
|
8135
|
+
git_write: boolean;
|
|
8136
|
+
github_write: boolean;
|
|
8137
|
+
external_runtime: boolean;
|
|
8138
|
+
secrets: boolean;
|
|
8139
|
+
signing: boolean;
|
|
8140
|
+
release: boolean;
|
|
8141
|
+
};
|
|
8142
|
+
verification: {
|
|
8143
|
+
id: string;
|
|
8144
|
+
argv: string[];
|
|
8145
|
+
expected_exit_codes: number[];
|
|
8146
|
+
cwd_rel?: string | undefined;
|
|
8147
|
+
depends_on?: string[] | undefined;
|
|
8148
|
+
}[];
|
|
8149
|
+
budget: {
|
|
8150
|
+
max_tokens?: number | undefined;
|
|
8151
|
+
max_tool_calls?: number | undefined;
|
|
8152
|
+
max_elapsed_ms?: number | undefined;
|
|
8153
|
+
};
|
|
8154
|
+
createdAt: string;
|
|
8155
|
+
};
|
|
8156
|
+
expectedPacketHash: string;
|
|
8157
|
+
};
|
|
8158
|
+
requiredPreparationFields: string[];
|
|
8159
|
+
correspondence: {
|
|
8160
|
+
digest: string;
|
|
8161
|
+
schema_version: "1.0.0";
|
|
8162
|
+
profile: "lexrunner.selected-work.v1";
|
|
8163
|
+
source: {
|
|
8164
|
+
artifact_id: string;
|
|
8165
|
+
digest: string;
|
|
8166
|
+
selected_item_id: string;
|
|
8167
|
+
};
|
|
8168
|
+
supplied_references: {
|
|
8169
|
+
outcome: {
|
|
8170
|
+
id: string;
|
|
8171
|
+
revision: string;
|
|
8172
|
+
digest: string;
|
|
8173
|
+
};
|
|
8174
|
+
work_plan: {
|
|
8175
|
+
id: string;
|
|
8176
|
+
revision: string;
|
|
8177
|
+
digest: string;
|
|
8178
|
+
};
|
|
8179
|
+
};
|
|
8180
|
+
reference_content_verified: false;
|
|
8181
|
+
work_item: {
|
|
8182
|
+
id: string;
|
|
8183
|
+
revision: number;
|
|
8184
|
+
digest: string;
|
|
8185
|
+
};
|
|
8186
|
+
criterion_mapping: {
|
|
8187
|
+
source_index: number;
|
|
8188
|
+
criterion_id: string;
|
|
8189
|
+
}[];
|
|
8190
|
+
run_id: string;
|
|
8191
|
+
attempt_id: string;
|
|
8192
|
+
packet_id: string;
|
|
8193
|
+
packet_hash: string;
|
|
8194
|
+
};
|
|
8195
|
+
};
|
|
8196
|
+
};
|
|
8197
|
+
|
|
7990
8198
|
/** Deterministic in-memory implementation of the controller coordination contract. */
|
|
7991
8199
|
declare class InMemoryCoordinationStore implements CoordinationStore {
|
|
7992
8200
|
private readonly records;
|
|
@@ -8631,6 +8839,7 @@ interface GitHubClient {
|
|
|
8631
8839
|
getPRDetails(number: number): Promise<PullRequestDetails>;
|
|
8632
8840
|
getPRDependencies(pr: PullRequest): Promise<string[]>;
|
|
8633
8841
|
validateRepository(): Promise<RepositoryInfo>;
|
|
8842
|
+
getBranchHead(branch: string): Promise<string>;
|
|
8634
8843
|
listIssues(options?: IssueQueryOptions): Promise<GitHubIssue[]>;
|
|
8635
8844
|
getOctokit(): any;
|
|
8636
8845
|
getOwner(): string;
|
|
@@ -8921,6 +9130,7 @@ interface GitHubPlanOptions$1 {
|
|
|
8921
9130
|
excludePRs?: number[];
|
|
8922
9131
|
includeDrafts?: boolean;
|
|
8923
9132
|
target?: string;
|
|
9133
|
+
gitAcquisition?: "local-only" | "fetch";
|
|
8924
9134
|
policy?: {
|
|
8925
9135
|
requiredGates?: string[];
|
|
8926
9136
|
maxWorkers?: number;
|
|
@@ -8998,6 +9208,7 @@ interface MergeOperation {
|
|
|
8998
9208
|
item: PlanItem;
|
|
8999
9209
|
targetBranch: string;
|
|
9000
9210
|
strategy: "rebase-weave" | "merge-weave" | "squash-weave";
|
|
9211
|
+
sourceCommit?: string;
|
|
9001
9212
|
}
|
|
9002
9213
|
interface WeaveResult {
|
|
9003
9214
|
success: boolean;
|
|
@@ -9240,6 +9451,7 @@ interface BoundedIntegrationStatus {
|
|
|
9240
9451
|
schemaVersion: string;
|
|
9241
9452
|
target: string;
|
|
9242
9453
|
itemCount: number;
|
|
9454
|
+
gitInputBinding: "frozen" | "legacy-unbound";
|
|
9243
9455
|
policy?: Plan["policy"];
|
|
9244
9456
|
};
|
|
9245
9457
|
mergeSummary: ReturnType<MergeEligibilityEvaluator["getMergeSummary"]>;
|
|
@@ -9320,6 +9532,7 @@ interface BoundedMergeApplicationResult {
|
|
|
9320
9532
|
ok: boolean;
|
|
9321
9533
|
status: "preview" | "completed" | "paused" | "failed";
|
|
9322
9534
|
totalItems: number;
|
|
9535
|
+
gitInputBinding: "frozen" | "legacy-unbound";
|
|
9323
9536
|
levels?: string[][];
|
|
9324
9537
|
maxParallelism?: number;
|
|
9325
9538
|
runId?: string;
|
|
@@ -9949,4 +10162,4 @@ declare function createWorkflowGuide(phase: WorkflowPhase): WorkflowGuide;
|
|
|
9949
10162
|
declare function inspectRegisteredCliSurface(): RegisteredCliCommand[];
|
|
9950
10163
|
declare function main(argv?: string[]): Promise<void>;
|
|
9951
10164
|
|
|
9952
|
-
export { AGENT_ENGINE_VERIFICATION_V2_VERSION, AGENT_TASK_RECEIPT_PATCH_PROFILE, AGENT_TASK_RECEIPT_V2_VERSION, AGENT_WORK_CONTRACT_VERSION, ATTEMPT_AWAITABLE_CONTRACT_VERSION, AXF_AWAITABLE_SCHEMA_VERSION, AXF_AWAIT_RESULT_SCHEMA_VERSION, type AcknowledgeAttemptAwaitableDeliveryInput, AgentEngineVerification_v1, AgentEngineVerification_v2, type AgentExecutionPathBindingContext, type AgentExecutionPathBindingValidation, AgentExecutionPathMapping_v1, type AgentTaskPacketHashInput, AgentTaskPacketHashInput_v1, AgentTaskPacket_v1, type AgentTaskReceiptBindingContext, AgentTaskReceiptOutcome, type AgentTaskReceiptV2BindingContext, AgentTaskReceipt_v1, AgentTaskReceipt_v2, AgentWorkContainmentPreflightRequestJsonSchema, AgentWorkFanInDecision_v1, type AgentWorkFanInResult, AgentWorkFanoutPlan_v1, AgentWorkFanoutService, type AgentWorkPreparationCommandResult, type AgentWorkPreparationCommandRunner, AgentWorkPreparationReceipt_v1, type AgentWorkPreparationResult, AttemptAcceptanceApplyRequestJsonSchema, AttemptAcceptanceStatusRequestJsonSchema, type AttemptAwaitableAttachmentResult, AttemptAwaitableCompletion_v1, AttemptAwaitableDelivery_v1, AttemptAwaitableEventType_v1, AttemptAwaitableEvent_v1, type AttemptAwaitableLeaseCredential, type AttemptAwaitableMutationFailureReason, type AttemptAwaitableNotifier, type AttemptAwaitableObservationRequest, type AttemptAwaitableObserver, AttemptAwaitableObserverLease_v1, AttemptAwaitableRecord_v1, AttemptAwaitableStatus_v1, type AttemptAwaitableStore, AttemptAwaitableSupervisor, type AttemptAwaitableSupervisorNotice, type AttemptAwaitableSupervisorOptions, AttemptAwaitableTerminalResult_v1, AttemptPrepareRequestJsonSchema, AttemptReceiptStatusRequestJsonSchema, AttemptReceiptSubmitRequestJsonSchema, AttemptRetryDeltaDimension_v1, AttemptRetryDelta_v1, AttemptStartRequestJsonSchema, AttemptStatus, AttemptStatusInputJsonSchema, AttemptVerificationRunRequestJsonSchema, AttemptVerificationStatusRequestJsonSchema, AttemptWorkerAttachRequestJsonSchema, AttemptWorkerEndRequestJsonSchema, AttemptWorkerHeartbeatRequestJsonSchema, AttemptWorkerStatusRequestJsonSchema, Attempt_v1, AuthorityEnvelope, AxfCliAttemptAwaitableObserver, type AxfCliAttemptAwaitableObserverOptions, AxfExternalAwaitResult_v1, type BeginAttemptAwaitableDeliveryInput, type BoundedDiscoveryResult, type BoundedGateRunResult, type BoundedIntegrationStatus, type BoundedMergeApplicationResult, type BoundedMergeOrderResult, type CancelAttemptAwaitableInput, type ClaimAttemptAwaitableObservationInput, type ClaimAttemptAwaitableObservationResult, ClaimedCheckOutcome, type CompleteAttemptAwaitableInput, ConfigurationQueryService, ControllerLease_v1, type CreateAgentWorkFanoutInput, type DecideAgentWorkFanInInput, DiscoveryQueryService, EXECUTION_PLAN_ARTIFACT_CONTRACT, EXECUTION_PLAN_CANONICALIZATION_PROFILE, EXECUTION_PLAN_HASH_DOMAIN, EXECUTION_PLAN_HASH_PROFILE, EngineVerificationCheckSource_v2, EngineVerificationDeterminism_v2, EngineVerificationTrustGapReason_v2, type ExecuteAgentWorkPreparationInput, ExecutionEnvelope_v1, ExecutionEnvironmentOS, type ExecutionPlanArtifactIdentity_v1, ExecutionPlanArtifactIdentity_v1Schema, type ExecutionPlanArtifact_v1, ExecutionPlanArtifact_v1Schema, ExecutionState, ExternalAwaitOutcome_v1, ExternalAwaitableDescriptor_v1, FanInCandidateConclusion_v1, FanoutAttemptBinding_v1, FanoutPremise_v1, FanoutRationale_v1, FanoutSelectionCriterion_v1, GATE_IMPACT_MODEL, GateExecutionService, GateExecutionServiceError, type GateExecutionServiceInput, type GateExecutionServiceResult, GateImpactService, GateImpactServiceError, GitHubAPI, GitObjectId, HumanActionPreconditions, HumanActionReceipt_v1, HumanActionRequest_v1, INTEGRATION_RECORD_REMOVAL_VERSION, INTEGRATION_RECORD_REPLACEMENTS, InMemoryAttemptAwaitableStore, IntegrationQueryServiceError, IntegrationRecordCompatibilityError, IntegrationRecordCompatibilityService, IntegrationStatusQueryService, MAX_ATTEMPT_AWAITABLE_DURATION_MS, MIN_ATTEMPT_AWAITABLE_DURATION_MS, type MergeApplicationExecution, type MergeApplicationFailureCode, type MergeApplicationRuntime, MergeApplicationService, MergeApplicationServiceError, MergeEligibilityEvaluator, MergeOrderQueryService, type MultiRepoPlanOptions$1 as MultiRepoPlanOptions, type MutateAttemptAwaitableResult, NATIVE_WSL_PROJECTION_CONTRACT_VERSION, NATIVE_WSL_PROJECTION_HASH_PROFILE, NativeDirectoryIdentityClaim_v1, NativeExecutionPathMapping_v1, NativeWslExecutionPathMapping_v1, NativeWslProjectionCleanupRequestJsonSchema, NativeWslProjectionInventoryObservation_v1, NativeWslProjectionInventoryState, NativeWslProjectionManifest_v1, NativeWslProjectionNextAction, NativeWslProjectionOutcome, NativeWslProjectionPathMapping_v1, NativeWslProjectionPlanAction, NativeWslProjectionPlanReason, NativeWslProjectionPlan_v1, NativeWslProjectionPrepareRequestJsonSchema, NativeWslProjectionQuarantineRequestJsonSchema, NativeWslProjectionReasonCode, NativeWslProjectionReceipt_v1, NativeWslProjectionRequestJsonSchema, NativeWslProjectionRequest_v1, NativeWslProjectionSelection_v1, NativeWslProjectionStatusRequestJsonSchema, NativeWslSourceObservation_v1, PLAN_ARTIFACT_REFERENCE_CONTRACT, type PlanArtifactAcquisition, type PlanArtifactFailureCode, type PlanArtifactIdentity, type PlanArtifactReference_v1, PlanArtifactReference_v1Schema, PlanArtifactRegistrationError, type PlanArtifactRegistrationFailureCode, PlanArtifactRegistrationService, type PlanArtifactScope_v1, PlanArtifactScope_v1Schema, PlanArtifactService, PlanArtifactServiceError, type PlanArtifactSource, PlanCreationService, type RegisterAttemptAwaitableInput, type RegisterAttemptAwaitableResult, type RegisterDurableAttemptAwaitableInput, type RegisterDurableAttemptAwaitableResult, type RegisterPlanArtifactInput, type RegisteredPlanArtifact, type ReleaseAttemptAwaitableObservationInput, type RepoTarget, type ResolvePlanArtifactInput, type ResolvedPlanArtifact, RunStatus, Run_v1, STRICT_FANOUT_SELECTION_CRITERIA, SqliteAttemptAwaitableStore, VerificationOutcome, WorkItem_v1, WorkerSessionBackend, WorkerSessionStatus, WorkerSession_v1, WorkspaceAllocationStatus, WorkspaceAllocation_v1, WorkspaceCleanupDisposition, WorkspaceConfigServiceError, WorkspaceDiagnosticsService, WorkspaceInitializationService, WorkspaceLeaseStatus, WorkspaceLease_v1, applyGateImpactSelection, asPlanValidationFailure, attemptStatusRequiresReceipt, attemptStatusRequiresVerification, bootstrapWorkspace, canonicalJSONStringify, completionForAttemptAwaitable, computeAgentEngineVerificationV2Hash, computeAgentTaskPacketHash, computeExecutionPlanArtifactDigest, computeFanInEvidenceSetHash, computeMergeOrder, containsAttemptAwaitableCredentialValue, createAgentTaskPacket, createAgentWorkContainmentPreflightHandler, createAttemptLifecycleHandlers, createAttemptReceiptHandlers, createAttemptVerificationHandlers, createAttemptWorkerHandlers, createFileAnalyzer, createGitHubAPI, createGitHubClient, createGitOperations, createNativeExecutionPathMapping, createNativeWslExecutionPathMapping, createNativeWslProjectionLifecycleHandlers, createNativeWslProjectionManifest, createNativeWslProjectionPathMapping, createNativeWslProjectionReceipt, createNativeWslProjectionRequest, createNativeWslProjectionSelection, createNativeWslSourceObservation, createRunManager, createWorkflowGuide, deliveryIdForAttemptAwaitable, detectProjectType, executeAgentWorkPreparation, executeGatesWithPolicy, formatPlanValidationFailure, formatPlanValidationFailureText, generateGitHubSnapshot, generateMultiRepoPlan, generatePlan, generatePlanFromGitHub, generateSnapshot, getEnvironmentSuggestions, healthChecker, initLocalOverlay, inspectRegisteredCliSurface, isTerminalAttemptStatus, loadInputs, loadPlan, main, nativeWslProjectionId, orderAgentWorkPreparationSteps, parseAgentEngineVerification, parseAgentEngineVerificationV2, parseAgentTaskPacket, parseAgentTaskReceipt, parseAgentTaskReceiptV2, parseAttempt, parseAttemptAwaitableDescriptor, parseAttemptAwaitableRecord, parseAttemptAwaitableTerminalResult, parseControllerLease, parseExecutionEnvelope, parseExternalAwaitableDescriptor, parseHumanActionReceipt, parseHumanActionRequest, parseRun, parseWorkItem, parseWorkerSession, parseWorkspaceAllocation, parseWorkspaceLease, planNativeWslProjection, resolveProfile, statusForAwaitableOutcome, validateAgentEngineVerificationV2PacketReferences, validateAgentExecutionPathBinding, validateAgentTaskReceiptBinding, validateAgentTaskReceiptV2Binding, validateAgentTaskReceiptV2PacketReferences, validateHumanActionReceiptBinding, writeGateImpactReceipt };
|
|
10165
|
+
export { AGENT_ENGINE_VERIFICATION_V2_VERSION, AGENT_TASK_RECEIPT_PATCH_PROFILE, AGENT_TASK_RECEIPT_V2_VERSION, AGENT_WORK_CONTRACT_VERSION, ATTEMPT_AWAITABLE_CONTRACT_VERSION, AXF_AWAITABLE_SCHEMA_VERSION, AXF_AWAIT_RESULT_SCHEMA_VERSION, type AcknowledgeAttemptAwaitableDeliveryInput, AgentEngineVerification_v1, AgentEngineVerification_v2, type AgentExecutionPathBindingContext, type AgentExecutionPathBindingValidation, AgentExecutionPathMapping_v1, type AgentTaskPacketHashInput, AgentTaskPacketHashInput_v1, AgentTaskPacket_v1, type AgentTaskReceiptBindingContext, AgentTaskReceiptOutcome, type AgentTaskReceiptV2BindingContext, AgentTaskReceipt_v1, AgentTaskReceipt_v2, AgentWorkContainmentPreflightRequestJsonSchema, AgentWorkFanInDecision_v1, type AgentWorkFanInResult, AgentWorkFanoutPlan_v1, AgentWorkFanoutService, type AgentWorkPreparationCommandResult, type AgentWorkPreparationCommandRunner, AgentWorkPreparationReceipt_v1, type AgentWorkPreparationResult, AttemptAcceptanceApplyRequestJsonSchema, AttemptAcceptanceStatusRequestJsonSchema, type AttemptAwaitableAttachmentResult, AttemptAwaitableCompletion_v1, AttemptAwaitableDelivery_v1, AttemptAwaitableEventType_v1, AttemptAwaitableEvent_v1, type AttemptAwaitableLeaseCredential, type AttemptAwaitableMutationFailureReason, type AttemptAwaitableNotifier, type AttemptAwaitableObservationRequest, type AttemptAwaitableObserver, AttemptAwaitableObserverLease_v1, AttemptAwaitableRecord_v1, AttemptAwaitableStatus_v1, type AttemptAwaitableStore, AttemptAwaitableSupervisor, type AttemptAwaitableSupervisorNotice, type AttemptAwaitableSupervisorOptions, AttemptAwaitableTerminalResult_v1, AttemptPrepareRequestJsonSchema, AttemptReceiptStatusRequestJsonSchema, AttemptReceiptSubmitRequestJsonSchema, AttemptRetryDeltaDimension_v1, AttemptRetryDelta_v1, AttemptStartRequestJsonSchema, AttemptStatus, AttemptStatusInputJsonSchema, AttemptVerificationRunRequestJsonSchema, AttemptVerificationStatusRequestJsonSchema, AttemptWorkerAttachRequestJsonSchema, AttemptWorkerEndRequestJsonSchema, AttemptWorkerHeartbeatRequestJsonSchema, AttemptWorkerStatusRequestJsonSchema, Attempt_v1, AuthorityEnvelope, AxfCliAttemptAwaitableObserver, type AxfCliAttemptAwaitableObserverOptions, AxfExternalAwaitResult_v1, type BeginAttemptAwaitableDeliveryInput, type BoundedDiscoveryResult, type BoundedGateRunResult, type BoundedIntegrationStatus, type BoundedMergeApplicationResult, type BoundedMergeOrderResult, type CancelAttemptAwaitableInput, type ClaimAttemptAwaitableObservationInput, type ClaimAttemptAwaitableObservationResult, ClaimedCheckOutcome, type CompleteAttemptAwaitableInput, ConfigurationQueryService, ControllerLease_v1, type CreateAgentWorkFanoutInput, type DecideAgentWorkFanInInput, DiscoveryQueryService, EXECUTION_PLAN_ARTIFACT_CONTRACT, EXECUTION_PLAN_CANONICALIZATION_PROFILE, EXECUTION_PLAN_HASH_DOMAIN, EXECUTION_PLAN_HASH_PROFILE, EngineVerificationCheckSource_v2, EngineVerificationDeterminism_v2, EngineVerificationTrustGapReason_v2, type ExecuteAgentWorkPreparationInput, ExecutionEnvelope_v1, ExecutionEnvironmentOS, type ExecutionPlanArtifactIdentity_v1, ExecutionPlanArtifactIdentity_v1Schema, type ExecutionPlanArtifact_v1, ExecutionPlanArtifact_v1Schema, ExecutionState, ExternalAwaitOutcome_v1, ExternalAwaitableDescriptor_v1, FanInCandidateConclusion_v1, FanoutAttemptBinding_v1, FanoutPremise_v1, FanoutRationale_v1, FanoutSelectionCriterion_v1, GATE_IMPACT_MODEL, GateExecutionService, GateExecutionServiceError, type GateExecutionServiceInput, type GateExecutionServiceResult, GateImpactService, GateImpactServiceError, GitHubAPI, GitObjectId, HumanActionPreconditions, HumanActionReceipt_v1, HumanActionRequest_v1, INTEGRATION_RECORD_REMOVAL_VERSION, INTEGRATION_RECORD_REPLACEMENTS, InMemoryAttemptAwaitableStore, IntegrationQueryServiceError, IntegrationRecordCompatibilityError, IntegrationRecordCompatibilityService, IntegrationStatusQueryService, MAX_ATTEMPT_AWAITABLE_DURATION_MS, MIN_ATTEMPT_AWAITABLE_DURATION_MS, type MergeApplicationExecution, type MergeApplicationFailureCode, type MergeApplicationRuntime, MergeApplicationService, MergeApplicationServiceError, MergeEligibilityEvaluator, MergeOrderQueryService, type MultiRepoPlanOptions$1 as MultiRepoPlanOptions, type MutateAttemptAwaitableResult, NATIVE_WSL_PROJECTION_CONTRACT_VERSION, NATIVE_WSL_PROJECTION_HASH_PROFILE, NativeDirectoryIdentityClaim_v1, NativeExecutionPathMapping_v1, NativeWslExecutionPathMapping_v1, NativeWslProjectionCleanupRequestJsonSchema, NativeWslProjectionInventoryObservation_v1, NativeWslProjectionInventoryState, NativeWslProjectionManifest_v1, NativeWslProjectionNextAction, NativeWslProjectionOutcome, NativeWslProjectionPathMapping_v1, NativeWslProjectionPlanAction, NativeWslProjectionPlanReason, NativeWslProjectionPlan_v1, NativeWslProjectionPrepareRequestJsonSchema, NativeWslProjectionQuarantineRequestJsonSchema, NativeWslProjectionReasonCode, NativeWslProjectionReceipt_v1, NativeWslProjectionRequestJsonSchema, NativeWslProjectionRequest_v1, NativeWslProjectionSelection_v1, NativeWslProjectionStatusRequestJsonSchema, NativeWslSourceObservation_v1, PLAN_ARTIFACT_REFERENCE_CONTRACT, type PlanArtifactAcquisition, type PlanArtifactFailureCode, type PlanArtifactIdentity, type PlanArtifactReference_v1, PlanArtifactReference_v1Schema, PlanArtifactRegistrationError, type PlanArtifactRegistrationFailureCode, PlanArtifactRegistrationService, type PlanArtifactScope_v1, PlanArtifactScope_v1Schema, PlanArtifactService, PlanArtifactServiceError, type PlanArtifactSource, PlanCreationService, type RegisterAttemptAwaitableInput, type RegisterAttemptAwaitableResult, type RegisterDurableAttemptAwaitableInput, type RegisterDurableAttemptAwaitableResult, type RegisterPlanArtifactInput, type RegisteredPlanArtifact, type ReleaseAttemptAwaitableObservationInput, type RepoTarget, type ResolvePlanArtifactInput, type ResolvedPlanArtifact, RunStatus, Run_v1, STRICT_FANOUT_SELECTION_CRITERIA, SelectedWorkInputJsonSchema, SqliteAttemptAwaitableStore, VerificationOutcome, WorkItem_v1, WorkerSessionBackend, WorkerSessionStatus, WorkerSession_v1, WorkspaceAllocationStatus, WorkspaceAllocation_v1, WorkspaceCleanupDisposition, WorkspaceConfigServiceError, WorkspaceDiagnosticsService, WorkspaceInitializationService, WorkspaceLeaseStatus, WorkspaceLease_v1, applyGateImpactSelection, asPlanValidationFailure, attemptStatusRequiresReceipt, attemptStatusRequiresVerification, bootstrapWorkspace, canonicalJSONStringify, completionForAttemptAwaitable, computeAgentEngineVerificationV2Hash, computeAgentTaskPacketHash, computeExecutionPlanArtifactDigest, computeFanInEvidenceSetHash, computeMergeOrder, containsAttemptAwaitableCredentialValue, createAgentTaskPacket, createAgentWorkContainmentPreflightHandler, createAttemptLifecycleHandlers, createAttemptReceiptHandlers, createAttemptVerificationHandlers, createAttemptWorkerHandlers, createFileAnalyzer, createGitHubAPI, createGitHubClient, createGitOperations, createNativeExecutionPathMapping, createNativeWslExecutionPathMapping, createNativeWslProjectionLifecycleHandlers, createNativeWslProjectionManifest, createNativeWslProjectionPathMapping, createNativeWslProjectionReceipt, createNativeWslProjectionRequest, createNativeWslProjectionSelection, createNativeWslSourceObservation, createRunManager, createWorkflowGuide, deliveryIdForAttemptAwaitable, detectProjectType, executeAgentWorkPreparation, executeGatesWithPolicy, formatPlanValidationFailure, formatPlanValidationFailureText, generateGitHubSnapshot, generateMultiRepoPlan, generatePlan, generatePlanFromGitHub, generateSnapshot, getEnvironmentSuggestions, healthChecker, initLocalOverlay, inspectRegisteredCliSurface, isTerminalAttemptStatus, loadInputs, loadPlan, main, materializeAttemptInput, nativeWslProjectionId, orderAgentWorkPreparationSteps, parseAgentEngineVerification, parseAgentEngineVerificationV2, parseAgentTaskPacket, parseAgentTaskReceipt, parseAgentTaskReceiptV2, parseAttempt, parseAttemptAwaitableDescriptor, parseAttemptAwaitableRecord, parseAttemptAwaitableTerminalResult, parseControllerLease, parseExecutionEnvelope, parseExternalAwaitableDescriptor, parseHumanActionReceipt, parseHumanActionRequest, parseRun, parseWorkItem, parseWorkerSession, parseWorkspaceAllocation, parseWorkspaceLease, planNativeWslProjection, resolveProfile, statusForAwaitableOutcome, validateAgentEngineVerificationV2PacketReferences, validateAgentExecutionPathBinding, validateAgentTaskReceiptBinding, validateAgentTaskReceiptV2Binding, validateAgentTaskReceiptV2PacketReferences, validateHumanActionReceiptBinding, writeGateImpactReceipt };
|