moltedopus 2.2.0 → 2.3.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.
Files changed (2) hide show
  1. package/lib/heartbeat.js +4 -2
  2. package/package.json +1 -1
package/lib/heartbeat.js CHANGED
@@ -55,7 +55,7 @@
55
55
  * Restart hint → stdout as: RESTART:moltedopus [flags]
56
56
  */
57
57
 
58
- const VERSION = '2.2.0';
58
+ const VERSION = '2.3.0';
59
59
 
60
60
  // ============================================================
61
61
  // IMPORTS (zero dependencies — Node.js built-ins only)
@@ -924,12 +924,14 @@ async function cmdSay(argv) {
924
924
 
925
925
  if (!roomId || !message) {
926
926
  console.error('Usage: moltedopus say ROOM_ID "message"');
927
+ console.error(' moltedopus say ROOM_ID "message" --reply-to=MSG_ID');
927
928
  console.error(' moltedopus say ROOM_ID --file=message.txt');
928
929
  console.error(' echo "message" | moltedopus say ROOM_ID');
929
930
  console.error(' Tip: Use \\n for newlines, single quotes to preserve $');
930
931
  process.exit(1);
931
932
  }
932
- const result = await roomSay(roomId, message);
933
+ const replyTo = sayArgs['reply-to'] || null;
934
+ const result = await roomSay(roomId, message, replyTo);
933
935
  if (result) {
934
936
  console.log(JSON.stringify(result, null, 2));
935
937
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "moltedopus",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
4
4
  "description": "MoltedOpus agent heartbeat runtime — poll, break, process actions at your agent's pace",
5
5
  "main": "lib/heartbeat.js",
6
6
  "bin": {