lody 0.105.0 → 0.106.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/baguette-worker.js +1 -1
- package/dist/chunks/{cloudflared-native-CT-eRa_M.js → cloudflared-native-CJVH1-0P.js} +2 -2
- package/dist/chunks/{daemon-session-tools-DtsKbbQ9.js → daemon-session-tools-Bgq2Cj2S.js} +6 -6
- package/dist/chunks/{diff-line-counts-Cr-lqn_D.js → diff-line-counts-D6bAVmNB.js} +2 -2
- package/dist/chunks/{diff-worker-task-BuDrFtkp.js → diff-worker-task-rnxgvZHM.js} +2 -2
- package/dist/chunks/{directory-handle-BNSLkXDU.js → directory-handle-DssOMLsI.js} +3 -3
- package/dist/chunks/{index-CtXoAGVz.js → index-DnWlNrUf.js} +2 -2
- package/dist/chunks/{index-CU8Ghgdl.js → index-a0nEYQPa.js} +6 -6
- package/dist/chunks/{process-22-gqNSA.js → process-DZ2dHvHL.js} +91 -17
- package/dist/chunks/{review-viewer-DS24MU0Q.js → review-viewer-Cm1OZZZc.js} +4 -4
- package/dist/cloudflared-worker.js +2 -2
- package/dist/diff-worker.js +3 -3
- package/dist/file-index-scan-worker.js +3 -3
- package/dist/index.js +392 -144
- package/package.json +1 -1
package/dist/baguette-worker.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as startProcessLegacy, b as runPromise, c as raceAll, p as promise, d as sleep, t as terminateChildTreeLegacy, e as provide, f as runCommand, g as processLayer } from "./chunks/process-
|
|
1
|
+
import { s as startProcessLegacy, b as runPromise, c as raceAll, p as promise, d as sleep, t as terminateChildTreeLegacy, e as provide, f as runCommand, g as processLayer } from "./chunks/process-DZ2dHvHL.js";
|
|
2
2
|
import { createServer } from "node:net";
|
|
3
3
|
import { setTimeout as setTimeout$1 } from "node:timers/promises";
|
|
4
4
|
import { mkdtemp, writeFile, rm } from "node:fs/promises";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as tracerLogger$1, i as effect, w as withFiber, j as fnUntraced, k as isEffect, C as CurrentLoggers$1, l as loggerMake, m as getAugmentedNamespace, n as commonjsGlobal, o as getDefaultExportFromCjs, q as merge, u as CurrentLogAnnotations, v as succeed, M as MinimumLogLevel, g as processLayer, x as nodeProcessLive, s as startProcessLegacy } from "./process-
|
|
1
|
+
import { h as tracerLogger$1, i as effect, w as withFiber, j as fnUntraced, k as isEffect, C as CurrentLoggers$1, l as loggerMake, m as getAugmentedNamespace, n as commonjsGlobal, o as getDefaultExportFromCjs, q as merge, u as CurrentLogAnnotations, v as succeed, M as MinimumLogLevel, g as processLayer, x as nodeProcessLive, s as startProcessLegacy } from "./process-DZ2dHvHL.js";
|
|
2
2
|
import { EventEmitter } from "node:events";
|
|
3
3
|
import require$$0$1 from "util";
|
|
4
4
|
import os__default$1 from "os";
|
|
@@ -17034,4 +17034,4 @@ export {
|
|
|
17034
17034
|
readLatestLogTail as x,
|
|
17035
17035
|
createFileLogger as y
|
|
17036
17036
|
};
|
|
17037
|
-
//# sourceMappingURL=cloudflared-native-
|
|
17037
|
+
//# sourceMappingURL=cloudflared-native-CJVH1-0P.js.map
|
|
@@ -3,8 +3,8 @@ import "path";
|
|
|
3
3
|
import "node:fs";
|
|
4
4
|
import "node:readline";
|
|
5
5
|
import "node:async_hooks";
|
|
6
|
-
import "./cloudflared-native-
|
|
7
|
-
import "./process-
|
|
6
|
+
import "./cloudflared-native-CJVH1-0P.js";
|
|
7
|
+
import "./process-DZ2dHvHL.js";
|
|
8
8
|
import "node:child_process";
|
|
9
9
|
import "node:path";
|
|
10
10
|
import "node:url";
|
|
@@ -55,8 +55,8 @@ import "node:crypto";
|
|
|
55
55
|
import "fs/promises";
|
|
56
56
|
import "./workspace-watch-path-policy-BRzhvEkG.js";
|
|
57
57
|
import "node:string_decoder";
|
|
58
|
-
import "./directory-handle-
|
|
59
|
-
import "./diff-line-counts-
|
|
58
|
+
import "./directory-handle-DssOMLsI.js";
|
|
59
|
+
import "./diff-line-counts-D6bAVmNB.js";
|
|
60
60
|
import "perf_hooks";
|
|
61
61
|
import "better-sqlite3";
|
|
62
62
|
import "module";
|
|
@@ -68,7 +68,7 @@ import "dgram";
|
|
|
68
68
|
import "timers/promises";
|
|
69
69
|
import "node:timers/promises";
|
|
70
70
|
import "@loro-dev/roost-node";
|
|
71
|
-
import "./diff-worker-task-
|
|
71
|
+
import "./diff-worker-task-rnxgvZHM.js";
|
|
72
72
|
import "node:module";
|
|
73
73
|
import "node:v8";
|
|
74
74
|
import "http2";
|
|
@@ -98,4 +98,4 @@ async function executeDaemonSessionTool(context, name, args) {
|
|
|
98
98
|
export {
|
|
99
99
|
executeDaemonSessionTool
|
|
100
100
|
};
|
|
101
|
-
//# sourceMappingURL=daemon-session-tools-
|
|
101
|
+
//# sourceMappingURL=daemon-session-tools-Bgq2Cj2S.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { mkdtempSync, writeFileSync, rmSync } from "node:fs";
|
|
2
2
|
import os__default from "node:os";
|
|
3
3
|
import path__default from "node:path";
|
|
4
|
-
import { a as runCommandTextSyncLegacy } from "./process-
|
|
4
|
+
import { a as runCommandTextSyncLegacy } from "./process-DZ2dHvHL.js";
|
|
5
5
|
function Diff() {
|
|
6
6
|
}
|
|
7
7
|
Diff.prototype = {
|
|
@@ -682,4 +682,4 @@ export {
|
|
|
682
682
|
countTextLines as a,
|
|
683
683
|
computeLineCounts as c
|
|
684
684
|
};
|
|
685
|
-
//# sourceMappingURL=diff-line-counts-
|
|
685
|
+
//# sourceMappingURL=diff-line-counts-D6bAVmNB.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createHash } from "node:crypto";
|
|
2
2
|
import { open, stat } from "node:fs/promises";
|
|
3
|
-
import { c as computeLineCounts } from "./diff-line-counts-
|
|
3
|
+
import { c as computeLineCounts } from "./diff-line-counts-D6bAVmNB.js";
|
|
4
4
|
async function runDiffWorkerTask(input) {
|
|
5
5
|
const lineCounts = computeLineCounts(input.oldText, input.newText);
|
|
6
6
|
if (input.kind === "line-count") return { kind: input.kind, lineCounts };
|
|
@@ -58,4 +58,4 @@ function nodeErrorCode(error) {
|
|
|
58
58
|
export {
|
|
59
59
|
runDiffWorkerTask as r
|
|
60
60
|
};
|
|
61
|
-
//# sourceMappingURL=diff-worker-task-
|
|
61
|
+
//# sourceMappingURL=diff-worker-task-rnxgvZHM.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { o as object, s as string, l as literal, b as boolean, _ as _enum, u as union, n as number, d as discriminatedUnion, a as array, r as record, t as tuple, c as unknown } from "./schemas-Bue2bhN8.js";
|
|
2
2
|
import { readFile } from "node:fs/promises";
|
|
3
3
|
import path__default from "node:path";
|
|
4
|
-
import { r as runCommandTextLegacy } from "./process-
|
|
5
|
-
import { a as countTextLines } from "./diff-line-counts-
|
|
4
|
+
import { r as runCommandTextLegacy } from "./process-DZ2dHvHL.js";
|
|
5
|
+
import { a as countTextLines } from "./diff-line-counts-D6bAVmNB.js";
|
|
6
6
|
_enum(["host", "write", "read"]);
|
|
7
7
|
_enum([
|
|
8
8
|
"not-started",
|
|
@@ -1178,4 +1178,4 @@ export {
|
|
|
1178
1178
|
CodeCollabV2RpcContentEnvelopeSchema as y,
|
|
1179
1179
|
deriveCodeCollabV2ContentKeyId as z
|
|
1180
1180
|
};
|
|
1181
|
-
//# sourceMappingURL=directory-handle-
|
|
1181
|
+
//# sourceMappingURL=directory-handle-DssOMLsI.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { readFile } from "node:fs/promises";
|
|
2
2
|
import path__default from "node:path";
|
|
3
|
-
import { r as runCommandTextLegacy } from "./process-
|
|
3
|
+
import { r as runCommandTextLegacy } from "./process-DZ2dHvHL.js";
|
|
4
4
|
import { d as parseReviewMarkdown, v as validateParsedReviewDocument, f as validateResolvedBlock, a as countLines, b as createSparseTextForRanges } from "./sparse-text-DcovXrdo.js";
|
|
5
5
|
import "node:child_process";
|
|
6
6
|
import "node:fs";
|
|
@@ -315,4 +315,4 @@ function formatGitError(error) {
|
|
|
315
315
|
export {
|
|
316
316
|
resolveReviewBundle
|
|
317
317
|
};
|
|
318
|
-
//# sourceMappingURL=index-
|
|
318
|
+
//# sourceMappingURL=index-DnWlNrUf.js.map
|
|
@@ -4,8 +4,8 @@ import "path";
|
|
|
4
4
|
import "node:fs";
|
|
5
5
|
import "node:readline";
|
|
6
6
|
import "node:async_hooks";
|
|
7
|
-
import "./cloudflared-native-
|
|
8
|
-
import "./process-
|
|
7
|
+
import "./cloudflared-native-CJVH1-0P.js";
|
|
8
|
+
import "./process-DZ2dHvHL.js";
|
|
9
9
|
import "node:child_process";
|
|
10
10
|
import "node:path";
|
|
11
11
|
import "node:url";
|
|
@@ -56,8 +56,8 @@ import "node:crypto";
|
|
|
56
56
|
import "fs/promises";
|
|
57
57
|
import "./workspace-watch-path-policy-BRzhvEkG.js";
|
|
58
58
|
import "node:string_decoder";
|
|
59
|
-
import "./directory-handle-
|
|
60
|
-
import "./diff-line-counts-
|
|
59
|
+
import "./directory-handle-DssOMLsI.js";
|
|
60
|
+
import "./diff-line-counts-D6bAVmNB.js";
|
|
61
61
|
import "perf_hooks";
|
|
62
62
|
import "better-sqlite3";
|
|
63
63
|
import "module";
|
|
@@ -69,7 +69,7 @@ import "dgram";
|
|
|
69
69
|
import "timers/promises";
|
|
70
70
|
import "node:timers/promises";
|
|
71
71
|
import "@loro-dev/roost-node";
|
|
72
|
-
import "./diff-worker-task-
|
|
72
|
+
import "./diff-worker-task-rnxgvZHM.js";
|
|
73
73
|
import "node:module";
|
|
74
74
|
import "node:v8";
|
|
75
75
|
import "http2";
|
|
@@ -128,4 +128,4 @@ export {
|
|
|
128
128
|
Z as setFieldTo,
|
|
129
129
|
_ as storedBaselineHashes
|
|
130
130
|
};
|
|
131
|
-
//# sourceMappingURL=index-
|
|
131
|
+
//# sourceMappingURL=index-a0nEYQPa.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { spawnSync, spawn as spawn$1 } from "node:child_process";
|
|
2
|
-
import { statSync } from "node:fs";
|
|
2
|
+
import { readdirSync, readFileSync, statSync } from "node:fs";
|
|
3
3
|
import path__default$1 from "node:path";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
5
5
|
import require$$0 from "child_process";
|
|
@@ -1332,7 +1332,7 @@ const Number$1 = /* @__PURE__ */ make$d((self2, that) => {
|
|
|
1332
1332
|
return self2 < that ? -1 : 1;
|
|
1333
1333
|
});
|
|
1334
1334
|
const mapInput = /* @__PURE__ */ dual(2, (self2, f) => make$d((b1, b2) => self2(f(b1), f(b2))));
|
|
1335
|
-
const isGreaterThan = (O) => dual(2, (self2, that) => O(self2, that) === 1);
|
|
1335
|
+
const isGreaterThan$1 = (O) => dual(2, (self2, that) => O(self2, that) === 1);
|
|
1336
1336
|
const min$2 = (O) => dual(2, (self2, that) => self2 === that || O(self2, that) < 1 ? self2 : that);
|
|
1337
1337
|
const none = () => none$1;
|
|
1338
1338
|
const some = some$1;
|
|
@@ -1951,6 +1951,7 @@ const subtract = /* @__PURE__ */ dual(2, (self2, that) => matchPair(self2, that,
|
|
|
1951
1951
|
return t === "Infinity" ? negativeInfinity : infinity;
|
|
1952
1952
|
}
|
|
1953
1953
|
}));
|
|
1954
|
+
const isGreaterThan = /* @__PURE__ */ isGreaterThan$1(Order);
|
|
1954
1955
|
const equals = /* @__PURE__ */ dual(2, (self2, that) => Equivalence(self2, that));
|
|
1955
1956
|
const parts = (self2) => {
|
|
1956
1957
|
if (self2.value._tag === "Infinity") {
|
|
@@ -4822,7 +4823,7 @@ const logLevelToOrder = (level) => {
|
|
|
4822
4823
|
}
|
|
4823
4824
|
};
|
|
4824
4825
|
const LogLevelOrder = /* @__PURE__ */ mapInput(Number$1, logLevelToOrder);
|
|
4825
|
-
const isLogLevelGreaterThan = /* @__PURE__ */ isGreaterThan(LogLevelOrder);
|
|
4826
|
+
const isLogLevelGreaterThan = /* @__PURE__ */ isGreaterThan$1(LogLevelOrder);
|
|
4826
4827
|
const CurrentLoggers = /* @__PURE__ */ Reference("effect/Logger/CurrentLoggers", {
|
|
4827
4828
|
defaultValue: () => /* @__PURE__ */ new Set([defaultLogger, tracerLogger])
|
|
4828
4829
|
});
|
|
@@ -8097,6 +8098,43 @@ const windowsSpawnTarget = (command, options) => {
|
|
|
8097
8098
|
const cwd = options.cwd instanceof URL ? fileURLToPath(options.cwd) : options.cwd;
|
|
8098
8099
|
return resolveWindowsCommand(command, { cwd, env: options.env ?? process.env }, isFile);
|
|
8099
8100
|
};
|
|
8101
|
+
const listLinuxProcessGroup = (pgid) => {
|
|
8102
|
+
let entries;
|
|
8103
|
+
try {
|
|
8104
|
+
entries = readdirSync("/proc");
|
|
8105
|
+
} catch {
|
|
8106
|
+
return null;
|
|
8107
|
+
}
|
|
8108
|
+
const members = [];
|
|
8109
|
+
for (const entry of entries) {
|
|
8110
|
+
if (!/^\d+$/u.test(entry)) continue;
|
|
8111
|
+
let stat;
|
|
8112
|
+
try {
|
|
8113
|
+
stat = readFileSync(`/proc/${entry}/stat`, "utf8");
|
|
8114
|
+
} catch {
|
|
8115
|
+
continue;
|
|
8116
|
+
}
|
|
8117
|
+
const [state, , group] = stat.slice(stat.lastIndexOf(")") + 2).split(" ");
|
|
8118
|
+
if (Number(group) !== pgid) continue;
|
|
8119
|
+
members.push({ pid: Number(entry), zombie: state === "Z" || state === "X" });
|
|
8120
|
+
}
|
|
8121
|
+
return members;
|
|
8122
|
+
};
|
|
8123
|
+
const listPsProcessGroup = (pgid) => {
|
|
8124
|
+
const result2 = spawn.sync("ps", ["-axo", "pid=,pgid=,stat="], {
|
|
8125
|
+
encoding: "buffer",
|
|
8126
|
+
stdio: ["ignore", "pipe", "ignore"],
|
|
8127
|
+
timeout: 2e3
|
|
8128
|
+
});
|
|
8129
|
+
if (result2.error || result2.status !== 0) return null;
|
|
8130
|
+
const members = [];
|
|
8131
|
+
for (const line of result2.stdout.toString("utf8").split("\n")) {
|
|
8132
|
+
const [pid, group, state] = line.trim().split(/\s+/u);
|
|
8133
|
+
if (!pid || !state || Number(group) !== pgid) continue;
|
|
8134
|
+
members.push({ pid: Number(pid), zombie: state.startsWith("Z") });
|
|
8135
|
+
}
|
|
8136
|
+
return members;
|
|
8137
|
+
};
|
|
8100
8138
|
const nodeProcessLive = {
|
|
8101
8139
|
platform: process.platform,
|
|
8102
8140
|
spawn: (command, args2, options) => {
|
|
@@ -8112,6 +8150,10 @@ const nodeProcessLive = {
|
|
|
8112
8150
|
},
|
|
8113
8151
|
kill: (pid, signal) => {
|
|
8114
8152
|
process.kill(pid, signal);
|
|
8153
|
+
},
|
|
8154
|
+
listProcessGroup: (pgid) => {
|
|
8155
|
+
if (process.platform === "win32") return null;
|
|
8156
|
+
return process.platform === "linux" ? listLinuxProcessGroup(pgid) : listPsProcessGroup(pgid);
|
|
8115
8157
|
}
|
|
8116
8158
|
};
|
|
8117
8159
|
succeed$2(NodeProcess, nodeProcessLive);
|
|
@@ -8127,6 +8169,7 @@ class SpawnFailed extends TaggedError("SpawnFailed") {
|
|
|
8127
8169
|
class TerminationFailed extends TaggedError("TerminationFailed") {
|
|
8128
8170
|
}
|
|
8129
8171
|
const TREE_POLL_INTERVAL = millis(20);
|
|
8172
|
+
const MEMBER_SCAN_DELAY = millis(250);
|
|
8130
8173
|
const TASKKILL_DEADLINE = seconds(10);
|
|
8131
8174
|
const TREE_POLL_INTERVAL_MS = toMillis(TREE_POLL_INTERVAL);
|
|
8132
8175
|
const TASKKILL_NOT_FOUND = 128;
|
|
@@ -8144,17 +8187,28 @@ const posixGroupTree = (np, pgid) => {
|
|
|
8144
8187
|
try: () => np.kill(-pgid, signal),
|
|
8145
8188
|
catch: (cause) => cause
|
|
8146
8189
|
});
|
|
8190
|
+
const isAlive = kill(0).pipe(
|
|
8191
|
+
as(true),
|
|
8192
|
+
catch_((cause) => {
|
|
8193
|
+
const code = errnoCode(cause);
|
|
8194
|
+
if (code === "ESRCH") return succeed$1(false);
|
|
8195
|
+
if (code === "EPERM") return succeed$1(true);
|
|
8196
|
+
return fail$2(signalFailed(description, 0, cause));
|
|
8197
|
+
})
|
|
8198
|
+
);
|
|
8199
|
+
const listMembers = np.listProcessGroup;
|
|
8147
8200
|
return {
|
|
8148
8201
|
description,
|
|
8149
|
-
isAlive
|
|
8150
|
-
|
|
8151
|
-
|
|
8152
|
-
const
|
|
8153
|
-
if (
|
|
8154
|
-
|
|
8155
|
-
|
|
8202
|
+
isAlive,
|
|
8203
|
+
...listMembers ? {
|
|
8204
|
+
hasRunningMembers: suspend$2(() => {
|
|
8205
|
+
const members = listMembers(pgid);
|
|
8206
|
+
if (members === null || members.some((member) => !member.zombie)) {
|
|
8207
|
+
return succeed$1(true);
|
|
8208
|
+
}
|
|
8209
|
+
return members.length > 0 ? succeed$1(false) : isAlive;
|
|
8156
8210
|
})
|
|
8157
|
-
|
|
8211
|
+
} : {},
|
|
8158
8212
|
signal: (signal) => kill(signal).pipe(
|
|
8159
8213
|
as("delivered"),
|
|
8160
8214
|
catch_((cause) => {
|
|
@@ -8263,13 +8317,30 @@ const waitUntilGone = (tree, within) => pollWithin(
|
|
|
8263
8317
|
map$2(tree.isAlive, (alive) => alive ? none() : some(true)),
|
|
8264
8318
|
within
|
|
8265
8319
|
).pipe(map$2(isSome));
|
|
8320
|
+
const settleWithin = fnUntraced(function* (tree, within, after) {
|
|
8321
|
+
const hasRunningMembers = tree.hasRunningMembers;
|
|
8322
|
+
if (!hasRunningMembers) return yield* waitUntilGone(tree, within);
|
|
8323
|
+
const early = min$1(within, MEMBER_SCAN_DELAY);
|
|
8324
|
+
if (yield* waitUntilGone(tree, early)) return true;
|
|
8325
|
+
const onlyZombies = gen(function* () {
|
|
8326
|
+
if (yield* hasRunningMembers) return false;
|
|
8327
|
+
yield* logDebug(`${tree.description} retains only zombies after ${after}; it is gone`);
|
|
8328
|
+
return true;
|
|
8329
|
+
});
|
|
8330
|
+
if (yield* onlyZombies) return true;
|
|
8331
|
+
const rest = subtract(within, early);
|
|
8332
|
+
if (isGreaterThan(rest, zero) && (yield* waitUntilGone(tree, rest))) {
|
|
8333
|
+
return true;
|
|
8334
|
+
}
|
|
8335
|
+
return yield* onlyZombies;
|
|
8336
|
+
});
|
|
8266
8337
|
const terminateTree = fnUntraced(function* (tree, policy) {
|
|
8267
8338
|
if (!(yield* tree.isAlive)) return;
|
|
8268
8339
|
if (policy.graceMs > 0) {
|
|
8269
8340
|
const graceful = yield* result(tree.signal(policy.gracefulSignal ?? "SIGTERM"));
|
|
8270
8341
|
if (isSuccess$3(graceful)) {
|
|
8271
8342
|
if (graceful.success === "gone") return;
|
|
8272
|
-
if (yield*
|
|
8343
|
+
if (yield* settleWithin(tree, millis(policy.graceMs), "SIGTERM")) return;
|
|
8273
8344
|
yield* logDebug(
|
|
8274
8345
|
`${tree.description} still running ${policy.graceMs}ms after SIGTERM; escalating to SIGKILL`
|
|
8275
8346
|
);
|
|
@@ -8279,10 +8350,11 @@ const terminateTree = fnUntraced(function* (tree, policy) {
|
|
|
8279
8350
|
);
|
|
8280
8351
|
}
|
|
8281
8352
|
}
|
|
8282
|
-
|
|
8283
|
-
if (
|
|
8353
|
+
const killed = yield* result(tree.signal("SIGKILL"));
|
|
8354
|
+
if (isSuccess$3(killed) && killed.success === "gone") return;
|
|
8355
|
+
if (yield* settleWithin(tree, millis(policy.killWaitMs), "SIGKILL")) return;
|
|
8284
8356
|
yield* fail$2(
|
|
8285
|
-
new TerminationFailed({
|
|
8357
|
+
isFailure$3(killed) ? killed.failure : new TerminationFailed({
|
|
8286
8358
|
target: tree.description,
|
|
8287
8359
|
reason: "still-alive",
|
|
8288
8360
|
message: `${tree.description} was still running ${policy.killWaitMs}ms after SIGKILL`
|
|
@@ -8312,6 +8384,7 @@ class ProcessReleaseFailed extends TaggedError("ProcessReleaseFailed") {
|
|
|
8312
8384
|
}
|
|
8313
8385
|
/** Retry the original bounded backend; force may converge with a graceful retry. */
|
|
8314
8386
|
retryTermination(policy = this.#policy) {
|
|
8387
|
+
const hasRunningMembers = this.#resource.tree.hasRunningMembers;
|
|
8315
8388
|
const tree = {
|
|
8316
8389
|
description: this.#resource.tree.description,
|
|
8317
8390
|
isAlive: this.isAlive,
|
|
@@ -8319,7 +8392,8 @@ class ProcessReleaseFailed extends TaggedError("ProcessReleaseFailed") {
|
|
|
8319
8392
|
flatMap(
|
|
8320
8393
|
(released) => released ? succeed$1("gone") : this.#resource.tree.signal(signal)
|
|
8321
8394
|
)
|
|
8322
|
-
)
|
|
8395
|
+
),
|
|
8396
|
+
...hasRunningMembers ? { hasRunningMembers } : {}
|
|
8323
8397
|
};
|
|
8324
8398
|
return uninterruptibleMask(
|
|
8325
8399
|
(restore) => get(this.#released).pipe(
|
|
@@ -9229,4 +9303,4 @@ export {
|
|
|
9229
9303
|
dual as y,
|
|
9230
9304
|
assignProperty as z
|
|
9231
9305
|
};
|
|
9232
|
-
//# sourceMappingURL=process-
|
|
9306
|
+
//# sourceMappingURL=process-DZ2dHvHL.js.map
|
|
@@ -2,8 +2,8 @@ import { createHash } from "node:crypto";
|
|
|
2
2
|
import { readFile, mkdir, writeFile, rename } from "node:fs/promises";
|
|
3
3
|
import path__default from "node:path";
|
|
4
4
|
import process from "node:process";
|
|
5
|
-
import { g as getLodyDataDir } from "./cloudflared-native-
|
|
6
|
-
import "./process-
|
|
5
|
+
import { g as getLodyDataDir } from "./cloudflared-native-CJVH1-0P.js";
|
|
6
|
+
import "./process-DZ2dHvHL.js";
|
|
7
7
|
import "node:child_process";
|
|
8
8
|
import "node:fs";
|
|
9
9
|
import "node:url";
|
|
@@ -27,7 +27,7 @@ import "node:util";
|
|
|
27
27
|
import "node:os";
|
|
28
28
|
import "node:zlib";
|
|
29
29
|
import "./schemas-Bue2bhN8.js";
|
|
30
|
-
const reviewViewerVersion = "0.
|
|
30
|
+
const reviewViewerVersion = "0.106.0";
|
|
31
31
|
const reviewViewerSha256 = "d1ba5702aa0bd441b40492bd916d6412f8b970e92683f7073878a36efbdb0649";
|
|
32
32
|
const reviewViewerFileName = "standalone.html";
|
|
33
33
|
const DEFAULT_CDN_BASES = ["https://cdn.jsdelivr.net/npm", "https://unpkg.com"];
|
|
@@ -102,4 +102,4 @@ async function resolveReviewViewerTemplate() {
|
|
|
102
102
|
export {
|
|
103
103
|
resolveReviewViewerTemplate
|
|
104
104
|
};
|
|
105
|
-
//# sourceMappingURL=review-viewer-
|
|
105
|
+
//# sourceMappingURL=review-viewer-Cm1OZZZc.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { s as startCloudflaredNative, C as CloudflaredError } from "./chunks/cloudflared-native-
|
|
1
|
+
import { s as startCloudflaredNative, C as CloudflaredError } from "./chunks/cloudflared-native-CJVH1-0P.js";
|
|
2
2
|
import { t as tuple, s as string, o as object, l as literal } from "./chunks/schemas-Bue2bhN8.js";
|
|
3
|
-
import "./chunks/process-
|
|
3
|
+
import "./chunks/process-DZ2dHvHL.js";
|
|
4
4
|
import "node:child_process";
|
|
5
5
|
import "node:fs";
|
|
6
6
|
import "node:path";
|
package/dist/diff-worker.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { r as runDiffWorkerTask } from "./chunks/diff-worker-task-
|
|
1
|
+
import { r as runDiffWorkerTask } from "./chunks/diff-worker-task-rnxgvZHM.js";
|
|
2
2
|
import "node:crypto";
|
|
3
3
|
import "node:fs/promises";
|
|
4
|
-
import "./chunks/diff-line-counts-
|
|
4
|
+
import "./chunks/diff-line-counts-D6bAVmNB.js";
|
|
5
5
|
import "node:fs";
|
|
6
6
|
import "node:os";
|
|
7
7
|
import "node:path";
|
|
8
|
-
import "./chunks/process-
|
|
8
|
+
import "./chunks/process-DZ2dHvHL.js";
|
|
9
9
|
import "node:child_process";
|
|
10
10
|
import "node:url";
|
|
11
11
|
import "child_process";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { opendir } from "node:fs/promises";
|
|
2
2
|
import path__default from "node:path";
|
|
3
|
-
import { b as buildCodeCollabFileIndexState, s as scanGitDirectoryEntries, j as joinWorkspacePath, i as isInsideGitWorktree, c as computeAllChanges, p as pathSegmentComparisonKey, a as closeDirectoryQuietly } from "./chunks/directory-handle-
|
|
3
|
+
import { b as buildCodeCollabFileIndexState, s as scanGitDirectoryEntries, j as joinWorkspacePath, i as isInsideGitWorktree, c as computeAllChanges, p as pathSegmentComparisonKey, a as closeDirectoryQuietly } from "./chunks/directory-handle-DssOMLsI.js";
|
|
4
4
|
import "./chunks/schemas-Bue2bhN8.js";
|
|
5
|
-
import "./chunks/process-
|
|
5
|
+
import "./chunks/process-DZ2dHvHL.js";
|
|
6
6
|
import "node:child_process";
|
|
7
7
|
import "node:fs";
|
|
8
8
|
import "node:url";
|
|
@@ -10,7 +10,7 @@ import "child_process";
|
|
|
10
10
|
import "path";
|
|
11
11
|
import "fs";
|
|
12
12
|
import "node:stream";
|
|
13
|
-
import "./chunks/diff-line-counts-
|
|
13
|
+
import "./chunks/diff-line-counts-D6bAVmNB.js";
|
|
14
14
|
import "node:os";
|
|
15
15
|
const DEFAULT_IGNORED_DIRECTORY_NAMES = /* @__PURE__ */ new Set([
|
|
16
16
|
".git",
|