@kybernesis/buzz 0.9.1 → 0.9.2

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/turn.js +7 -0
  2. package/package.json +1 -1
package/dist/turn.js CHANGED
@@ -98,6 +98,13 @@ export async function answerTurn(client, sessions, channel, message, community,
98
98
  sessions.delete(community, channel);
99
99
  }
100
100
  }
101
+ // Every fresh conversation is logged, whatever the reason. The silent case
102
+ // used to be the common one: after a bridge restart the map was empty, the
103
+ // message fell straight through to create(), and eight exchanges of context
104
+ // vanished without a line anyone could read (KYB-502).
105
+ log(existing
106
+ ? `starting a new conversation in ${channel.slice(0, 8)} (the previous session could not continue)`
107
+ : `starting a new conversation in ${channel.slice(0, 8)} (no session on record for this channel)`);
101
108
  const created = await client.sessions.create({
102
109
  message,
103
110
  clientContext: { buzzCommunity: community, buzzChannel: channel },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kybernesis/buzz",
3
- "version": "0.9.1",
3
+ "version": "0.9.2",
4
4
  "description": "Put an eve agent in a Buzz workspace as a member: per-speaker verified identity resolved through the control plane, self-service identity linking, presence, typing and seen signals.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",