@sema-agent/cli 1.0.157 → 1.0.158
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/npm-shrinkwrap.json +30 -20
- package/package.json +6 -6
- package/sema-main.js +34332 -31768
- package/sema.js +5 -2
package/sema.js
CHANGED
|
@@ -1221,7 +1221,7 @@ var init_preludeEntry = __esm({
|
|
|
1221
1221
|
init_bootSignalTail();
|
|
1222
1222
|
init_nodeEnginesRange();
|
|
1223
1223
|
init_invocation();
|
|
1224
|
-
versionLine = "sema 1.0.
|
|
1224
|
+
versionLine = "sema 1.0.158" ? "sema 1.0.158" : "";
|
|
1225
1225
|
early = earlyFacts();
|
|
1226
1226
|
wantsVersionFastPath = early.versionOnly;
|
|
1227
1227
|
nodeEnginesRange = "^20.19.0 || >=22.12.0" ? "^20.19.0 || >=22.12.0" : "";
|
|
@@ -1312,8 +1312,11 @@ function failOpen(tag, fallback, detail) {
|
|
|
1312
1312
|
counts.set(tag, (counts.get(tag) ?? 0) + 1);
|
|
1313
1313
|
if (!warnedOnce.has(tag)) {
|
|
1314
1314
|
warnedOnce.add(tag);
|
|
1315
|
-
|
|
1315
|
+
try {
|
|
1316
|
+
process.stderr.write(`[sema] fail-open: ${tag}
|
|
1316
1317
|
`);
|
|
1318
|
+
} catch {
|
|
1319
|
+
}
|
|
1317
1320
|
}
|
|
1318
1321
|
const probe = process.env.SEMA_FAILOPEN_PROBE;
|
|
1319
1322
|
if (probe) {
|