@alecsibilia/luca 14.0.0-alpha.32 → 14.0.0-alpha.33

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # @alecsibilia/luca
2
2
 
3
+ ## 14.0.0-alpha.33
4
+
5
+ No changes in this release.
6
+
3
7
  ## 14.0.0-alpha.32
4
8
 
5
9
  No changes in this release.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luca/board",
3
- "version": "14.0.0-alpha.32",
3
+ "version": "14.0.0-alpha.33",
4
4
  "private": true,
5
5
  "type": "module"
6
6
  }
@@ -1,2 +1,2 @@
1
1
  /** The Luca version of this board, stamped when the package was packed. */
2
- export const LUCA_VERSION: string = "14.0.0-alpha.32"
2
+ export const LUCA_VERSION: string = "14.0.0-alpha.33"
@@ -127,7 +127,9 @@ export type GitAdapter = {
127
127
  /**
128
128
  * Replays commits onto the branch checked out at `cwd`, in order. A clash
129
129
  * is undone and returned as an error. `lines_changed` is the lines the
130
- * replay added plus removed, binary files counting 0.
130
+ * replay added plus removed, binary files counting 0. No commits (the
131
+ * change is already on the branch) is a join that adds nothing: `ok`,
132
+ * with no `shas` (#716).
131
133
  */
132
134
  replay: (args: {
133
135
  cwd: string
@@ -32,6 +32,10 @@ export const joinOps: Pick<
32
32
  })
33
33
  ),
34
34
  replay: async ({ cwd, commits }) => {
35
+ // The ticket's change is already on the branch (#716). `git
36
+ // cherry-pick` with no commits only prints its usage and fails.
37
+ if (commits.length === 0)
38
+ return { ok: true, shas: [], lines_changed: 0 }
35
39
  const before = await head({ cwd })
36
40
  const picked = await gitRun({
37
41
  cwd,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@alecsibilia/luca",
3
3
  "description": "Luca: turns a spec on GitHub Issues into a reviewed pull request, run from Paseo with Claude Code",
4
- "version": "14.0.0-alpha.32",
4
+ "version": "14.0.0-alpha.33",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Alec Sibilia <sibilia.alec@gmail.com>",
7
7
  "homepage": "https://github.com/asibilia/luca-framework#readme",