blun-king-cli 9.1.191 → 9.1.192
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/bin/approval-rejection-stop.cjs +15 -0
- package/blun.mjs +2 -4
- package/package.json +1 -1
package/blun.mjs
CHANGED
|
@@ -233964,10 +233964,7 @@ var init_permission = __esmMin((() => {
|
|
|
233964
233964
|
const resolved = result.resolveApproval?.(response);
|
|
233965
233965
|
if (resolved !== void 0) return this.permissionPolicyResolutionToPrepare(resolved, context, policyName);
|
|
233966
233966
|
if (response.decision === "approved") return;
|
|
233967
|
-
return
|
|
233968
|
-
block: true,
|
|
233969
|
-
reason: this.formatApprovalRejectionMessage(name, response)
|
|
233970
|
-
};
|
|
233967
|
+
return buildApprovalRejectionStop(this.formatApprovalRejectionMessage(name, response));
|
|
233971
233968
|
}
|
|
233972
233969
|
async evaluatePolicies(context) {
|
|
233973
233970
|
for (const policy of this.policies) {
|
|
@@ -416742,6 +416739,7 @@ function buildManagedUsageReportLines(options) {
|
|
|
416742
416739
|
const errorStyle = (text) => currentTheme.fg("error", text);
|
|
416743
416740
|
return buildManagedUsageSection(options.managedUsage, options.managedUsageError, accent, value, muted, errorStyle);
|
|
416744
416741
|
}
|
|
416742
|
+
var { buildApprovalRejectionStop } = createRequire(import.meta.url)("./bin/approval-rejection-stop.cjs");
|
|
416745
416743
|
var { reconcileContextBudget } = createRequire(import.meta.url)("./bin/context-budget-ledger.cjs");
|
|
416746
416744
|
function buildUsageReportLines(options) {
|
|
416747
416745
|
const accent = (text) => currentTheme.boldFg("primary", text);
|