@coreplane/switchboard 1.262.0 → 1.262.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.262.0",
3
+ "version": "1.262.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "switchboard",
9
- "version": "1.262.0",
9
+ "version": "1.262.1",
10
10
  "license": "Apache-2.0",
11
11
  "workspaces": [
12
12
  "web",
@@ -21060,7 +21060,7 @@
21060
21060
  },
21061
21061
  "packages/switchboard": {
21062
21062
  "name": "@coreplane/switchboard",
21063
- "version": "1.262.0",
21063
+ "version": "1.262.1",
21064
21064
  "license": "Apache-2.0",
21065
21065
  "dependencies": {
21066
21066
  "@earendil-works/pi-ai": "0.85.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "switchboard",
3
- "version": "1.262.0",
3
+ "version": "1.262.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.262.0",
3
- "commit": "90124c1dfe74e65a447d2ef33eebd01e998486e0",
4
- "builtAt": "2026-09-24T21:21:11.789Z"
2
+ "version": "1.262.1",
3
+ "commit": "b7f8f15f4bb351a30811697a93d6bac4d67a5db9",
4
+ "builtAt": "2026-09-25T14:45:23.162Z"
5
5
  }
package/dist/cli.js CHANGED
@@ -73776,7 +73776,7 @@ async function recoverOriginalUnit(body, deps, caller) {
73776
73776
  const publication = row2.publication;
73777
73777
  const pr = row2.pr;
73778
73778
  const base = instance.base;
73779
- let expectedHead = row2.lastPush;
73779
+ let expectedHead = row2.lastPush ?? publication?.expectedHeadSha;
73780
73780
  if (pr === void 0 || base === void 0 || !fullHead(expectedHead) || publication === void 0 || publication.repo.toLowerCase() !== instance.repo.toLowerCase() || publication.pr !== pr.number || publication.headRef !== row2.branch || publication.baseRef !== base || publication.publicationRef !== row2.branch || !fullHead(publication.expectedHeadSha) || !samePublicationOwner(publication.owner, originalOwner))
73781
73781
  return json3(409, { ok: false, error: "recovery_binding_mismatch", at });
73782
73782
  const existingClaim = row2.recovery;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coreplane/switchboard",
3
- "version": "1.262.0",
3
+ "version": "1.262.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",