@warmhub/cli 0.113.2 → 0.114.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 +5 -8
  2. package/package.json +1 -1
package/dist/wh.js CHANGED
@@ -45251,7 +45251,7 @@ function createStreamingSubmissionHandle(input, deps) {
45251
45251
  // ../../packages/sdk-ts/package.json
45252
45252
  var package_default = {
45253
45253
  name: "@warmhub/sdk-ts",
45254
- version: "0.111.2",
45254
+ version: "0.112.0",
45255
45255
  private: false,
45256
45256
  type: "module",
45257
45257
  description: "The TypeScript SDK for WarmHub — create repos, commit and query data, and compound knowledge with your AI agents.",
@@ -66151,9 +66151,6 @@ var handleUpdate4 = async (ctx, { flags, args }) => {
66151
66151
  const scope = resolveSubScope(ctx, flags, example);
66152
66152
  const scopeArg = scope.repoName ? `--repo ${scopeLabel(scope)}` : `--org ${scope.orgName}`;
66153
66153
  const existing = await ctx.client.subscription.get({ ...scope, name });
66154
- if (existing.kind !== "webhook") {
66155
- throw new CliError(2 /* UserInput */, "USER_INPUT", `Subscription "${name}" has kind "${existing.kind}", which is no longer supported and cannot be updated`, undefined, `Delete it with: wh sub delete ${name} ${scopeArg}`);
66156
- }
66157
66154
  if (flags.kind && flags.kind !== existing.kind) {
66158
66155
  usageError(usage, example);
66159
66156
  }
@@ -66285,7 +66282,7 @@ function renderSubscriptionLog(out, statusOut, c, subscriptionName, result) {
66285
66282
  const displayStatus = item.runStatus ?? item.status;
66286
66283
  const status = `${statusColor(c, displayStatus)}${displayStatus}${c.reset}`;
66287
66284
  const time3 = formatTime(item.createdAt, now);
66288
- const sourceLabel = (item.matchedOperationIndexes?.length ?? 0) > 0 ? `${c.cyan}write${c.reset}` : `${c.magenta}cron tick${c.reset}`;
66285
+ const sourceLabel = (item.matchedOperationIndexes?.length ?? 0) > 0 ? `${c.cyan}write${c.reset}` : `${c.magenta}event${c.reset}`;
66289
66286
  const matched = (item.matchedOperationIndexes ?? []).join(",") || "-";
66290
66287
  const attemptSuffix = item.attemptCount != null && item.maxAttempts != null ? ` ${c.dim}${item.attemptCount}/${item.maxAttempts}${c.reset}` : "";
66291
66288
  const idSuffix = item.runId ? ` ${c.dim}run ${item.runId}${c.reset}` : item.deliveryId ? ` ${c.dim}delivery ${item.deliveryId}${c.reset}` : "";
@@ -69327,7 +69324,7 @@ function resolveLogLevel(flagLevel, env) {
69327
69324
  // package.json
69328
69325
  var package_default3 = {
69329
69326
  name: "@warmhub/cli",
69330
- version: "0.113.2",
69327
+ version: "0.114.0",
69331
69328
  private: false,
69332
69329
  type: "module",
69333
69330
  description: "The wh CLI for WarmHub — create repos, commit and query data, and compound knowledge with your AI agents.",
@@ -69952,5 +69949,5 @@ process.exitCode = interceptedExitCode === undefined ? await runPreparedCli(laun
69952
69949
  version: package_default3.version
69953
69950
  }) : interceptedExitCode;
69954
69951
 
69955
- //# debugId=A31A5F9F2B008CE564756E2164756E21
69956
- //# warmhub-cli-build-info {"cliVersion":"0.113.2","sdkVersion":"0.111.2"}
69952
+ //# debugId=950709705720CAFC64756E2164756E21
69953
+ //# warmhub-cli-build-info {"cliVersion":"0.114.0","sdkVersion":"0.112.0"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@warmhub/cli",
3
- "version": "0.113.2",
3
+ "version": "0.114.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.",