@qpfai/pf-gate-cli 1.0.8 → 1.0.10

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/README.md CHANGED
@@ -13,14 +13,14 @@ npm i -g @qpfai/pf-gate-cli
13
13
  Open the PF Gate terminal UX:
14
14
 
15
15
  ```bash
16
- PF Gate
16
+ pf gate
17
17
  ```
18
18
 
19
19
  Run direct CLI commands:
20
20
 
21
21
  ```bash
22
- PF --version
23
- PF gate --selftest
22
+ pf --version
23
+ pf gate --selftest
24
24
  ```
25
25
 
26
26
  On first run, the launcher creates `~/.pf-gate/runtime/.venv` and installs PF Gate.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "generatedAt": "2026-02-16T21:39:31.761Z",
3
+ "generatedAt": "2026-02-16T21:46:58.234Z",
4
4
  "pythonPackage": "persons-field",
5
5
  "pythonPackageVersion": "1.0.0",
6
6
  "wheel": "persons_field-1.0.0-py3-none-any.whl",
7
- "sha256": "e1c6c3972668c2b095b1fc32bad95c95607b5734794b086b42a6d7d53de5847c"
7
+ "sha256": "c5ff4e1e222ae3eb753b794d856736fa7b4e3285d19eca04b365686e57513b48"
8
8
  }
package/lib/main.mjs CHANGED
@@ -525,8 +525,13 @@ export async function runCli(args) {
525
525
  const runtimeRoot = ensureRuntimeInstalled(metadata.version);
526
526
  const pythonPath = runtimePythonPath(runtimeRoot);
527
527
  const resolvedArgs = args.length === 0 ? ["Gate"] : args;
528
+ const childEnv = {
529
+ ...process.env,
530
+ PF_GATE_CLI_VERSION: metadata.version,
531
+ };
528
532
  const child = spawnSync(pythonPath, runtimeLauncherArgs(resolvedArgs), {
529
533
  stdio: "inherit",
534
+ env: childEnv,
530
535
  });
531
536
  if (child.error) {
532
537
  throw child.error;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@qpfai/pf-gate-cli",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "PF Gate terminal launcher with first-run runtime bootstrap.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "bin": {
8
- "PF": "bin/pf.mjs",
8
+ "pf": "bin/pf.mjs",
9
9
  "pf-gate": "bin/pf.mjs"
10
10
  },
11
11
  "files": [