@bridge4dev/runner 0.58.1 → 0.58.2
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/policy.js +3 -1
- package/dist/regex-guard.js +6 -6
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/policy.js
CHANGED
|
@@ -802,7 +802,9 @@ export function evaluateGitPolicy(command, ctx) {
|
|
|
802
802
|
if (policy.pushBanned) {
|
|
803
803
|
return {
|
|
804
804
|
decision: 'deny',
|
|
805
|
-
reason:
|
|
805
|
+
reason:
|
|
806
|
+
// eslint-disable-next-line @devbridge/no-cyrillic-ui-text -- quotes the Russian NAME of a project setting; it has to match the dashboard word for word (#269 leaves it alone on purpose).
|
|
807
|
+
'git push is not allowed — a human presses «Push» in the Git panel. (This project has «Принудительно запретить push» switched on.)',
|
|
806
808
|
};
|
|
807
809
|
}
|
|
808
810
|
// Everything below exists only once pushing is permitted. With the shipped
|
package/dist/regex-guard.js
CHANGED
|
@@ -228,12 +228,12 @@ export function inspectPattern(pattern) {
|
|
|
228
228
|
const worst = Math.max(...heavy.map((p) => p.bound ?? 0));
|
|
229
229
|
return {
|
|
230
230
|
dangerous: true,
|
|
231
|
-
reason:
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
`(
|
|
235
|
-
|
|
236
|
-
|
|
231
|
+
reason: `Search blocked: quantifier {…,${worst}} sits next to another variable-length part. ` +
|
|
232
|
+
`On a pattern like this the engine built into Claude Code needs ~5.4 GB and ~67 seconds ` +
|
|
233
|
+
`just to parse it, and that takes the dev server down and drops every session on that ` +
|
|
234
|
+
`machine (details: docs/standards/project-gotchas.md §345). ` +
|
|
235
|
+
`Run it again with command grep: the system grep handles this pattern fine. ` +
|
|
236
|
+
`Or lower the quantifier bound below ${QUANTIFIER_DANGER_BOUND}.`,
|
|
237
237
|
};
|
|
238
238
|
}
|
|
239
239
|
/**
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const RUNNER_VERSION = "0.58.
|
|
1
|
+
export declare const RUNNER_VERSION = "0.58.2";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/version.js
CHANGED
package/package.json
CHANGED