@autohq/cli 0.1.555 → 0.1.556
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 +11 -1
- package/dist/index.js +11 -1
- package/package.json +1 -1
package/dist/agent-bridge.js
CHANGED
|
@@ -30870,7 +30870,7 @@ Object.assign(lookup, {
|
|
|
30870
30870
|
// package.json
|
|
30871
30871
|
var package_default = {
|
|
30872
30872
|
name: "@autohq/cli",
|
|
30873
|
-
version: "0.1.
|
|
30873
|
+
version: "0.1.556",
|
|
30874
30874
|
license: "SEE LICENSE IN README.md",
|
|
30875
30875
|
publishConfig: {
|
|
30876
30876
|
access: "public"
|
|
@@ -35906,6 +35906,9 @@ var BindingLifecycleSpecSchema = external_exports.object({
|
|
|
35906
35906
|
bound: JsonObjectSchema.optional(),
|
|
35907
35907
|
updated: JsonObjectSchema.optional(),
|
|
35908
35908
|
unbound: JsonObjectSchema.optional()
|
|
35909
|
+
}).strict().optional(),
|
|
35910
|
+
autoLink: external_exports.object({
|
|
35911
|
+
"github.pull_request": external_exports.literal("implements").optional()
|
|
35909
35912
|
}).strict().optional()
|
|
35910
35913
|
}).strict();
|
|
35911
35914
|
var AgentBindingsSchema = external_exports.record(external_exports.string(), BindingLifecycleSpecSchema).superRefine((bindings, context) => {
|
|
@@ -35926,6 +35929,13 @@ var AgentBindingsSchema = external_exports.record(external_exports.string(), Bin
|
|
|
35926
35929
|
message: "`agent.singleton` is excluded from `bindings` constraints; the pool slot has its own release lifecycle"
|
|
35927
35930
|
});
|
|
35928
35931
|
}
|
|
35932
|
+
if (bindings[key]?.autoLink && parsed.data !== "auto.task") {
|
|
35933
|
+
context.addIssue({
|
|
35934
|
+
code: external_exports.ZodIssueCode.custom,
|
|
35935
|
+
path: [key, "autoLink"],
|
|
35936
|
+
message: "`autoLink` is legal only on `bindings.auto.task`"
|
|
35937
|
+
});
|
|
35938
|
+
}
|
|
35929
35939
|
}
|
|
35930
35940
|
});
|
|
35931
35941
|
var AgentSpecFieldsSchema = external_exports.object({
|
package/dist/index.js
CHANGED
|
@@ -20219,6 +20219,9 @@ var init_agents = __esm({
|
|
|
20219
20219
|
bound: JsonObjectSchema.optional(),
|
|
20220
20220
|
updated: JsonObjectSchema.optional(),
|
|
20221
20221
|
unbound: JsonObjectSchema.optional()
|
|
20222
|
+
}).strict().optional(),
|
|
20223
|
+
autoLink: external_exports.object({
|
|
20224
|
+
"github.pull_request": external_exports.literal("implements").optional()
|
|
20222
20225
|
}).strict().optional()
|
|
20223
20226
|
}).strict();
|
|
20224
20227
|
AgentBindingsSchema = external_exports.record(external_exports.string(), BindingLifecycleSpecSchema).superRefine((bindings, context) => {
|
|
@@ -20239,6 +20242,13 @@ var init_agents = __esm({
|
|
|
20239
20242
|
message: "`agent.singleton` is excluded from `bindings` constraints; the pool slot has its own release lifecycle"
|
|
20240
20243
|
});
|
|
20241
20244
|
}
|
|
20245
|
+
if (bindings[key]?.autoLink && parsed.data !== "auto.task") {
|
|
20246
|
+
context.addIssue({
|
|
20247
|
+
code: external_exports.ZodIssueCode.custom,
|
|
20248
|
+
path: [key, "autoLink"],
|
|
20249
|
+
message: "`autoLink` is legal only on `bindings.auto.task`"
|
|
20250
|
+
});
|
|
20251
|
+
}
|
|
20242
20252
|
}
|
|
20243
20253
|
});
|
|
20244
20254
|
AgentSpecFieldsSchema = external_exports.object({
|
|
@@ -83215,7 +83225,7 @@ var init_package = __esm({
|
|
|
83215
83225
|
"package.json"() {
|
|
83216
83226
|
package_default = {
|
|
83217
83227
|
name: "@autohq/cli",
|
|
83218
|
-
version: "0.1.
|
|
83228
|
+
version: "0.1.556",
|
|
83219
83229
|
license: "SEE LICENSE IN README.md",
|
|
83220
83230
|
publishConfig: {
|
|
83221
83231
|
access: "public"
|