@promptscript/cli 1.0.0-alpha.8 → 1.0.0-alpha.9

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/CHANGELOG.md CHANGED
@@ -5,6 +5,24 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.0.0-alpha.9](https://github.com/mrwogu/promptscript/compare/v1.0.0-alpha.8...v1.0.0-alpha.9) (2026-01-30)
9
+
10
+
11
+ ### chore
12
+
13
+ * prepare alpha release ([ce96d95](https://github.com/mrwogu/promptscript/commit/ce96d954ae0a015689dda443effc7e80ce80dec5))
14
+
15
+
16
+ ### Features
17
+
18
+ * **docs:** add interactive terminal demos to homepage and getting started ([b2f781b](https://github.com/mrwogu/promptscript/commit/b2f781b45d57862026e5c8ab8cb4525ccacbbd15))
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+ * **cli:** correct version detection in bundled package ([28c15a2](https://github.com/mrwogu/promptscript/commit/28c15a2622c92e99051854868a45825cbedf80cc))
24
+ * **cli:** use universal migration hint instead of Claude Code specific ([ff2e731](https://github.com/mrwogu/promptscript/commit/ff2e731371840b95ed2378755ff431399903c3c2))
25
+
8
26
  ## [1.0.0-alpha.8](https://github.com/mrwogu/promptscript/compare/v1.0.0-alpha.7...v1.0.0-alpha.8) (2026-01-30)
9
27
 
10
28
 
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @promptscript/cli
2
2
 
3
- > Part of the [PromptScript](https://github.com/mrwogu/promptscript) ecosystem - The Infrastructure-as-Code for AI Context.
3
+ > Part of the [PromptScript](https://github.com/mrwogu/promptscript) ecosystem - The Prompt-as-Code for AI Instructions.
4
4
 
5
5
  Command-line interface for PromptScript. Compile, validate, and manage AI instructions at enterprise scale.
6
6
 
package/index.js CHANGED
@@ -756,8 +756,8 @@ function formatMigrationHint(detection) {
756
756
  }
757
757
  lines.push("");
758
758
  lines.push(" These can be migrated to PromptScript for unified management.");
759
+ lines.push(" Run: prs init --migrate");
759
760
  lines.push(" See: https://getpromptscript.dev/latest/guides/ai-migration-best-practices");
760
- lines.push(" Or use the /migrate skill in Claude Code.");
761
761
  return lines;
762
762
  }
763
763
 
@@ -17755,9 +17755,6 @@ var GitRegistry = class {
17755
17755
  await git.clone(cloneUrl, targetPath, ["--depth=1", `--branch=${ref}`, "--single-branch"]);
17756
17756
  } catch (err) {
17757
17757
  const error = err;
17758
- if (this.isAuthError(error)) {
17759
- throw new GitAuthError(`Authentication failed for ${this.url}`, this.url, error);
17760
- }
17761
17758
  if (this.isRefError(error)) {
17762
17759
  try {
17763
17760
  await git.clone(cloneUrl, targetPath, ["--depth=1"]);
@@ -17777,6 +17774,9 @@ var GitRegistry = class {
17777
17774
  }
17778
17775
  return;
17779
17776
  }
17777
+ if (this.isAuthError(error)) {
17778
+ throw new GitAuthError(`Authentication failed for ${this.url}`, this.url, error);
17779
+ }
17780
17780
  throw new GitCloneError(`Failed to clone repository: ${error.message}`, this.url, error);
17781
17781
  }
17782
17782
  }
@@ -19912,7 +19912,7 @@ function printUpdateNotification(info) {
19912
19912
  var __filename2 = fileURLToPath2(import.meta.url);
19913
19913
  var __dirname2 = dirname8(__filename2);
19914
19914
  async function updateCheckCommand() {
19915
- const currentVersion = getPackageVersion(__dirname2, "../../package.json");
19915
+ const currentVersion = getPackageVersion(__dirname3, "./package.json");
19916
19916
  console.log(`@promptscript/cli v${currentVersion}`);
19917
19917
  const { info, error } = await forceCheckForUpdates(currentVersion);
19918
19918
  if (error) {
@@ -19933,7 +19933,7 @@ async function updateCheckCommand() {
19933
19933
  var __filename3 = fileURLToPath3(import.meta.url);
19934
19934
  var __dirname3 = dirname9(__filename3);
19935
19935
  var program = new Command();
19936
- program.name("prs").description("PromptScript CLI - Standardize AI instructions").version(getPackageVersion(__dirname3, "../package.json")).option("--verbose", "Enable verbose output").option("--debug", "Enable debug output (includes verbose)").option("--quiet", "Suppress non-error output").hook("preAction", async (thisCommand, actionCommand) => {
19936
+ program.name("prs").description("PromptScript CLI - Standardize AI instructions").version(getPackageVersion(__dirname3, "./package.json")).option("--verbose", "Enable verbose output").option("--debug", "Enable debug output (includes verbose)").option("--quiet", "Suppress non-error output").hook("preAction", async (thisCommand, actionCommand) => {
19937
19937
  const opts = thisCommand.opts();
19938
19938
  if (opts["quiet"]) {
19939
19939
  setContext({ logLevel: 0 /* Quiet */ });
@@ -19950,7 +19950,7 @@ program.name("prs").description("PromptScript CLI - Standardize AI instructions"
19950
19950
  if (actionCommand.name() === "update-check") {
19951
19951
  return;
19952
19952
  }
19953
- const currentVersion = getPackageVersion(__dirname3, "../package.json");
19953
+ const currentVersion = getPackageVersion(__dirname3, "./package.json");
19954
19954
  const updateInfo = await checkForUpdates(currentVersion);
19955
19955
  if (updateInfo) {
19956
19956
  printUpdateNotification(updateInfo);
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@promptscript/cli",
3
- "version": "1.0.0-alpha.8",
3
+ "version": "1.0.0-alpha.9",
4
4
  "description": "CLI for PromptScript - standardize AI instructions across GitHub Copilot, Claude, Cursor and other AI tools",
5
5
  "keywords": [
6
6
  "cli",
7
7
  "enterprise",
8
8
  "typescript",
9
9
  "devtools",
10
- "infrastructure-as-code",
10
+ "prompt-as-code",
11
11
  "cursor",
12
12
  "developer-experience",
13
13
  "governance",