@warmhub/cli 0.100.0 → 0.102.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/wh.js +7 -7
- package/package.json +1 -1
package/dist/wh.js
CHANGED
|
@@ -44481,7 +44481,7 @@ function createStreamingSubmissionHandle(input, deps) {
|
|
|
44481
44481
|
// ../../packages/sdk-ts/package.json
|
|
44482
44482
|
var package_default = {
|
|
44483
44483
|
name: "@warmhub/sdk-ts",
|
|
44484
|
-
version: "0.
|
|
44484
|
+
version: "0.100.0",
|
|
44485
44485
|
private: false,
|
|
44486
44486
|
type: "module",
|
|
44487
44487
|
description: "The TypeScript SDK for WarmHub — create repos, commit and query data, and compound knowledge with your AI agents.",
|
|
@@ -48286,7 +48286,7 @@ function withLogRotationLock(dir, append) {
|
|
|
48286
48286
|
releaseRotateLock(heldLock);
|
|
48287
48287
|
}
|
|
48288
48288
|
}
|
|
48289
|
-
function rotateIfNeeded(path, dir,
|
|
48289
|
+
function rotateIfNeeded(path, dir, options) {
|
|
48290
48290
|
if (!existsSync2(path))
|
|
48291
48291
|
return;
|
|
48292
48292
|
let size;
|
|
@@ -48297,12 +48297,12 @@ function rotateIfNeeded(path, dir, hooks) {
|
|
|
48297
48297
|
}
|
|
48298
48298
|
if (size <= FILE_CAP_BYTES)
|
|
48299
48299
|
return;
|
|
48300
|
-
const heldLock = tryAcquireRotateLock(dir, ROTATE_LOCK_TIMEOUT_MS);
|
|
48300
|
+
const heldLock = tryAcquireRotateLock(dir, options?.lockTimeoutMs ?? ROTATE_LOCK_TIMEOUT_MS);
|
|
48301
48301
|
if (!heldLock)
|
|
48302
48302
|
return;
|
|
48303
48303
|
try {
|
|
48304
48304
|
const raw = readFileSync(path);
|
|
48305
|
-
|
|
48305
|
+
options?.afterSnapshot?.();
|
|
48306
48306
|
let cut = raw.length - FILE_RETAIN_BYTES;
|
|
48307
48307
|
if (cut < 0)
|
|
48308
48308
|
cut = 0;
|
|
@@ -68155,7 +68155,7 @@ function resolveLogLevel(flagLevel, env) {
|
|
|
68155
68155
|
// package.json
|
|
68156
68156
|
var package_default3 = {
|
|
68157
68157
|
name: "@warmhub/cli",
|
|
68158
|
-
version: "0.
|
|
68158
|
+
version: "0.102.0",
|
|
68159
68159
|
private: false,
|
|
68160
68160
|
type: "module",
|
|
68161
68161
|
description: "The wh CLI for WarmHub — create repos, commit and query data, and compound knowledge with your AI agents.",
|
|
@@ -68780,5 +68780,5 @@ process.exitCode = interceptedExitCode === undefined ? await runPreparedCli(laun
|
|
|
68780
68780
|
version: package_default3.version
|
|
68781
68781
|
}) : interceptedExitCode;
|
|
68782
68782
|
|
|
68783
|
-
//# debugId=
|
|
68784
|
-
//# warmhub-cli-build-info {"cliVersion":"0.
|
|
68783
|
+
//# debugId=4B5B53D1177A949C64756E2164756E21
|
|
68784
|
+
//# warmhub-cli-build-info {"cliVersion":"0.102.0","sdkVersion":"0.100.0"}
|
package/package.json
CHANGED