claude-threads 0.57.1 → 0.57.3

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/index.js +5 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -51228,7 +51228,7 @@ async function collectBugReportContext(session, errorContext) {
51228
51228
  cost: stats.totalCostUSD.toFixed(2)
51229
51229
  };
51230
51230
  }
51231
- const platformId = session.platform.platformId;
51231
+ const platformId = session.platformId;
51232
51232
  const threadId = session.threadId;
51233
51233
  const logFilePath = sanitizePath(getLogFilePath(platformId, threadId));
51234
51234
  const recentLogEntries = readRecentLogEntries(platformId, threadId, BUG_REPORT_LOG_ENTRIES);
@@ -51319,9 +51319,11 @@ function formatLogEntries(entries) {
51319
51319
  const msg = entry.event;
51320
51320
  const content = msg.message?.content?.[0];
51321
51321
  if (content?.type === "text") {
51322
- summary = `assistant: [text response]`;
51322
+ summary = `assistant: [text]`;
51323
51323
  } else if (content?.type === "tool_use") {
51324
51324
  summary = `tool_use: ${content.name}`;
51325
+ } else if (content?.type === "thinking") {
51326
+ summary = `assistant: [thinking]`;
51325
51327
  } else {
51326
51328
  summary = `assistant: [${content?.type || "response"}]`;
51327
51329
  }
@@ -51331,7 +51333,7 @@ function formatLogEntries(entries) {
51331
51333
  const sysEvent = entry.event;
51332
51334
  summary = `system:${sysEvent.subtype || "init"}`;
51333
51335
  } else if (eventType === "result") {
51334
- summary = `result: session completed`;
51336
+ summary = `result: completed`;
51335
51337
  } else {
51336
51338
  summary = `claude_event:${eventType}`;
51337
51339
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-threads",
3
- "version": "0.57.1",
3
+ "version": "0.57.3",
4
4
  "description": "Share Claude Code sessions live in a Mattermost channel with interactive features",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",