@keystrokehq/cli 0.0.88 → 0.0.90

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/index.mjs CHANGED
@@ -6462,6 +6462,18 @@ const WorkflowRunTriggerSchema = _enum([
6462
6462
  "poll",
6463
6463
  "retry"
6464
6464
  ]);
6465
+ _enum([
6466
+ "run_started",
6467
+ "step_completed",
6468
+ "step_failed",
6469
+ "step_retrying",
6470
+ "sleep_scheduled",
6471
+ "sleep_completed",
6472
+ "hook_created",
6473
+ "hook_resumed",
6474
+ "run_completed",
6475
+ "run_failed"
6476
+ ]);
6465
6477
  const WorkflowRunSummarySchema = object({
6466
6478
  id: string(),
6467
6479
  status: WorkflowRunStatusSchema,
@@ -11765,7 +11777,7 @@ function registerCredentialsCommand(program) {
11765
11777
  /** OAuth device-flow client id for `keystroke auth login`. */
11766
11778
  const CLI_CLIENT_ID = "keystroke-cli";
11767
11779
  //#endregion
11768
- //#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.18_crossws@0.4.5_srvx@0.11.15__react-dom_cacc57aac1a1693caa70b89e7e1c68be/node_modules/better-auth/dist/version.mjs
11780
+ //#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.20_crossws@0.4.5_srvx@0.11.15__react-dom_b346619fb1e6b75975d0aa0d3d1e104e/node_modules/better-auth/dist/version.mjs
11769
11781
  const PACKAGE_VERSION = "1.6.11";
11770
11782
  //#endregion
11771
11783
  //#region ../../node_modules/.pnpm/better-call@1.3.5_zod@4.4.3/node_modules/better-call/dist/error.mjs
@@ -11890,7 +11902,7 @@ var BetterAuthError = class extends Error {
11890
11902
  }
11891
11903
  };
11892
11904
  //#endregion
11893
- //#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.18_crossws@0.4.5_srvx@0.11.15__react-dom_cacc57aac1a1693caa70b89e7e1c68be/node_modules/better-auth/dist/plugins/device-authorization/client.mjs
11905
+ //#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.20_crossws@0.4.5_srvx@0.11.15__react-dom_b346619fb1e6b75975d0aa0d3d1e104e/node_modules/better-auth/dist/plugins/device-authorization/client.mjs
11894
11906
  const deviceAuthorizationClient = () => {
11895
11907
  return {
11896
11908
  id: "device-authorization",
@@ -12035,7 +12047,7 @@ let onMount = ($store, initialize) => {
12035
12047
  });
12036
12048
  };
12037
12049
  //#endregion
12038
- //#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.18_crossws@0.4.5_srvx@0.11.15__react-dom_cacc57aac1a1693caa70b89e7e1c68be/node_modules/better-auth/dist/client/query.mjs
12050
+ //#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.20_crossws@0.4.5_srvx@0.11.15__react-dom_b346619fb1e6b75975d0aa0d3d1e104e/node_modules/better-auth/dist/client/query.mjs
12039
12051
  const isServer = () => typeof window === "undefined";
12040
12052
  const useAuthQuery = (initializedAtom, path, $fetch, options) => {
12041
12053
  const value = /* @__PURE__ */ atom({
@@ -12129,7 +12141,7 @@ const useAuthQuery = (initializedAtom, path, $fetch, options) => {
12129
12141
  return value;
12130
12142
  };
12131
12143
  //#endregion
12132
- //#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.18_crossws@0.4.5_srvx@0.11.15__react-dom_cacc57aac1a1693caa70b89e7e1c68be/node_modules/better-auth/dist/client/broadcast-channel.mjs
12144
+ //#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.20_crossws@0.4.5_srvx@0.11.15__react-dom_b346619fb1e6b75975d0aa0d3d1e104e/node_modules/better-auth/dist/client/broadcast-channel.mjs
12133
12145
  const kBroadcastChannel = Symbol.for("better-auth:broadcast-channel");
12134
12146
  const now$1 = () => Math.floor(Date.now() / 1e3);
12135
12147
  var WindowBroadcastChannel = class {
@@ -12172,7 +12184,7 @@ function getGlobalBroadcastChannel(name = "better-auth.message") {
12172
12184
  return globalThis[kBroadcastChannel];
12173
12185
  }
12174
12186
  //#endregion
12175
- //#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.18_crossws@0.4.5_srvx@0.11.15__react-dom_cacc57aac1a1693caa70b89e7e1c68be/node_modules/better-auth/dist/client/focus-manager.mjs
12187
+ //#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.20_crossws@0.4.5_srvx@0.11.15__react-dom_b346619fb1e6b75975d0aa0d3d1e104e/node_modules/better-auth/dist/client/focus-manager.mjs
12176
12188
  const kFocusManager = Symbol.for("better-auth:focus-manager");
12177
12189
  var WindowFocusManager = class {
12178
12190
  listeners = /* @__PURE__ */ new Set();
@@ -12201,7 +12213,7 @@ function getGlobalFocusManager() {
12201
12213
  return globalThis[kFocusManager];
12202
12214
  }
12203
12215
  //#endregion
12204
- //#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.18_crossws@0.4.5_srvx@0.11.15__react-dom_cacc57aac1a1693caa70b89e7e1c68be/node_modules/better-auth/dist/client/online-manager.mjs
12216
+ //#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.20_crossws@0.4.5_srvx@0.11.15__react-dom_b346619fb1e6b75975d0aa0d3d1e104e/node_modules/better-auth/dist/client/online-manager.mjs
12205
12217
  const kOnlineManager = Symbol.for("better-auth:online-manager");
12206
12218
  var WindowOnlineManager = class {
12207
12219
  listeners = /* @__PURE__ */ new Set();
@@ -12233,7 +12245,7 @@ function getGlobalOnlineManager() {
12233
12245
  return globalThis[kOnlineManager];
12234
12246
  }
12235
12247
  //#endregion
12236
- //#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.18_crossws@0.4.5_srvx@0.11.15__react-dom_cacc57aac1a1693caa70b89e7e1c68be/node_modules/better-auth/dist/client/parser.mjs
12248
+ //#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.20_crossws@0.4.5_srvx@0.11.15__react-dom_b346619fb1e6b75975d0aa0d3d1e104e/node_modules/better-auth/dist/client/parser.mjs
12237
12249
  const PROTO_POLLUTION_PATTERNS = {
12238
12250
  proto: /"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,
12239
12251
  constructor: /"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,
@@ -12303,7 +12315,7 @@ function parseJSON(value, options = { strict: true }) {
12303
12315
  return betterJSONParse(value, options);
12304
12316
  }
12305
12317
  //#endregion
12306
- //#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.18_crossws@0.4.5_srvx@0.11.15__react-dom_cacc57aac1a1693caa70b89e7e1c68be/node_modules/better-auth/dist/client/session-refresh.mjs
12318
+ //#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.20_crossws@0.4.5_srvx@0.11.15__react-dom_b346619fb1e6b75975d0aa0d3d1e104e/node_modules/better-auth/dist/client/session-refresh.mjs
12307
12319
  const now = () => Math.floor(Date.now() / 1e3);
12308
12320
  /**
12309
12321
  * Normalize $fetch response: `throw: true` returns data directly, otherwise `{ data, error }`.
@@ -12501,7 +12513,7 @@ Object.freeze({
12501
12513
  }
12502
12514
  });
12503
12515
  //#endregion
12504
- //#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.18_crossws@0.4.5_srvx@0.11.15__react-dom_cacc57aac1a1693caa70b89e7e1c68be/node_modules/better-auth/dist/utils/url.mjs
12516
+ //#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.20_crossws@0.4.5_srvx@0.11.15__react-dom_b346619fb1e6b75975d0aa0d3d1e104e/node_modules/better-auth/dist/utils/url.mjs
12505
12517
  function checkHasPath(url) {
12506
12518
  try {
12507
12519
  return (new URL(url).pathname.replace(/\/+$/, "") || "/") !== "/";
@@ -12573,7 +12585,7 @@ function getOrigin(url) {
12573
12585
  }
12574
12586
  }
12575
12587
  //#endregion
12576
- //#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.18_crossws@0.4.5_srvx@0.11.15__react-dom_cacc57aac1a1693caa70b89e7e1c68be/node_modules/better-auth/dist/client/fetch-plugins.mjs
12588
+ //#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.20_crossws@0.4.5_srvx@0.11.15__react-dom_b346619fb1e6b75975d0aa0d3d1e104e/node_modules/better-auth/dist/client/fetch-plugins.mjs
12577
12589
  const redirectPlugin = {
12578
12590
  id: "redirect",
12579
12591
  name: "Redirect",
@@ -12588,7 +12600,7 @@ const redirectPlugin = {
12588
12600
  } }
12589
12601
  };
12590
12602
  //#endregion
12591
- //#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.18_crossws@0.4.5_srvx@0.11.15__react-dom_cacc57aac1a1693caa70b89e7e1c68be/node_modules/better-auth/dist/client/session-atom.mjs
12603
+ //#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.20_crossws@0.4.5_srvx@0.11.15__react-dom_b346619fb1e6b75975d0aa0d3d1e104e/node_modules/better-auth/dist/client/session-atom.mjs
12592
12604
  function getSessionAtom($fetch, options) {
12593
12605
  const $signal = /* @__PURE__ */ atom(false);
12594
12606
  const session = useAuthQuery($signal, "/get-session", $fetch, { method: "GET" });
@@ -13075,7 +13087,7 @@ var betterFetch = async (url, options) => {
13075
13087
  };
13076
13088
  };
13077
13089
  //#endregion
13078
- //#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.18_crossws@0.4.5_srvx@0.11.15__react-dom_cacc57aac1a1693caa70b89e7e1c68be/node_modules/better-auth/dist/client/config.mjs
13090
+ //#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.20_crossws@0.4.5_srvx@0.11.15__react-dom_b346619fb1e6b75975d0aa0d3d1e104e/node_modules/better-auth/dist/client/config.mjs
13079
13091
  const resolvePublicAuthUrl = (basePath) => {
13080
13092
  if (typeof process === "undefined") return void 0;
13081
13093
  const path = basePath ?? "/api/auth";
@@ -13173,12 +13185,12 @@ const getClientConfig = (options, loadEnv) => {
13173
13185
  };
13174
13186
  };
13175
13187
  //#endregion
13176
- //#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.18_crossws@0.4.5_srvx@0.11.15__react-dom_cacc57aac1a1693caa70b89e7e1c68be/node_modules/better-auth/dist/utils/is-atom.mjs
13188
+ //#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.20_crossws@0.4.5_srvx@0.11.15__react-dom_b346619fb1e6b75975d0aa0d3d1e104e/node_modules/better-auth/dist/utils/is-atom.mjs
13177
13189
  function isAtom(value) {
13178
13190
  return typeof value === "object" && value !== null && "get" in value && typeof value.get === "function" && "lc" in value && typeof value.lc === "number";
13179
13191
  }
13180
13192
  //#endregion
13181
- //#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.18_crossws@0.4.5_srvx@0.11.15__react-dom_cacc57aac1a1693caa70b89e7e1c68be/node_modules/better-auth/dist/client/proxy.mjs
13193
+ //#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.20_crossws@0.4.5_srvx@0.11.15__react-dom_b346619fb1e6b75975d0aa0d3d1e104e/node_modules/better-auth/dist/client/proxy.mjs
13182
13194
  function getMethod(path, knownPathMethods, args) {
13183
13195
  const method = knownPathMethods[path];
13184
13196
  const { fetchOptions, query: _query, ...body } = args || {};
@@ -13258,7 +13270,7 @@ function capitalizeFirstLetter(str) {
13258
13270
  return str.charAt(0).toUpperCase() + str.slice(1);
13259
13271
  }
13260
13272
  //#endregion
13261
- //#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.18_crossws@0.4.5_srvx@0.11.15__react-dom_cacc57aac1a1693caa70b89e7e1c68be/node_modules/better-auth/dist/client/vanilla.mjs
13273
+ //#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.20_crossws@0.4.5_srvx@0.11.15__react-dom_b346619fb1e6b75975d0aa0d3d1e104e/node_modules/better-auth/dist/client/vanilla.mjs
13262
13274
  function createAuthClient(options) {
13263
13275
  const { pluginPathMethods, pluginsActions, pluginsAtoms, $fetch, atomListeners, $store } = getClientConfig(options);
13264
13276
  const resolvedHooks = {};