@wrongstack/core 0.82.6 → 0.84.1
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/defaults/index.d.ts +1 -1
- package/dist/defaults/index.js +15 -15
- package/dist/defaults/index.js.map +1 -1
- package/dist/execution/index.js +6 -7
- package/dist/execution/index.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +84 -78
- package/dist/index.js.map +1 -1
- package/dist/{secret-scrubber-7rSC_emZ.d.ts → secret-scrubber-yGBFQYju.d.ts} +10 -2
- package/dist/security/index.d.ts +1 -1
- package/dist/security/index.js +8 -7
- package/dist/security/index.js.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +8 -7
- package/dist/types/index.js.map +1 -1
- package/dist/utils/index.d.ts +12 -1
- package/dist/utils/index.js +23 -10
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
package/dist/execution/index.js
CHANGED
|
@@ -2179,6 +2179,11 @@ function appendJournal(goal, entry) {
|
|
|
2179
2179
|
};
|
|
2180
2180
|
}
|
|
2181
2181
|
|
|
2182
|
+
// src/utils/sleep.ts
|
|
2183
|
+
function sleep(ms) {
|
|
2184
|
+
return new Promise((resolve2) => setTimeout(resolve2, ms));
|
|
2185
|
+
}
|
|
2186
|
+
|
|
2182
2187
|
// src/execution/eternal-autonomy.ts
|
|
2183
2188
|
var execFileP = promisify(execFile);
|
|
2184
2189
|
var BRAINSTORM_DONE = /* @__PURE__ */ Symbol("brainstorm-done");
|
|
@@ -2749,9 +2754,6 @@ ${recentJournal}` : "No prior iterations.",
|
|
|
2749
2754
|
await saveGoal(this.goalPath, { ...current, engineState: state });
|
|
2750
2755
|
}
|
|
2751
2756
|
};
|
|
2752
|
-
function sleep(ms) {
|
|
2753
|
-
return new Promise((resolve2) => setTimeout(resolve2, ms));
|
|
2754
|
-
}
|
|
2755
2757
|
|
|
2756
2758
|
// src/coordination/subagent-budget.ts
|
|
2757
2759
|
var BudgetExceededError = class extends Error {
|
|
@@ -6524,9 +6526,6 @@ function expectDefined5(value) {
|
|
|
6524
6526
|
}
|
|
6525
6527
|
return value;
|
|
6526
6528
|
}
|
|
6527
|
-
function sleep2(ms) {
|
|
6528
|
-
return new Promise((resolve2) => setTimeout(resolve2, ms));
|
|
6529
|
-
}
|
|
6530
6529
|
var GOAL_COMPLETE_MARKER2 = /^\s*\[goal[_\s-]?complete\]\s*$/im;
|
|
6531
6530
|
var ParallelEternalEngine = class {
|
|
6532
6531
|
constructor(opts) {
|
|
@@ -6601,7 +6600,7 @@ var ParallelEternalEngine = class {
|
|
|
6601
6600
|
);
|
|
6602
6601
|
}
|
|
6603
6602
|
if (this.stopRequested) break;
|
|
6604
|
-
await
|
|
6603
|
+
await sleep(2e3);
|
|
6605
6604
|
}
|
|
6606
6605
|
} finally {
|
|
6607
6606
|
this.state = "stopped";
|