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

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,25 @@ 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.8](https://github.com/mrwogu/promptscript/compare/v1.0.0-alpha.7...v1.0.0-alpha.8) (2026-01-30)
9
+
10
+
11
+ ### chore
12
+
13
+ * prepare alpha release ([7b1fe19](https://github.com/mrwogu/promptscript/commit/7b1fe197b1ddc9b0fec87c407f557fbaa67113fd))
14
+
15
+ ## [1.0.0-alpha.7](https://github.com/mrwogu/promptscript/compare/v1.0.0-alpha.6...v1.0.0-alpha.7) (2026-01-28)
16
+
17
+
18
+ ### chore
19
+
20
+ * prepare alpha release ([9f2f1ed](https://github.com/mrwogu/promptscript/commit/9f2f1ed61923048312206118ff1e0a10679f9899))
21
+
22
+
23
+ ### Features
24
+
25
+ * **cli:** add registry manifest support for init command ([790ae31](https://github.com/mrwogu/promptscript/commit/790ae312bfef2cb80a74feb6ccbb334f15a3985b))
26
+
8
27
  ## [1.0.0-alpha.6](https://github.com/mrwogu/promptscript/compare/v1.0.0-alpha.5...v1.0.0-alpha.6) (2026-01-28)
9
28
 
10
29
 
package/README.md CHANGED
@@ -114,6 +114,42 @@ Options:
114
114
 
115
115
  By default, diff output is shown through a pager (`less`) for easy scrolling. Use `--no-pager` to disable this behavior. You can customize the pager via the `PAGER` environment variable.
116
116
 
117
+ ### Check for Updates
118
+
119
+ ```bash
120
+ prs update-check
121
+ ```
122
+
123
+ Checks if a newer version of the CLI is available on npm and displays the result:
124
+
125
+ ```
126
+ @promptscript/cli v1.0.0
127
+ ✓ Up to date
128
+ ```
129
+
130
+ Or if an update is available:
131
+
132
+ ```
133
+ @promptscript/cli v1.0.0
134
+ Update available: 1.0.0 → 1.1.0 (npm i -g @promptscript/cli)
135
+ ```
136
+
137
+ **Automatic Update Checks:** The CLI automatically checks for updates once every 24 hours when running any command. The check is non-blocking and cached locally. To disable automatic checks, set the `PROMPTSCRIPT_NO_UPDATE_CHECK` environment variable:
138
+
139
+ ```bash
140
+ PROMPTSCRIPT_NO_UPDATE_CHECK=1 prs compile
141
+ ```
142
+
143
+ ## Environment Variables
144
+
145
+ | Variable | Description |
146
+ | ------------------------------ | ---------------------------------------------- |
147
+ | `PROMPTSCRIPT_NO_UPDATE_CHECK` | Set to `1` to disable automatic update checks |
148
+ | `PROMPTSCRIPT_VERBOSE` | Set to `1` to enable verbose output |
149
+ | `PROMPTSCRIPT_DEBUG` | Set to `1` to enable debug output |
150
+ | `PAGER` | Custom pager for diff output (default: `less`) |
151
+ | `NO_COLOR` | Set to disable colored output |
152
+
117
153
  ## Configuration
118
154
 
119
155
  Create a `promptscript.yaml` file: