Skip to content

Commit 2d7c371

Browse files
committed
docs: align V92 and README to npmjs public as canonical channel
Switch optimization-control needles and README install narrative from GitHub Packages-first to npmjs public (package name devcodex). Refresh portfolio consumer digests after inventory drift.
1 parent 7084db9 commit 2d7c371

3 files changed

Lines changed: 14 additions & 22 deletions

File tree

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ DevCodex 通过 npm 全局安装把 Copilot、Claude Code、Codex、Gemini CLI
114114

115115
| 通道 | 当前状态 | 用途 |
116116
|---|---|---|
117-
| npmjs | 待发布 v1.15.3 | 新 canonical 发布通道;发布后可直接安装 |
118-
| GitHub Packages | 历史包 `@devcodex-labs/devcodex@1.15.3` | 组织改名后转移的历史兼容包;不作为新安装主路径 |
117+
| npmjs public | v1.15.3 | 默认公开安装通道;发布后可直接 `npm install -g devcodex` |
118+
| GitHub Packages | 历史/镜像通道 `@devcodex-labs/devcodex@1.15.3` | 组织改名后转移的历史兼容包;不作为新安装主路径 |
119119

120120
1. 确认 CLI 运行时(文档站维护另需 Node `^20.19.0 || >=22.12.0`):
121121

@@ -726,7 +726,7 @@ DevCodex Hook runtime 不再把所有拦截都等同为“停止”。拦截会
726726

727727
DevCodex 的 `plugin.json` 声明 `tier: "free"`,所有 Skill 均标注 `tier: "free"`。这些 tier 字段是**面向未来的 prompt-level 声明**(供 `token-check` Skill 在 Agent 侧做软门控),**CLI 不做任何授权校验**:
728728

729-
- CLI 本身不做额外 license/tier 授权校验;当前 v1.15.3 通过 GitHub Packages 分发,registry 读取认证仍按平台规则执行
729+
- CLI 本身不做额外 license/tier 授权校验;当前 v1.15.3 候选以 npmjs public 通道为 canonical,GitHub Packages 历史包仅作兼容说明,registry 读取认证仍按平台规则执行
730730
- 未来接入服务端 token 校验时,tier 字段才会生效
731731
- 当前阶段 tier 仅作为规划信息,不影响功能使用
732732

‎scripts/lib/validate-optimization-controls.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ function buildOptimizationControlChecks(ctx) {
5050
required.forEach(requireFile)
5151

5252
const pkg = JSON.parse(read(path.join(ROOT, 'package.json')))
53-
if (pkg.publishConfig?.registry !== 'https://npm.pkg.github.com/' || pkg.publishConfig?.access !== 'restricted') {
54-
err('[V92] GitHub Packages publishConfig candidate is not canonical')
53+
if (pkg.name !== 'devcodex' || pkg.publishConfig?.registry !== 'https://registry.npmjs.org/' || pkg.publishConfig?.access !== 'public') {
54+
err('[V92] npmjs public publishConfig candidate is not canonical')
5555
}
5656
for (const script of [
5757
'test:optimization-controls',
@@ -188,7 +188,7 @@ function buildOptimizationControlChecks(ctx) {
188188
}
189189

190190
const readme = read(path.join(ROOT, 'README.md'))
191-
for (const needle of ['5 分钟快速开始', 'GitHub Packages', 'npm.pkg.github.com', 'NODE_AUTH_TOKEN', 'read:packages', '当前唯一发布通道', '1.0.1']) {
191+
for (const needle of ['5 分钟快速开始', 'npmjs', 'npm install -g devcodex', 'GitHub Packages', '历史包', '1.0.1']) {
192192
if (!readme.includes(needle)) err(`[V92] README product path missing: ${needle}`)
193193
}
194194
console.log(`[V92] optimization controls checked: skills=85 gray=3 runtimeAlerts=${runtimeState.summary.alertCount}`)

‎skills/portfolio.json‎

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
"portfolioEvidenceDigest": "8364a73c66ed2ec9787cdb9300223278d128a45b689a2b8deda0d1f03189f42b",
1414
"consumerInventoryFileCount": 620,
1515
"consumerInventoryDigest": "d748fc41bcd843d46b95524dd0ba2e8933af231236807ce64fb5021b7ff4152f",
16-
"consumerProjectionDigest": "8ce5881ebf4c00bb71ad3f2206933dcfe5ad851634aa4455aa1940e41b53dda2",
17-
"portfolioInputDigest": "7d60e848605d95130340019daf55059384512b321dfedff1f9fe69c659a5543c"
16+
"consumerProjectionDigest": "9df0fdb4c40d83b3111f57aa715bd47965a6424fa0582e15163d2575af2e19bd",
17+
"portfolioInputDigest": "37f24ee81f10afe16e78268f48ac0e8e980d914361429db68e53303929c0b67d"
1818
},
1919
"ordering": "skills.id asc; graph edges from/to asc",
2020
"summary": {
@@ -12121,6 +12121,10 @@
1212112121
"path": "scripts/test-execution-chain-evolution.js",
1212212122
"role": "current"
1212312123
},
12124+
{
12125+
"path": "scripts/test-global-host-config.js",
12126+
"role": "current"
12127+
},
1212412128
{
1212512129
"path": "scripts/test-governance-intake.js",
1212612130
"role": "current"
@@ -12315,6 +12319,7 @@
1231512319
"scripts/test-context-read-contract.js",
1231612320
"scripts/test-docs-audience-intent.js",
1231712321
"scripts/test-execution-chain-evolution.js",
12322+
"scripts/test-global-host-config.js",
1231812323
"scripts/test-governance-intake.js",
1231912324
"scripts/test-host-capability-routing.js",
1232012325
"scripts/test-host-parity-scorecard.js",
@@ -12404,6 +12409,7 @@
1240412409
"scripts/test-context-read-contract.js",
1240512410
"scripts/test-docs-audience-intent.js",
1240612411
"scripts/test-execution-chain-evolution.js",
12412+
"scripts/test-global-host-config.js",
1240712413
"scripts/test-governance-intake.js",
1240812414
"scripts/test-host-capability-routing.js",
1240912415
"scripts/test-host-parity-scorecard.js",
@@ -20890,10 +20896,6 @@
2089020896
"path": "host-projections/copilot-instructions.md",
2089120897
"role": "current"
2089220898
},
20893-
{
20894-
"path": "index.js",
20895-
"role": "current"
20896-
},
2089720899
{
2089820900
"path": "instructions.md",
2089920901
"role": "current"
@@ -21010,10 +21012,6 @@
2101021012
"path": "scripts/lib/external-review-claim-verification.js",
2101121013
"role": "current"
2101221014
},
21013-
{
21014-
"path": "scripts/lib/global-host-config.js",
21015-
"role": "current"
21016-
},
2101721015
{
2101821016
"path": "scripts/lib/governance-status-summary.js",
2101921017
"role": "current"
@@ -21138,10 +21136,6 @@
2113821136
"path": "scripts/test-host-capability-routing.js",
2113921137
"role": "current"
2114021138
},
21141-
{
21142-
"path": "scripts/test-host-installation.js",
21143-
"role": "current"
21144-
},
2114521139
{
2114621140
"path": "scripts/test-mcp-servers.js",
2114721141
"role": "current"
@@ -21358,7 +21352,6 @@
2135821352
"scripts/test-governance-status-summary.js",
2135921353
"scripts/test-hooks-runtime.js",
2136021354
"scripts/test-host-capability-routing.js",
21361-
"scripts/test-host-installation.js",
2136221355
"scripts/test-mcp-servers.js",
2136321356
"scripts/test-memory-index.js",
2136421357
"scripts/test-migrate-layout.js",
@@ -21425,7 +21418,6 @@
2142521418
"scripts/test-governance-status-summary.js",
2142621419
"scripts/test-hooks-runtime.js",
2142721420
"scripts/test-host-capability-routing.js",
21428-
"scripts/test-host-installation.js",
2142921421
"scripts/test-mcp-servers.js",
2143021422
"scripts/test-memory-index.js",
2143121423
"scripts/test-migrate-layout.js",

0 commit comments

Comments
 (0)