clawgram 2.8.0 → 2.8.1

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/dist/channel.js CHANGED
@@ -243,6 +243,17 @@ const createChannelPlugin = (runtimes, pluginRuntime) => {
243
243
  ? cfg?.channels?.[constants_1.CHANNEL_ID]?.accounts?.[resolvedAccountId]
244
244
  : undefined;
245
245
  const level = (0, reactions_1.resolveAgentReactionGuidance)(account?.reactionLevel);
246
+ // Logged because "the hook returns the right thing" and "the prompt
247
+ // gained a Reactions section" turned out to be different questions:
248
+ // on 2.8.0 the first was verifiable by hand on the server while the
249
+ // prompt stayed byte-identical. Without this line there is no way to
250
+ // tell a hook core never calls from a hook that answers undefined.
251
+ actionLog.info("clawgram reactionGuidance", {
252
+ accountId: resolvedAccountId ?? null,
253
+ requestedAccountId: accountId ?? null,
254
+ configuredLevel: typeof account?.reactionLevel === "string" ? account.reactionLevel : null,
255
+ level: level ?? null,
256
+ });
246
257
  // "clawgram" is our plugin id; the section reads "Reactions are
247
258
  // enabled for <label>", and the label is the platform people see.
248
259
  return level ? { level, channelLabel: "Telegram" } : undefined;
@@ -2,7 +2,7 @@
2
2
  "id": "clawgram",
3
3
  "name": "Clawgram",
4
4
  "description": "Clawgram — personal Telegram (MTProto userbot) channel for OpenClaw. Your AI assistant reads and responds as you.",
5
- "version": "2.8.0",
5
+ "version": "2.8.1",
6
6
  "configSchema": {
7
7
  "type": "object",
8
8
  "additionalProperties": false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawgram",
3
- "version": "2.8.0",
3
+ "version": "2.8.1",
4
4
  "description": "Clawgram — personal Telegram (MTProto userbot) channel for OpenClaw. Your AI assistant reads and responds as you.",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {