@owloops/browserbird 1.2.8 → 1.2.9

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.mjs +7 -5
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -122,8 +122,8 @@ function unknownSubcommand(subcommand, command, validCommands) {
122
122
  /** @fileoverview ASCII banner displayed on daemon startup and in help text. */
123
123
  const pkg = createRequire(import.meta.url)("../package.json");
124
124
  const buildInfo = [];
125
- buildInfo.push(`commit: ${"a5294d87d4c94fa7527751eea09349373839b7cd".substring(0, 7)}`);
126
- buildInfo.push(`built: 2026-03-06T15:38:21+04:00`);
125
+ buildInfo.push(`commit: ${"c3481c8e048a6121f0a2c6cd163cf61863ca5d9d".substring(0, 7)}`);
126
+ buildInfo.push(`built: 2026-03-09T11:42:49+04:00`);
127
127
  const buildString = buildInfo.length > 0 ? ` (${buildInfo.join(", ")})` : "";
128
128
  const VERSION = `browserbird ${pkg.version}${buildString}`;
129
129
  const BIRD = [
@@ -3233,11 +3233,13 @@ function createHandler(client, config, signal, getTeamId) {
3233
3233
  break;
3234
3234
  }
3235
3235
  }
3236
- const footerBlocks = completion ? completionFooterBlocks(completion, hasError, meta.birdName, userId) : void 0;
3237
- await streamer.stop(footerBlocks ? { blocks: footerBlocks } : {});
3238
- if (timedOut && !completion) {
3236
+ if (timedOut) {
3237
+ await streamer.stop({});
3239
3238
  const blocks = sessionTimeoutBlocks(timedOutMs, { sessionUid });
3240
3239
  await client.postMessage(channelId, threadTs, `Session timed out after ${Math.round(timedOutMs / 6e4)} minutes.`, { blocks });
3240
+ } else {
3241
+ const footerBlocks = completion ? completionFooterBlocks(completion, hasError, meta.birdName, userId) : void 0;
3242
+ await streamer.stop(footerBlocks ? { blocks: footerBlocks } : {});
3241
3243
  }
3242
3244
  }
3243
3245
  async function uploadImages(images, channelId, threadTs) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owloops/browserbird",
3
- "version": "1.2.8",
3
+ "version": "1.2.9",
4
4
  "description": "Self-hosted AI agent for Slack with a real browser, a scheduler, and a web dashboard",
5
5
  "type": "module",
6
6
  "bin": {