@staff0rd/assist 0.1130.0 → 0.1131.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.
- package/dist/built-version +1 -1
- package/dist/commands/sessions/web/bundle.js +426 -426
- package/dist/index.js +8 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { Command } from "commander";
|
|
|
6
6
|
// package.json
|
|
7
7
|
var package_default = {
|
|
8
8
|
name: "@staff0rd/assist",
|
|
9
|
-
version: "0.
|
|
9
|
+
version: "0.1131.0",
|
|
10
10
|
type: "module",
|
|
11
11
|
main: "dist/index.js",
|
|
12
12
|
bin: {
|
|
@@ -60871,7 +60871,13 @@ function walk2(path128, contents, uid) {
|
|
|
60871
60871
|
|
|
60872
60872
|
// src/commands/sessions/daemon/worktree/surfaceUndeletableLeftover.ts
|
|
60873
60873
|
import { basename as basename36 } from "path";
|
|
60874
|
+
|
|
60875
|
+
// src/commands/sessions/daemon/worktree/leftoverSurfacingEnabled.ts
|
|
60876
|
+
var leftoverSurfacingEnabled = false;
|
|
60877
|
+
|
|
60878
|
+
// src/commands/sessions/daemon/worktree/surfaceUndeletableLeftover.ts
|
|
60874
60879
|
function surfaceUndeletableLeftover(spawnWith, leftover, notify2) {
|
|
60880
|
+
if (!leftoverSurfacingEnabled) return;
|
|
60875
60881
|
forgetWorktree(leftover.path);
|
|
60876
60882
|
try {
|
|
60877
60883
|
const id = spawnWith((sid) => leftoverSession(sid, leftover));
|
|
@@ -60909,6 +60915,7 @@ function leftoverSession(id, leftover) {
|
|
|
60909
60915
|
|
|
60910
60916
|
// src/commands/sessions/daemon/worktree/recheckReapedWorktrees.ts
|
|
60911
60917
|
async function recheckReapedWorktrees(accounted, spawnWith, notify2) {
|
|
60918
|
+
if (!leftoverSurfacingEnabled) return;
|
|
60912
60919
|
for (const record3 of readReapedWorktreeRegistry()) {
|
|
60913
60920
|
if (accounted.has(record3.path) || underTempRoot(record3.path)) continue;
|
|
60914
60921
|
if (!holdsNoCheckout(record3.path)) continue;
|