@adhdev/mesh-shared 1.0.82-rc.108 → 1.0.82-rc.109
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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/task-stages.d.ts +3 -1
- package/package.json +1 -1
- package/src/task-stages.ts +4 -2
package/dist/index.mjs
CHANGED
|
@@ -4439,7 +4439,7 @@ function isBlockingSeverity(severity) {
|
|
|
4439
4439
|
}
|
|
4440
4440
|
function resolveStagePlan(raw, task, opts = {}) {
|
|
4441
4441
|
const eligible = isStageEligibleTask(task);
|
|
4442
|
-
if (raw === void 0 || raw === null) return (opts.defaultOn ??
|
|
4442
|
+
if (raw === void 0 || raw === null) return (opts.defaultOn ?? false) && defaultsOnFor(task) ? defaultStagePlan() : null;
|
|
4443
4443
|
if (raw === false) return null;
|
|
4444
4444
|
if (raw === true) {
|
|
4445
4445
|
if (!eligible) throw new Error(`invalid_review_option: review requires a non-readonly code_change task (got taskMode=${task.taskMode ?? "unset"}${task.readonly ? ", readonly" : ""})`);
|