@adhdev/mesh-shared 1.0.82-rc.107 → 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.js
CHANGED
|
@@ -4938,7 +4938,7 @@ function isBlockingSeverity(severity) {
|
|
|
4938
4938
|
}
|
|
4939
4939
|
function resolveStagePlan(raw, task, opts = {}) {
|
|
4940
4940
|
const eligible = isStageEligibleTask(task);
|
|
4941
|
-
if (raw === void 0 || raw === null) return (opts.defaultOn ??
|
|
4941
|
+
if (raw === void 0 || raw === null) return (opts.defaultOn ?? false) && defaultsOnFor(task) ? defaultStagePlan() : null;
|
|
4942
4942
|
if (raw === false) return null;
|
|
4943
4943
|
if (raw === true) {
|
|
4944
4944
|
if (!eligible) throw new Error(`invalid_review_option: review requires a non-readonly code_change task (got taskMode=${task.taskMode ?? "unset"}${task.readonly ? ", readonly" : ""})`);
|