@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.
@@ -619,7 +619,7 @@ async function expandGlob(pattern) {
619
619
  } catch {
620
620
  return;
621
621
  }
622
- const firstGlob = pat.search(/[*?[\[]/);
622
+ const firstGlob = pat.search(/[*?[[]/);
623
623
  if (firstGlob < 0) {
624
624
  const re = globToRegex(pat);
625
625
  for (const e of entries) {
@@ -685,7 +685,7 @@ var CollabSession = class extends EventEmitter {
685
685
  bugs = /* @__PURE__ */ new Map();
686
686
  plans = /* @__PURE__ */ new Map();
687
687
  evaluations = /* @__PURE__ */ new Map();
688
- disposers = new Array();
688
+ disposers = [];
689
689
  settled = false;
690
690
  timeoutMs;
691
691
  cancelled = false;
@@ -4499,7 +4499,7 @@ var FleetUsageAggregator = class {
4499
4499
  metaLookup;
4500
4500
  perSubagent = /* @__PURE__ */ new Map();
4501
4501
  total = { input: 0, output: 0, cacheRead: 0, cacheWrite: 0, cost: 0 };
4502
- unsub = new Array();
4502
+ unsub = [];
4503
4503
  /**
4504
4504
  * Remove a terminated subagent's data from the aggregator and subtract its
4505
4505
  * contribution from the running totals. Call this when a subagent is removed
@@ -8529,7 +8529,7 @@ var DefaultSessionStore = class _DefaultSessionStore {
8529
8529
  let toolErrorCount = 0;
8530
8530
  let fileChangeCount = 0;
8531
8531
  const toolBreakdown = {};
8532
- let outcome = void 0;
8532
+ let outcome;
8533
8533
  const lastEvent = data.events[data.events.length - 1];
8534
8534
  for (const e of data.events) {
8535
8535
  if (e.type === "in_flight_start") iterationCount++;