@newlandnpt/pep-cli 0.3.0 → 0.3.1

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
@@ -72,11 +72,16 @@ The issuer is fixed at build time:
72
72
  `--issuer` remains available only as a temporary override — it is **not** remembered, so every
73
73
  `auth login` needs it again. That is why the built-in default decides where most users land.
74
74
 
75
- ⚠ **The npm release is built from `view`** (see `prepublishOnly`). As of 2026-09-08
76
- `https://pep.newlandnpt.us/.well-known/openid-configuration` returns **404** — the production
77
- domain does not serve the authorization server yet, so a `production` build would fail at
78
- discovery on the user's very first `auth login`. Switch `prepublishOnly` back to `production`
79
- once that endpoint is live.
75
+ ⚠ **The npm release is currently built from `development`** — it ships
76
+ `https://pep-webapp-dev.onrender.com` (see `prepack` in `package.json`). This is a deliberate
77
+ temporary state: production is not going live in the near term and this build is for other
78
+ departments to use now.
79
+
80
+ `https://pep.newlandnpt.us/.well-known/openid-configuration` still returns **404** (last checked
81
+ 2026-09-09) — the production domain does not serve the authorization server yet, so a
82
+ `production` build fails at discovery on the user's very first `auth login`. **Switch `prepack`
83
+ back to `production` and publish immediately once that endpoint is live**: the issuer is baked in
84
+ at build time, so releases already out in the wild cannot be repointed.
80
85
 
81
86
  `pep auth token` writes only the access token to stdout, so agents can use it without parsing status
82
87
  text. Refresh occurs automatically shortly before expiry and the rotated refresh token replaces the old
package/dist/pep.cjs CHANGED
@@ -27,7 +27,7 @@ function issuerForEnvironment(environment) {
27
27
  if (environment === "view") return "https://pep-webapp-view.onrender.com";
28
28
  return "https://pep-webapp-dev.onrender.com";
29
29
  }
30
- var BUILD_ENVIRONMENT = false ? "development" : "production";
30
+ var BUILD_ENVIRONMENT = false ? "development" : "development";
31
31
  var DEFAULT_ISSUER = issuerForEnvironment(BUILD_ENVIRONMENT);
32
32
  function configuredIssuer(explicitIssuer) {
33
33
  return explicitIssuer ?? DEFAULT_ISSUER;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newlandnpt/pep-cli",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "PEP CLI —— 凭 PEP 身份读取 Newland 开发者文档与 agent skills",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -28,7 +28,7 @@
28
28
  "build:installer": "node scripts/build-installer.mjs production",
29
29
  "build:installer:dev": "node scripts/build-installer.mjs development",
30
30
  "build:installer:prod": "node scripts/build-installer.mjs production",
31
- "prepack": "node scripts/build-js.mjs production",
31
+ "prepack": "node scripts/build-js.mjs development",
32
32
  "build:exe:view": "node scripts/build-exe.mjs view",
33
33
  "build:installer:view": "node scripts/build-installer.mjs view"
34
34
  },