@hasna/conversations 0.2.35 → 0.2.36

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/index.js CHANGED
@@ -14914,7 +14914,7 @@ var init_presence = __esm(() => {
14914
14914
  var require_package = __commonJS((exports, module) => {
14915
14915
  module.exports = {
14916
14916
  name: "@hasna/conversations",
14917
- version: "0.2.35",
14917
+ version: "0.2.36",
14918
14918
  description: "Real-time CLI messaging for AI agents",
14919
14919
  type: "module",
14920
14920
  bin: {
@@ -46948,6 +46948,7 @@ function registerChannelBridge(server, getAgentId, getSessionId) {
46948
46948
  }
46949
46949
  }
46950
46950
  function pushNotification(msg) {
46951
+ console.error(`[channel-bridge] pushing notification: from=${msg.from_agent}, content=${msg.content.slice(0, 50)}`);
46951
46952
  server.server.notification({
46952
46953
  method: "notifications/claude/channel",
46953
46954
  params: {
@@ -46966,8 +46967,11 @@ function registerChannelBridge(server, getAgentId, getSessionId) {
46966
46967
  return;
46967
46968
  const agentId = getAgentId();
46968
46969
  const sessionId = getSessionId();
46969
- if (!agentId && !sessionId)
46970
+ console.error(`[channel-bridge] startPolling: agentId=${agentId}, sessionId=${sessionId}`);
46971
+ if (!agentId && !sessionId) {
46972
+ console.error("[channel-bridge] no agentId or sessionId \u2014 not polling");
46970
46973
  return;
46974
+ }
46971
46975
  if (agentId)
46972
46976
  seedLastSeen(agentId, sessionId);
46973
46977
  pollTimer = setInterval(() => {
package/bin/mcp.js CHANGED
@@ -44095,6 +44095,7 @@ function registerChannelBridge(server, getAgentId, getSessionId) {
44095
44095
  }
44096
44096
  }
44097
44097
  function pushNotification(msg) {
44098
+ console.error(`[channel-bridge] pushing notification: from=${msg.from_agent}, content=${msg.content.slice(0, 50)}`);
44098
44099
  server.server.notification({
44099
44100
  method: "notifications/claude/channel",
44100
44101
  params: {
@@ -44113,8 +44114,11 @@ function registerChannelBridge(server, getAgentId, getSessionId) {
44113
44114
  return;
44114
44115
  const agentId = getAgentId();
44115
44116
  const sessionId = getSessionId();
44116
- if (!agentId && !sessionId)
44117
+ console.error(`[channel-bridge] startPolling: agentId=${agentId}, sessionId=${sessionId}`);
44118
+ if (!agentId && !sessionId) {
44119
+ console.error("[channel-bridge] no agentId or sessionId \u2014 not polling");
44117
44120
  return;
44121
+ }
44118
44122
  if (agentId)
44119
44123
  seedLastSeen(agentId, sessionId);
44120
44124
  pollTimer = setInterval(() => {
@@ -44297,7 +44301,7 @@ function registerTmuxTools(server) {
44297
44301
  // package.json
44298
44302
  var package_default = {
44299
44303
  name: "@hasna/conversations",
44300
- version: "0.2.35",
44304
+ version: "0.2.36",
44301
44305
  description: "Real-time CLI messaging for AI agents",
44302
44306
  type: "module",
44303
44307
  bin: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/conversations",
3
- "version": "0.2.35",
3
+ "version": "0.2.36",
4
4
  "description": "Real-time CLI messaging for AI agents",
5
5
  "type": "module",
6
6
  "bin": {