@wjarka/cezarion 0.17.0-dev.5593 → 0.17.0-dev.5604

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.
@@ -3560,7 +3560,7 @@ export function createApp(deps) {
3560
3560
  const { root: repoRoot, store } = c.get('project');
3561
3561
  const id = c.req.param('id');
3562
3562
  const checkout = runCheckout(c.get('project'), id, 'remove', {
3563
- claim: 'publish', activeBeforeLookup: false, checksActive: true, deletion: 'worktree',
3563
+ claim: 'publish', checksActive: true, deletion: 'worktree',
3564
3564
  nullClaimError: 'worktree cleanup pending — retry after cleanup is confirmed',
3565
3565
  });
3566
3566
  if ('status' in checkout)
@@ -3580,7 +3580,7 @@ export function createApp(deps) {
3580
3580
  const { root: repoRoot, store } = c.get('project');
3581
3581
  const id = c.req.param('id');
3582
3582
  const checkout = runCheckout(c.get('project'), id, 'remove', {
3583
- claim: 'publish', activeBeforeLookup: true, checksActive: true, deletion: 'record',
3583
+ claim: 'publish', checksActive: true, deletion: 'record',
3584
3584
  nullClaimError: 'worktree cleanup pending — retry after cleanup is confirmed',
3585
3585
  });
3586
3586
  if ('status' in checkout)
@@ -3693,7 +3693,7 @@ export function createApp(deps) {
3693
3693
  .post('/worktrees/:runId/reclaim', paramZodValidator(reclaimRunParamsSchema), async (c) => {
3694
3694
  const { root: repoRoot, store } = c.get('project');
3695
3695
  const checkout = runCheckout(c.get('project'), c.req.valid('param').runId, 'remove', {
3696
- claim: 'reclaim', activeBeforeLookup: false, checksActive: false, deletion: 'inline',
3696
+ claim: 'reclaim', checksActive: false, deletion: 'inline',
3697
3697
  nullClaimError: 'this worktree is in use or already reclaimed — only a finished task\'s worktree can be reclaimed',
3698
3698
  });
3699
3699
  if ('status' in checkout)