@keystrokehq/cli 0.1.84 → 0.1.86

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
@@ -6662,8 +6662,6 @@ function registerAuthCommand(program) {
6662
6662
  registerAuthLogoutCommand(auth);
6663
6663
  registerAuthStatusCommand(auth);
6664
6664
  }
6665
- //#endregion
6666
- //#region src/update/ensure-sdk-current.ts
6667
6665
  const KEYSTROKE_SCOPE = "@keystrokehq/";
6668
6666
  const REGISTRY_TIMEOUT_MS = 3e3;
6669
6667
  function shouldSkip() {
@@ -6691,7 +6689,10 @@ function listManagedKeystrokePackages(root) {
6691
6689
  for (const [name, spec] of Object.entries({
6692
6690
  ...pkg.dependencies,
6693
6691
  ...pkg.devDependencies
6694
- })) if (name.startsWith(KEYSTROKE_SCOPE) && !isLocalSdkSpec(spec)) packages.push({ name });
6692
+ })) {
6693
+ if (name === "@keystrokehq/cli") continue;
6694
+ if (name.startsWith(KEYSTROKE_SCOPE) && !isLocalSdkSpec(spec)) packages.push({ name });
6695
+ }
6695
6696
  return packages;
6696
6697
  }
6697
6698
  function readInstalledVersion(root, packageName) {
@@ -6741,7 +6742,7 @@ async function packagesNeedingUpdate(root, packages) {
6741
6742
  }
6742
6743
  /**
6743
6744
  * Require @keystrokehq/* project dependencies to be on latest before build/deploy.
6744
- * Checks the registry concurrently; throws instead of auto-installing (safe for CI).
6745
+ * Skips `@keystrokehq/cli` (global + self-updating). Throws instead of auto-installing.
6745
6746
  */
6746
6747
  async function ensureSdkCurrent(root) {
6747
6748
  if (shouldSkip()) return;
@@ -7438,7 +7439,6 @@ function buildPlaygroundPackageJson(projectName, targetDir, monorepoRoot) {
7438
7439
  zod: "latest"
7439
7440
  },
7440
7441
  devDependencies: {
7441
- "@keystrokehq/cli": linkSpec(targetDir, join(monorepoRoot, "apps/cli")),
7442
7442
  "@types/node": "latest",
7443
7443
  typescript: "latest",
7444
7444
  vitest: "latest"