repowise 0.1.57 → 0.1.58

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.
@@ -372,12 +372,6 @@ async function fetchContextFromServer(repoId, localPath, apiUrl) {
372
372
  }
373
373
 
374
374
  // ../listener/dist/main.js
375
- var origLog = console.log.bind(console);
376
- var origError = console.error.bind(console);
377
- var origWarn = console.warn.bind(console);
378
- console.log = (...args) => origLog(`[${(/* @__PURE__ */ new Date()).toISOString()}]`, ...args);
379
- console.error = (...args) => origError(`[${(/* @__PURE__ */ new Date()).toISOString()}]`, ...args);
380
- console.warn = (...args) => origWarn(`[${(/* @__PURE__ */ new Date()).toISOString()}]`, ...args);
381
375
  var TWENTY_FOUR_HOURS_MS = 24 * 60 * 60 * 1e3;
382
376
  var PID_PATH = join6(homedir4(), ".repowise", "listener.pid");
383
377
  var running = false;
@@ -496,6 +490,12 @@ async function handleCatchUp(offlineState, pollClient, repoIds, state, repoLocal
496
490
  }
497
491
  }
498
492
  async function startListener(options) {
493
+ const origLog = console.log.bind(console);
494
+ const origError = console.error.bind(console);
495
+ const origWarn = console.warn.bind(console);
496
+ console.log = (...args) => origLog(`[${(/* @__PURE__ */ new Date()).toISOString()}]`, ...args);
497
+ console.error = (...args) => origError(`[${(/* @__PURE__ */ new Date()).toISOString()}]`, ...args);
498
+ console.warn = (...args) => origWarn(`[${(/* @__PURE__ */ new Date()).toISOString()}]`, ...args);
499
499
  running = true;
500
500
  if (!options?.skipPidCheck) {
501
501
  const alreadyRunning = await handleStalePid();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repowise",
3
- "version": "0.1.57",
3
+ "version": "0.1.58",
4
4
  "type": "module",
5
5
  "description": "AI-optimized codebase context generator",
6
6
  "bin": {