@agentvault/muse-bridge 0.1.13 → 0.1.14

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.
Files changed (2) hide show
  1. package/dist/index.js +10 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -11469,7 +11469,7 @@ function ownIdentity() {
11469
11469
  return `${PACKAGE}@${v2}`;
11470
11470
  }
11471
11471
  function buildSha() {
11472
- const raw = true ? "a6ce360-dirty" : "";
11472
+ const raw = true ? "c0acb44-dirty" : "";
11473
11473
  const cleaned = (raw ?? "").trim();
11474
11474
  return !cleaned || cleaned === "unknown" ? null : cleaned;
11475
11475
  }
@@ -98320,7 +98320,8 @@ var MuseSession = class {
98320
98320
  this.queue.push({
98321
98321
  text,
98322
98322
  reply,
98323
- autoReplyOnText: opts?.replyExpected ?? opts?.autoReplyOnText
98323
+ autoReplyOnText: opts?.replyExpected ?? opts?.autoReplyOnText,
98324
+ sayAllowed: opts?.replyExpected ?? true
98324
98325
  });
98325
98326
  if (!this.running) this.drain = this.run();
98326
98327
  }
@@ -98331,6 +98332,12 @@ var MuseSession = class {
98331
98332
  this.log(`say arrived with no turn in flight; DROPPED: ${JSON.stringify(text.slice(0, 80))}`);
98332
98333
  return;
98333
98334
  }
98335
+ if (!this.current.sayAllowed) {
98336
+ this.log(
98337
+ `say during a turn this agent does not owe (no @mention) \u2014 SUPPRESSED: ${JSON.stringify(text.slice(0, 80))}`
98338
+ );
98339
+ return;
98340
+ }
98334
98341
  this.saidThisTurn = true;
98335
98342
  const sink = this.current.reply ?? this.opts.onSay;
98336
98343
  if (!sink) {
@@ -99208,7 +99215,7 @@ function mkdir700(path2) {
99208
99215
  chmodSync5(path2, 448);
99209
99216
  }
99210
99217
  function packageVersion() {
99211
- return true ? "0.1.13" : void 0;
99218
+ return true ? "0.1.14" : void 0;
99212
99219
  }
99213
99220
  function helpText(version2) {
99214
99221
  return [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentvault/muse-bridge",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "type": "module",
5
5
  "description": "AgentVault Muse Bridge — daemon bridging a Muse agent into E2E-encrypted AgentVault direct messages and rooms.",
6
6
  "main": "dist/index.js",