promptkit-os 2.0.1 → 2.2.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.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Jonell (lowqualityloey)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # `promptkit-os` (npm)
2
2
 
3
- The open-source engineering control plane for AI coding agents (Claude Code, Cursor, Copilot, Antigravity, Gemini CLI) — managing task ceremony levels (L0–L3), context economy, JIT stack playbooks, and evidence-gated verification.
3
+ The open-source engineering control plane for AI coding agents (Claude Code, Cursor, Windsurf, GitHub Copilot, Cline/Roo Code, Trae, OpenCode, Aider, Gemini CLI/Antigravity) — managing task ceremony levels (L0–L3), context economy, JIT stack playbooks, and evidence-gated verification.
4
4
 
5
5
  > **Note**: This npm package is the **courier**, not the product. PromptKit OS itself is pure repository-native markdown with no runtime, no daemon, and no model lock-in — it lives at [lowqualityloey/promptkit-os](https://github.com/lowqualityloey/promptkit-os).
6
6
 
@@ -16,9 +16,11 @@ npx promptkit-os@latest --turbo --experimental
16
16
  npx promptkit-os@latest /path/to/project
17
17
  ```
18
18
 
19
- Pass-through flags: `--lite`, `--balanced`, `--turbo`, `--experimental`, `--host=`, `--target=`, `--tracking=`, `--reconfigure`.
19
+ Pass-through flags: `--lite`, `--balanced`, `--turbo`, `--experimental`, `--host=`, `--add-host=`, `--target=`, `--tracking=`, `--reconfigure`.
20
20
 
21
- Requires Node 18+ (the courier runs on Node; the installed product does not). On Windows it also requires **PowerShell 7 (`pwsh`)**, which is what `init.ps1` targets — stock Windows PowerShell 5.1 is not supported.
21
+ Requires Node 18+ (the courier runs on Node; the installed product does not) — the courier checks at startup and prints a clear error on older runtimes instead of failing on a missing `fetch`. On Windows it also requires **PowerShell 7 (`pwsh`)**, which is what `init.ps1` targets — stock Windows PowerShell 5.1 is not supported.
22
+
23
+ > The `version` in this repository's `package/package.json` is intentionally `0.0.0`: the release workflow stamps the real version from the git tag and mints the tarball integrity pin at publish time (`docs/internal/release-evaluation.md` §1 records the mechanics). Running the courier from an unstamped checkout refuses with a clear error.
22
24
 
23
25
  ## Updating an existing install
24
26
 
@@ -38,7 +38,7 @@ const KIT_DIR = ".promptkit";
38
38
  const TARBALL_SHA256_BY_VERSION = {
39
39
  "1.10.1": "1e55459914a1c46aa71df8f9cb8ce4c9ff37d1c02d67f70e5607b3bfd4f48d4b",
40
40
  "1.11.0": "6503fdfcde286055b8c053aa0ffa8bdf244cf77df3321cccd6a8d8f780195ade",
41
- "2.0.1": "6f3d667346bbc8cdc42e916fafcbde5dd0e42753398fe528609bf990ea35365b",
41
+ "2.2.0": "fbc1106938e0588a68566dea231a468d1915596746d103ddf19bfd861697475d",
42
42
  // @pin-insert
43
43
  };
44
44
 
@@ -193,6 +193,14 @@ function installerArgs(args, version) {
193
193
  }
194
194
 
195
195
  async function main() {
196
+ const nodeMajor = parseInt(String(process.versions.node).split(".")[0], 10);
197
+ if (nodeMajor < 18 || typeof fetch !== "function") {
198
+ die(
199
+ `Node 18+ is required (found ${process.versions.node}) — the courier uses global fetch.\n` +
200
+ ` upgrade Node, or install via the canonical git submodule path:\n` +
201
+ ` git submodule add https://github.com/${REPO}.git .promptkit && ./.promptkit/init.sh`
202
+ );
203
+ }
196
204
  const version = PKG.version;
197
205
  if (version === "0.0.0") {
198
206
  die(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "promptkit-os",
3
- "version": "2.0.1",
3
+ "version": "2.2.0",
4
4
  "description": "Courier for PromptKit OS: fetches a pinned release tarball and runs the canonical installer. Not a runtime dependency.",
5
5
  "keywords": [
6
6
  "promptkit",
@@ -25,7 +25,8 @@
25
25
  },
26
26
  "files": [
27
27
  "bin/promptkit-os.js",
28
- "README.md"
28
+ "README.md",
29
+ "LICENSE"
29
30
  ],
30
31
  "engines": {
31
32
  "node": ">=18"