@hasna/conversations 0.1.6 → 0.1.7

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/bin/hook.js CHANGED
@@ -611,16 +611,12 @@ closeDb();
611
611
  if (blockers.length === 0) {
612
612
  process.exit(0);
613
613
  }
614
- var lines = blockers.map((b) => {
615
- const where = b.space ? `in #${b.space}` : "via DM";
616
- return `[BLOCKER #${b.id}] ${b.from_agent} ${where}: ${b.content}`;
617
- });
618
- console.error(`\u26A0 You have ${blockers.length} blocking message(s) that require acknowledgment:
614
+ var ids = blockers.map((b) => b.id);
615
+ var details = blockers.map((b) => {
616
+ const where = b.space ? `#${b.space}` : "DM";
617
+ return `[#${b.id}] ${b.from_agent} (${where}): ${b.content}`;
618
+ }).join(`
619
619
  `);
620
- for (const line of lines) {
621
- console.error(line);
622
- }
623
- console.error(`
624
- Use mark_read to acknowledge these messages before continuing.`);
625
- console.error(`Message IDs: ${blockers.map((b) => b.id).join(", ")}`);
626
- process.exit(2);
620
+ console.log(`BLOCKING MESSAGES \u2014 You have ${blockers.length} unread blocker(s). You MUST acknowledge them by calling mark_read with IDs [${ids.join(", ")}] BEFORE doing any other work.
621
+
622
+ ${details}`);
package/bin/index.js CHANGED
@@ -3137,7 +3137,7 @@ var init_presence = __esm(() => {
3137
3137
  var require_package = __commonJS((exports, module) => {
3138
3138
  module.exports = {
3139
3139
  name: "@hasna/conversations",
3140
- version: "0.1.6",
3140
+ version: "0.1.7",
3141
3141
  description: "Real-time CLI messaging for AI agents",
3142
3142
  type: "module",
3143
3143
  bin: {
package/bin/mcp.js CHANGED
@@ -29554,7 +29554,7 @@ function renameAgent(oldName, newName) {
29554
29554
  // package.json
29555
29555
  var package_default = {
29556
29556
  name: "@hasna/conversations",
29557
- version: "0.1.6",
29557
+ version: "0.1.7",
29558
29558
  description: "Real-time CLI messaging for AI agents",
29559
29559
  type: "module",
29560
29560
  bin: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/conversations",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Real-time CLI messaging for AI agents",
5
5
  "type": "module",
6
6
  "bin": {