@warmhub/cli 0.83.1 → 0.84.1

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 +10 -5
  2. package/package.json +1 -1
package/dist/wh.js CHANGED
@@ -28550,7 +28550,7 @@ function dedupeDeprecationsByShape(results) {
28550
28550
  // ../../packages/sdk-ts/package.json
28551
28551
  var package_default = {
28552
28552
  name: "@warmhub/sdk-ts",
28553
- version: "0.81.1",
28553
+ version: "0.82.1",
28554
28554
  private: false,
28555
28555
  type: "module",
28556
28556
  description: "The TypeScript SDK for WarmHub — create repos, commit and query data, and compound knowledge with your AI agents.",
@@ -31118,6 +31118,7 @@ var TOP_LEVEL_USER_INPUT_CODES = new Set([
31118
31118
  "UNRESOLVED_TOKEN",
31119
31119
  "RESERVED_NAME",
31120
31120
  "ILLEGAL_OP_SEQUENCE",
31121
+ "CURSOR_EPOCH_INVALID",
31121
31122
  "BUILTIN_SHAPE",
31122
31123
  "KIND_MISMATCH"
31123
31124
  ]);
@@ -31416,6 +31417,9 @@ function toCliError(err) {
31416
31417
  return new CliError(4 /* Backend */, "BACKEND", err.message, err, hint);
31417
31418
  }
31418
31419
  if (err instanceof WarmHubError) {
31420
+ if (err.code === "CURSOR_EPOCH_INVALID" || err.errorCode === "CURSOR_EPOCH_INVALID") {
31421
+ return fromWh(2 /* UserInput */, "USER_INPUT", err, err.hint ?? "Cursor was invalidated. Rerun without --cursor to reseed.");
31422
+ }
31419
31423
  if (TOP_LEVEL_USER_INPUT_CODES.has(err.code)) {
31420
31424
  return fromWh(2 /* UserInput */, "USER_INPUT", err);
31421
31425
  }
@@ -31465,6 +31469,7 @@ var OP_USER_INPUT_CODES = new Set([
31465
31469
  "UNRESOLVED_TOKEN",
31466
31470
  "RESERVED_NAME",
31467
31471
  "ILLEGAL_OP_SEQUENCE",
31472
+ "CURSOR_EPOCH_INVALID",
31468
31473
  "KIND_MISMATCH",
31469
31474
  "BUILTIN_SHAPE"
31470
31475
  ]);
@@ -46418,7 +46423,7 @@ var SUB_DOMAIN = defineDomain({
46418
46423
  attempts: {
46419
46424
  status: "live",
46420
46425
  prime: true,
46421
- summary: "Show attempt history for a delivery, including failure snippets",
46426
+ summary: "Show attempt history for a delivery; failure snippets require full-repository read",
46422
46427
  args: "<runId>",
46423
46428
  examples: [
46424
46429
  "# Show attempts for a run",
@@ -49115,7 +49120,7 @@ function resolveLogLevel(flagLevel, env) {
49115
49120
  // package.json
49116
49121
  var package_default3 = {
49117
49122
  name: "@warmhub/cli",
49118
- version: "0.83.1",
49123
+ version: "0.84.1",
49119
49124
  private: false,
49120
49125
  type: "module",
49121
49126
  description: "The wh CLI for WarmHub — create repos, commit and query data, and compound knowledge with your AI agents.",
@@ -49732,5 +49737,5 @@ process.exitCode = interceptedExitCode === undefined ? await runPreparedCli(laun
49732
49737
  version: package_default3.version
49733
49738
  }) : interceptedExitCode;
49734
49739
 
49735
- //# debugId=5895C13E35D627B664756E2164756E21
49736
- //# warmhub-cli-build-info {"cliVersion":"0.83.1","sdkVersion":"0.81.1"}
49740
+ //# debugId=B587D8AFB9F6161C64756E2164756E21
49741
+ //# warmhub-cli-build-info {"cliVersion":"0.84.1","sdkVersion":"0.82.1"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@warmhub/cli",
3
- "version": "0.83.1",
3
+ "version": "0.84.1",
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.",