@coreplane/switchboard 1.206.1 → 1.207.0

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.206.1",
3
+ "version": "1.207.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "switchboard",
9
- "version": "1.206.1",
9
+ "version": "1.207.0",
10
10
  "license": "Apache-2.0",
11
11
  "workspaces": [
12
12
  "web",
@@ -18999,7 +18999,7 @@
18999
18999
  },
19000
19000
  "packages/switchboard": {
19001
19001
  "name": "@coreplane/switchboard",
19002
- "version": "1.206.1",
19002
+ "version": "1.207.0",
19003
19003
  "license": "Apache-2.0",
19004
19004
  "dependencies": {
19005
19005
  "@anthropic-ai/sdk": "^0.124.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "switchboard",
3
- "version": "1.206.1",
3
+ "version": "1.207.0",
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.206.1",
3
- "commit": "262ef07cb31181e496954cd5f4f189a6670491bc",
4
- "builtAt": "2026-09-13T23:14:45.369Z"
2
+ "version": "1.207.0",
3
+ "commit": "123a4b1aba2acf34fc922a24f3493fa6c05df2d9",
4
+ "builtAt": "2026-09-14T00:08:39.382Z"
5
5
  }
package/dist/cli.js CHANGED
@@ -19526,6 +19526,24 @@ function createRunsService(deps) {
19526
19526
  if (!store || !RUN_ID_PATTERN.test(id)) return null;
19527
19527
  return store.getSummary(id);
19528
19528
  };
19529
+ const storedArtifacts = async (id) => {
19530
+ let row;
19531
+ try {
19532
+ row = await storeSummary(id);
19533
+ } catch (err2) {
19534
+ warn(
19535
+ `[runs] history store read failed for ${id} \u2014 serving the registry row without its record: ${describe9(err2)}`
19536
+ );
19537
+ return {};
19538
+ }
19539
+ if (!row) return {};
19540
+ return {
19541
+ ...row.verdict !== void 0 ? { verdict: row.verdict } : {},
19542
+ ...row.reviewHead !== void 0 ? { reviewHead: row.reviewHead } : {},
19543
+ ...row.dispositions !== void 0 ? { dispositions: row.dispositions } : {},
19544
+ ...row.handoff !== void 0 ? { handoff: row.handoff } : {}
19545
+ };
19546
+ };
19529
19547
  return {
19530
19548
  async listRuns(opts) {
19531
19549
  const limit = clampListLimit(opts.limit);
@@ -19597,6 +19615,7 @@ function createRunsService(deps) {
19597
19615
  if (summary && snap) {
19598
19616
  const view2 = liveView(summary);
19599
19617
  if (opts.include === "messages") view2.events = snap.events;
19618
+ if (summary.finished) Object.assign(view2, await storedArtifacts(id));
19600
19619
  return { ok: true, value: view2 };
19601
19620
  }
19602
19621
  const far = await ledgerRow(id);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coreplane/switchboard",
3
- "version": "1.206.1",
3
+ "version": "1.207.0",
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",