@warmhub/cli 0.104.1 → 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.
Files changed (2) hide show
  1. package/dist/wh.js +16 -10
  2. package/package.json +1 -1
package/dist/wh.js CHANGED
@@ -44496,7 +44496,7 @@ function createStreamingSubmissionHandle(input, deps) {
44496
44496
  // ../../packages/sdk-ts/package.json
44497
44497
  var package_default = {
44498
44498
  name: "@warmhub/sdk-ts",
44499
- version: "0.102.1",
44499
+ version: "0.104.0",
44500
44500
  private: false,
44501
44501
  type: "module",
44502
44502
  description: "The TypeScript SDK for WarmHub — create repos, commit and query data, and compound knowledge with your AI agents.",
@@ -44880,6 +44880,8 @@ function assertSelectorBackedCollectionType(type, opts) {
44880
44880
  }
44881
44881
  }
44882
44882
  function trpcClientCodeToWarmHubCode(code) {
44883
+ if (code === undefined)
44884
+ return;
44883
44885
  switch (code) {
44884
44886
  case "BAD_REQUEST":
44885
44887
  case "PARSE_ERROR":
@@ -45084,15 +45086,19 @@ class WarmHubClient {
45084
45086
  return observable((observer) => {
45085
45087
  let cancelled = false;
45086
45088
  let downstream;
45087
- this.assertWriteCompatible().then(() => {
45088
- if (cancelled)
45089
+ (async () => {
45090
+ try {
45091
+ await this.assertWriteCompatible();
45092
+ } catch (error51) {
45093
+ if (cancelled)
45094
+ return;
45095
+ observer.error(TRPCClientError.from(error51));
45089
45096
  return;
45090
- downstream = next(op).subscribe(observer);
45091
- }).catch((error51) => {
45097
+ }
45092
45098
  if (cancelled)
45093
45099
  return;
45094
- observer.error(TRPCClientError.from(error51));
45095
- });
45100
+ downstream = next(op).subscribe(observer);
45101
+ })();
45096
45102
  return () => {
45097
45103
  cancelled = true;
45098
45104
  downstream?.unsubscribe();
@@ -68204,7 +68210,7 @@ function resolveLogLevel(flagLevel, env) {
68204
68210
  // package.json
68205
68211
  var package_default3 = {
68206
68212
  name: "@warmhub/cli",
68207
- version: "0.104.1",
68213
+ version: "0.106.0",
68208
68214
  private: false,
68209
68215
  type: "module",
68210
68216
  description: "The wh CLI for WarmHub — create repos, commit and query data, and compound knowledge with your AI agents.",
@@ -68829,5 +68835,5 @@ process.exitCode = interceptedExitCode === undefined ? await runPreparedCli(laun
68829
68835
  version: package_default3.version
68830
68836
  }) : interceptedExitCode;
68831
68837
 
68832
- //# debugId=A5FBBE196D0DAFB864756E2164756E21
68833
- //# warmhub-cli-build-info {"cliVersion":"0.104.1","sdkVersion":"0.102.1"}
68838
+ //# debugId=620D8C59EEC38CC964756E2164756E21
68839
+ //# warmhub-cli-build-info {"cliVersion":"0.106.0","sdkVersion":"0.104.0"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@warmhub/cli",
3
- "version": "0.104.1",
3
+ "version": "0.106.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.",