@autohq/cli 0.1.529 → 0.1.530
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/agent-bridge.js +24 -5
- package/dist/index.js +24 -5
- package/package.json +1 -1
package/dist/agent-bridge.js
CHANGED
|
@@ -30866,7 +30866,7 @@ Object.assign(lookup, {
|
|
|
30866
30866
|
// package.json
|
|
30867
30867
|
var package_default = {
|
|
30868
30868
|
name: "@autohq/cli",
|
|
30869
|
-
version: "0.1.
|
|
30869
|
+
version: "0.1.530",
|
|
30870
30870
|
license: "SEE LICENSE IN README.md",
|
|
30871
30871
|
publishConfig: {
|
|
30872
30872
|
access: "public"
|
|
@@ -34251,8 +34251,9 @@ var GithubSyncWorkflowInputSchema = external_exports.discriminatedUnion("kind",
|
|
|
34251
34251
|
// webhook). The tenant's `.auto` is unchanged — only our registry changed —
|
|
34252
34252
|
// so this arm skips the `no_auto_changes` early-out and applies the production
|
|
34253
34253
|
// branch HEAD (`after`, which the sweep resolves before starting the run).
|
|
34254
|
-
// It is otherwise push-shaped.
|
|
34255
|
-
//
|
|
34254
|
+
// It is otherwise push-shaped. New waves carry the complete bounded
|
|
34255
|
+
// `templates` set plus a deterministic `waveId`; legacy single-template
|
|
34256
|
+
// coordinates remain accepted only so in-flight workflows can replay.
|
|
34256
34257
|
external_exports.object({
|
|
34257
34258
|
kind: external_exports.literal("template_push"),
|
|
34258
34259
|
bindingId: external_exports.string().trim().min(1),
|
|
@@ -34266,9 +34267,27 @@ var GithubSyncWorkflowInputSchema = external_exports.discriminatedUnion("kind",
|
|
|
34266
34267
|
autoPath: external_exports.literal(GITHUB_SYNC_AUTO_PATH),
|
|
34267
34268
|
before: external_exports.string().trim().min(1).optional(),
|
|
34268
34269
|
after: external_exports.string().trim().min(1),
|
|
34269
|
-
|
|
34270
|
-
|
|
34270
|
+
// Legacy single-template coordinates remain optional so in-flight
|
|
34271
|
+
// workflows started by a pre-wave worker can finish after deployment.
|
|
34272
|
+
templateName: external_exports.string().trim().min(1).optional(),
|
|
34273
|
+
version: external_exports.string().trim().min(1).optional(),
|
|
34274
|
+
waveId: external_exports.string().trim().min(1).optional(),
|
|
34275
|
+
templates: external_exports.array(
|
|
34276
|
+
external_exports.object({
|
|
34277
|
+
name: external_exports.string().trim().min(1),
|
|
34278
|
+
version: external_exports.string().trim().min(1)
|
|
34279
|
+
})
|
|
34280
|
+
).min(1).max(50).optional(),
|
|
34271
34281
|
triggerArtifact: GithubSyncTriggerArtifactSchema.optional()
|
|
34282
|
+
}).superRefine((input, context) => {
|
|
34283
|
+
const legacy = Boolean(input.templateName && input.version);
|
|
34284
|
+
const wave = Boolean(input.waveId && input.templates);
|
|
34285
|
+
if (legacy === wave) {
|
|
34286
|
+
context.addIssue({
|
|
34287
|
+
code: "custom",
|
|
34288
|
+
message: "template_push requires exactly one of legacy templateName/version or waveId/templates"
|
|
34289
|
+
});
|
|
34290
|
+
}
|
|
34272
34291
|
}),
|
|
34273
34292
|
// Synthetic authoritative re-apply triggered by one durable connection
|
|
34274
34293
|
// lifecycle occurrence. The event id makes retries reuse the same workflow,
|
package/dist/index.js
CHANGED
|
@@ -18117,8 +18117,9 @@ var init_github_sync = __esm({
|
|
|
18117
18117
|
// webhook). The tenant's `.auto` is unchanged — only our registry changed —
|
|
18118
18118
|
// so this arm skips the `no_auto_changes` early-out and applies the production
|
|
18119
18119
|
// branch HEAD (`after`, which the sweep resolves before starting the run).
|
|
18120
|
-
// It is otherwise push-shaped.
|
|
18121
|
-
//
|
|
18120
|
+
// It is otherwise push-shaped. New waves carry the complete bounded
|
|
18121
|
+
// `templates` set plus a deterministic `waveId`; legacy single-template
|
|
18122
|
+
// coordinates remain accepted only so in-flight workflows can replay.
|
|
18122
18123
|
external_exports.object({
|
|
18123
18124
|
kind: external_exports.literal("template_push"),
|
|
18124
18125
|
bindingId: external_exports.string().trim().min(1),
|
|
@@ -18132,9 +18133,27 @@ var init_github_sync = __esm({
|
|
|
18132
18133
|
autoPath: external_exports.literal(GITHUB_SYNC_AUTO_PATH),
|
|
18133
18134
|
before: external_exports.string().trim().min(1).optional(),
|
|
18134
18135
|
after: external_exports.string().trim().min(1),
|
|
18135
|
-
|
|
18136
|
-
|
|
18136
|
+
// Legacy single-template coordinates remain optional so in-flight
|
|
18137
|
+
// workflows started by a pre-wave worker can finish after deployment.
|
|
18138
|
+
templateName: external_exports.string().trim().min(1).optional(),
|
|
18139
|
+
version: external_exports.string().trim().min(1).optional(),
|
|
18140
|
+
waveId: external_exports.string().trim().min(1).optional(),
|
|
18141
|
+
templates: external_exports.array(
|
|
18142
|
+
external_exports.object({
|
|
18143
|
+
name: external_exports.string().trim().min(1),
|
|
18144
|
+
version: external_exports.string().trim().min(1)
|
|
18145
|
+
})
|
|
18146
|
+
).min(1).max(50).optional(),
|
|
18137
18147
|
triggerArtifact: GithubSyncTriggerArtifactSchema.optional()
|
|
18148
|
+
}).superRefine((input, context) => {
|
|
18149
|
+
const legacy = Boolean(input.templateName && input.version);
|
|
18150
|
+
const wave = Boolean(input.waveId && input.templates);
|
|
18151
|
+
if (legacy === wave) {
|
|
18152
|
+
context.addIssue({
|
|
18153
|
+
code: "custom",
|
|
18154
|
+
message: "template_push requires exactly one of legacy templateName/version or waveId/templates"
|
|
18155
|
+
});
|
|
18156
|
+
}
|
|
18138
18157
|
}),
|
|
18139
18158
|
// Synthetic authoritative re-apply triggered by one durable connection
|
|
18140
18159
|
// lifecycle occurrence. The event id makes retries reuse the same workflow,
|
|
@@ -78587,7 +78606,7 @@ var init_package = __esm({
|
|
|
78587
78606
|
"package.json"() {
|
|
78588
78607
|
package_default = {
|
|
78589
78608
|
name: "@autohq/cli",
|
|
78590
|
-
version: "0.1.
|
|
78609
|
+
version: "0.1.530",
|
|
78591
78610
|
license: "SEE LICENSE IN README.md",
|
|
78592
78611
|
publishConfig: {
|
|
78593
78612
|
access: "public"
|