adhdev 0.5.60 → 0.5.62

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/index.js CHANGED
@@ -21250,6 +21250,8 @@ var require_dist = __commonJS({
21250
21250
  }
21251
21251
  async handleRefreshScripts(_args) {
21252
21252
  if (this._ctx.providerLoader) {
21253
+ await this._ctx.providerLoader.fetchLatest().catch(() => {
21254
+ });
21253
21255
  this._ctx.providerLoader.reload();
21254
21256
  return { success: true };
21255
21257
  }
@@ -23276,13 +23278,12 @@ var require_dist = __commonJS({
23276
23278
  /Always\s*allow/i,
23277
23279
  /\(y\/n\)/i,
23278
23280
  /\[Y\/n\]/i,
23279
- /Run\s*this\s*command/i,
23280
- /Allow\s*tool/i,
23281
- // Claude Code v2 approval
23281
+ /Run\s+\w+\s+command/i,
23282
+ // "Run bash command" etc — requires surrounding words to avoid false matches
23282
23283
  /Yes,?\s*don'?t\s*ask/i,
23283
23284
  // "Yes, don't ask again" (Claude Code)
23284
- /Deny/i
23285
- // Deny button presence = approval dialog
23285
+ /\bDeny\b/i
23286
+ // Word-boundary match avoids "allow & deny" in /permissions menu text
23286
23287
  ];
23287
23288
  function defaultCleanOutput(raw, _lastUserInput) {
23288
23289
  return stripAnsi(raw).trim();
@@ -23311,7 +23312,7 @@ var require_dist = __commonJS({
23311
23312
  this.timeouts = {
23312
23313
  ptyFlush: t.ptyFlush ?? 50,
23313
23314
  dialogAccept: t.dialogAccept ?? 300,
23314
- approvalCooldown: t.approvalCooldown ?? 500,
23315
+ approvalCooldown: t.approvalCooldown ?? 3e3,
23315
23316
  generatingIdle: t.generatingIdle ?? 6e3,
23316
23317
  idleFinish: t.idleFinish ?? 5e3,
23317
23318
  maxResponse: t.maxResponse ?? 3e5,
@@ -30496,7 +30497,7 @@ var init_adhdev_daemon = __esm({
30496
30497
  fs2 = __toESM(require("fs"));
30497
30498
  path2 = __toESM(require("path"));
30498
30499
  import_chalk = __toESM(require("chalk"));
30499
- pkgVersion = "0.5.60";
30500
+ pkgVersion = "0.5.62";
30500
30501
  if (pkgVersion === "unknown") {
30501
30502
  try {
30502
30503
  const possiblePaths = [