@warmhub/cli 0.118.0 → 0.120.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.
Files changed (2) hide show
  1. package/dist/wh.js +8 -8
  2. package/package.json +1 -1
package/dist/wh.js CHANGED
@@ -45312,7 +45312,7 @@ function createStreamingSubmissionHandle(input, deps) {
45312
45312
  // ../../packages/sdk-ts/package.json
45313
45313
  var package_default = {
45314
45314
  name: "@warmhub/sdk-ts",
45315
- version: "0.116.0",
45315
+ version: "0.118.0",
45316
45316
  private: false,
45317
45317
  type: "module",
45318
45318
  description: "The TypeScript SDK for WarmHub — create repos, commit and query data, and compound knowledge with your AI agents.",
@@ -57840,11 +57840,11 @@ class StreamProgressReporter {
57840
57840
  const elapsedSeconds = ((args.nowMs - this.startedAtMs) / 1000).toFixed(1);
57841
57841
  this.ctx.err(`progress: ${args.opCount} ops, ${args.chunkCount} chunks, ${elapsedSeconds}s, ${appendThroughput} ops/s append`);
57842
57842
  }
57843
- onError() {
57843
+ onError(nowMs) {
57844
57844
  if (this.jsonl) {
57845
57845
  this.emitSummary({
57846
57846
  chunkCount: this.chunksAppended,
57847
- nowMs: performance.now(),
57847
+ nowMs,
57848
57848
  opCount: this.opsAppended,
57849
57849
  status: "error"
57850
57850
  });
@@ -58051,7 +58051,7 @@ async function applyJsonlCommit(ctx, args) {
58051
58051
  }
58052
58052
  const tAppend = performance.now();
58053
58053
  if (opCount === 0) {
58054
- progress.onError();
58054
+ progress.onError(performance.now());
58055
58055
  throw new CliError(2 /* UserInput */, "USER_INPUT", args.emptyInputMessage, undefined, args.emptyInputHint);
58056
58056
  }
58057
58057
  const tDone = performance.now();
@@ -58105,7 +58105,7 @@ async function applyJsonlCommit(ctx, args) {
58105
58105
  repoSeq
58106
58106
  });
58107
58107
  } catch (error51) {
58108
- progress.onError();
58108
+ progress.onError(performance.now());
58109
58109
  if (error51 instanceof PartialStreamSubmissionError || opCount === 0) {
58110
58110
  throw error51;
58111
58111
  }
@@ -69750,7 +69750,7 @@ function resolveLogLevel(flagLevel, env) {
69750
69750
  // package.json
69751
69751
  var package_default3 = {
69752
69752
  name: "@warmhub/cli",
69753
- version: "0.118.0",
69753
+ version: "0.120.0",
69754
69754
  private: false,
69755
69755
  type: "module",
69756
69756
  description: "The wh CLI for WarmHub — create repos, commit and query data, and compound knowledge with your AI agents.",
@@ -70375,5 +70375,5 @@ process.exitCode = interceptedExitCode === undefined ? await runPreparedCli(laun
70375
70375
  version: package_default3.version
70376
70376
  }) : interceptedExitCode;
70377
70377
 
70378
- //# debugId=E526A210005F6CCA64756E2164756E21
70379
- //# warmhub-cli-build-info {"cliVersion":"0.118.0","sdkVersion":"0.116.0"}
70378
+ //# debugId=52D09A5A4C41E5F264756E2164756E21
70379
+ //# warmhub-cli-build-info {"cliVersion":"0.120.0","sdkVersion":"0.118.0"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@warmhub/cli",
3
- "version": "0.118.0",
3
+ "version": "0.120.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "The wh CLI for WarmHub — create repos, commit and query data, and compound knowledge with your AI agents.",