@wrongstack/core 0.141.0 → 0.148.0
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/coordination/index.js +4 -4
- package/dist/coordination/index.js.map +1 -1
- package/dist/defaults/index.d.ts +2 -2
- package/dist/defaults/index.js +137 -13
- package/dist/defaults/index.js.map +1 -1
- package/dist/execution/index.d.ts +2 -2
- package/dist/execution/index.js +134 -10
- package/dist/execution/index.js.map +1 -1
- package/dist/{goal-preamble-iuIUTQwk.d.ts → goal-preamble-CYJLg0wk.d.ts} +8 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +163 -16
- package/dist/index.js.map +1 -1
- package/dist/{parallel-eternal-engine-Dj2SYzha.d.ts → parallel-eternal-engine-C75QuhAI.d.ts} +9 -0
- package/dist/sdd/index.js.map +1 -1
- package/dist/security/index.js +1 -1
- package/dist/security/index.js.map +1 -1
- package/dist/storage/index.js +2 -2
- package/dist/storage/index.js.map +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +127 -4
- package/dist/types/index.js.map +1 -1
- package/dist/utils/index.js +3 -3
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/skills/tech-stack/SKILL.md +253 -97
package/dist/utils/index.js
CHANGED
|
@@ -818,8 +818,8 @@ function looksSecret(name) {
|
|
|
818
818
|
}
|
|
819
819
|
function buildChildEnv(optsOrSessionId) {
|
|
820
820
|
const opts = typeof optsOrSessionId === "string" ? { sessionId: optsOrSessionId } : optsOrSessionId ?? {};
|
|
821
|
-
const hasOwn = Object.
|
|
822
|
-
const legacyHasOwn = Object.
|
|
821
|
+
const hasOwn = Object.hasOwn(process.env, "WRONGSTACK_CHILD_ENV_PASSTHROUGH");
|
|
822
|
+
const legacyHasOwn = Object.hasOwn(process.env, "WRONGSTACK_BASH_ENV_PASSTHROUGH");
|
|
823
823
|
const passthrough = hasOwn && process.env["WRONGSTACK_CHILD_ENV_PASSTHROUGH"] === "1" || legacyHasOwn && process.env["WRONGSTACK_BASH_ENV_PASSTHROUGH"] === "1";
|
|
824
824
|
if (passthrough && !process.env["CI"]) {
|
|
825
825
|
console.warn(
|
|
@@ -1350,7 +1350,7 @@ async function expandGlob(pattern) {
|
|
|
1350
1350
|
} catch {
|
|
1351
1351
|
return;
|
|
1352
1352
|
}
|
|
1353
|
-
const firstGlob = pat.search(/[*?[
|
|
1353
|
+
const firstGlob = pat.search(/[*?[[]/);
|
|
1354
1354
|
if (firstGlob < 0) {
|
|
1355
1355
|
const re = globToRegex(pat);
|
|
1356
1356
|
for (const e of entries) {
|