@coreplane/switchboard 1.221.0 → 1.221.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.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "switchboard",
3
- "version": "1.221.0",
3
+ "version": "1.221.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "switchboard",
9
- "version": "1.221.0",
9
+ "version": "1.221.1",
10
10
  "license": "Apache-2.0",
11
11
  "workspaces": [
12
12
  "web",
@@ -16710,7 +16710,7 @@
16710
16710
  },
16711
16711
  "packages/switchboard": {
16712
16712
  "name": "@coreplane/switchboard",
16713
- "version": "1.221.0",
16713
+ "version": "1.221.1",
16714
16714
  "license": "Apache-2.0",
16715
16715
  "dependencies": {
16716
16716
  "@anthropic-ai/sdk": "^0.124.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "switchboard",
3
- "version": "1.221.0",
3
+ "version": "1.221.1",
4
4
  "private": true,
5
5
  "description": "Mention it in Slack and an agent reviews the PR, ships the fix, or answers the question — on the model you choose, with its tools running where you decide.",
6
6
  "license": "Apache-2.0",
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.221.0",
3
- "commit": "7b1634ab29d92dcf5cab3f670193bc627e98e21d",
4
- "builtAt": "2026-09-15T14:37:20.916Z"
2
+ "version": "1.221.1",
3
+ "commit": "bee79e82b9b4daab06641a77a43d439abb09795d",
4
+ "builtAt": "2026-09-15T14:52:45.095Z"
5
5
  }
package/dist/cli.js CHANGED
@@ -356,13 +356,14 @@ function amzDate(now) {
356
356
  function encodeKey(key) {
357
357
  return key.split("/").map(encodeURIComponent).join("/");
358
358
  }
359
- var PRESIGN_TTL_SECONDS, R2ArtifactStore;
359
+ var PRESIGN_TTL_SECONDS, IDENTITY, R2ArtifactStore;
360
360
  var init_store = __esm({
361
361
  "../../src/artifacts/store.ts"() {
362
362
  "use strict";
363
363
  init_clock();
364
364
  init_config();
365
365
  PRESIGN_TTL_SECONDS = ARTIFACT_DEFAULTS.presignTtlSeconds;
366
+ IDENTITY = { "accept-encoding": "identity" };
366
367
  R2ArtifactStore = class {
367
368
  bucket;
368
369
  client;
@@ -402,7 +403,7 @@ var init_store = __esm({
402
403
  return this.presign(key, "GET");
403
404
  }
404
405
  async head(key) {
405
- const signed = await this.client.sign(new Request(this.objectUrl(key), { method: "HEAD" }), {
406
+ const signed = await this.client.sign(new Request(this.objectUrl(key), { method: "HEAD", headers: IDENTITY }), {
406
407
  aws: { datetime: amzDate(this.clock()) }
407
408
  });
408
409
  const res = await this.fetchImpl(signed);
@@ -416,7 +417,7 @@ var init_store = __esm({
416
417
  return { size, contentType: res.headers.get("content-type") ?? "application/octet-stream" };
417
418
  }
418
419
  async get(key) {
419
- const signed = await this.client.sign(new Request(this.objectUrl(key), { method: "GET" }), {
420
+ const signed = await this.client.sign(new Request(this.objectUrl(key), { method: "GET", headers: IDENTITY }), {
420
421
  aws: { datetime: amzDate(this.clock()) }
421
422
  });
422
423
  const res = await this.fetchImpl(signed);
@@ -31564,8 +31565,13 @@ var init_bridge2 = __esm({
31564
31565
  break;
31565
31566
  case "message_end":
31566
31567
  if (isRecord3(event.message)) {
31567
- out.message = event.message;
31568
- if (event.message.role === "assistant") this.onAssistant(event.message, out);
31568
+ if (event.message.role === "assistant") {
31569
+ const assistant = event.message;
31570
+ this.onAssistant(assistant, out);
31571
+ if (assistant.stopReason !== "error") out.message = event.message;
31572
+ } else {
31573
+ out.message = event.message;
31574
+ }
31569
31575
  }
31570
31576
  break;
31571
31577
  case "tool_execution_start":
@@ -31911,6 +31917,7 @@ var init_mirror = __esm({
31911
31917
  if (!this.deps.onStep) return;
31912
31918
  const chat = chatMessageOf(message3);
31913
31919
  if (!chat) return;
31920
+ if (chat.content.length === 0) return;
31914
31921
  if (chat.role === "user") {
31915
31922
  if (!this.seedEchoed && !chat.content.some((p) => p.type === "tool_result")) {
31916
31923
  this.seedEchoed = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coreplane/switchboard",
3
- "version": "1.221.0",
3
+ "version": "1.221.1",
4
4
  "description": "Mention it in Slack and an agent reviews the PR, ships the fix, or answers the question — on the model you choose, with its tools running where you decide.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://openswitchboard.dev",