universal-dev-standards 5.7.2 → 5.7.3

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.
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  source: ../../CHANGELOG.md
3
- source_version: 5.7.2
4
- translation_version: 5.7.2
3
+ source_version: 5.7.3
4
+ translation_version: 5.7.3
5
5
  last_synced: 2026-05-08
6
6
  status: current
7
7
  ---
@@ -17,6 +17,11 @@ status: current
17
17
 
18
18
  ## [Unreleased]
19
19
 
20
+ ## [5.7.3] - 2026-05-08
21
+
22
+ ### 修复
23
+ - **`uds update` 跳过无效 ID**(`cli/src/commands/update.js`):display、copy、hash 重算、post-update integrity check 四个循环,现在会跳过 `manifest.standards` 中无法解析的 short ID(没有 `/` 或 `.` 且 registry 无对应 entry,例如残留的 AI 工具名称 `claude-code`、`opencode`)。修复前,这类条目会在 `uds update` 中触发无意义的"缺失文件"警告与失败的还原尝试。
24
+
20
25
  ## [5.7.1] - 2026-05-08
21
26
 
22
27
  ### 修复
@@ -14,7 +14,7 @@ status: current
14
14
 
15
15
  > **语言**: [English](../../README.md) | [繁體中文](../zh-TW/README.md) | 简体中文
16
16
 
17
- **版本**: 5.7.2 | **发布日期**: 2026-04-13 | **授权**: [双重授权](../../LICENSE) (CC BY 4.0 + MIT)
17
+ **版本**: 5.7.3 | **发布日期**: 2026-04-13 | **授权**: [双重授权](../../LICENSE) (CC BY 4.0 + MIT)
18
18
 
19
19
  语言无关、框架无关的软件项目文档标准。通过 AI 原生工作流,确保不同技术栈之间的一致性、质量和可维护性。
20
20
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  source: ../../CHANGELOG.md
3
- source_version: 5.7.2
4
- translation_version: 5.7.2
3
+ source_version: 5.7.3
4
+ translation_version: 5.7.3
5
5
  last_synced: 2026-05-08
6
6
  status: current
7
7
  ---
@@ -17,6 +17,11 @@ status: current
17
17
 
18
18
  ## [Unreleased]
19
19
 
20
+ ## [5.7.3] - 2026-05-08
21
+
22
+ ### 修復
23
+ - **`uds update` 跳過無效 ID**(`cli/src/commands/update.js`):display、copy、hash 重算、post-update integrity check 四個迴圈,現在會跳過 `manifest.standards` 中無法解析的 short ID(沒有 `/` 或 `.` 且 registry 無對應 entry,例如殘留的 AI 工具名稱 `claude-code`、`opencode`)。修正前,這類條目會在 `uds update` 中觸發無意義的「缺失檔案」警告與失敗的還原嘗試。
24
+
20
25
  ## [5.7.1] - 2026-05-08
21
26
 
22
27
  ### 修復
@@ -14,7 +14,7 @@ status: current
14
14
 
15
15
  > **語言**: [English](../../README.md) | 繁體中文 | [简体中文](../zh-CN/README.md)
16
16
 
17
- **版本**: 5.7.2 | **發布日期**: 2026-04-13 | **授權**: [雙重授權](../../LICENSE) (CC BY 4.0 + MIT)
17
+ **版本**: 5.7.3 | **發布日期**: 2026-04-13 | **授權**: [雙重授權](../../LICENSE) (CC BY 4.0 + MIT)
18
18
 
19
19
  語言無關、框架無關的軟體專案文件標準。透過 AI 原生工作流,確保不同技術堆疊之間的一致性、品質和可維護性。
20
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "universal-dev-standards",
3
- "version": "5.7.2",
3
+ "version": "5.7.3",
4
4
  "description": "CLI tool for adopting Universal Development Standards",
5
5
  "keywords": [
6
6
  "documentation",
@@ -414,10 +414,9 @@ export async function updateCommand(options) {
414
414
  let resolvedStd = std;
415
415
  if (!std.includes('/') && !std.includes('.')) {
416
416
  const entry = allStdsDisplay.find(r => r.id === std);
417
- if (entry) {
418
- const src = getStandardSource(entry, displayFormat);
419
- if (src) resolvedStd = src;
420
- }
417
+ if (!entry) continue; // Skip unrecognized IDs (e.g. stale AI tool names)
418
+ const src = getStandardSource(entry, displayFormat);
419
+ if (src) resolvedStd = src;
421
420
  }
422
421
  const fileName = resolvedStd.split('/').pop();
423
422
  const displayPath = getStandardTargetDir(resolvedStd) + '/' + fileName;
@@ -476,10 +475,9 @@ export async function updateCommand(options) {
476
475
  let sourcePath = std;
477
476
  if (!std.includes('/') && !std.includes('.')) {
478
477
  const entry = allStdsUpdate.find(r => r.id === std);
479
- if (entry) {
480
- const src = getStandardSource(entry, updateFormat);
481
- if (src) sourcePath = src;
482
- }
478
+ if (!entry) continue; // Skip unrecognized IDs (e.g. stale AI tool names)
479
+ const src = getStandardSource(entry, updateFormat);
480
+ if (src) sourcePath = src;
483
481
  }
484
482
  const result = await copyStandard(sourcePath, getStandardTargetDir(sourcePath), projectPath);
485
483
  if (result.success) {
@@ -645,10 +643,9 @@ export async function updateCommand(options) {
645
643
  let resolvedPath = std;
646
644
  if (!std.includes('/') && !std.includes('.')) {
647
645
  const entry = allStdsHash.find(r => r.id === std);
648
- if (entry) {
649
- const src = getStandardSource(entry, hashFormat);
650
- if (src) resolvedPath = src;
651
- }
646
+ if (!entry) continue; // Skip unrecognized IDs (e.g. stale AI tool names)
647
+ const src = getStandardSource(entry, hashFormat);
648
+ if (src) resolvedPath = src;
652
649
  }
653
650
  const fileName = basename(resolvedPath);
654
651
  const relativePath = (resolvedPath.includes('options/')
@@ -758,10 +755,9 @@ export async function updateCommand(options) {
758
755
  let resolvedStd = std;
759
756
  if (!std.includes('/') && !std.includes('.')) {
760
757
  const entry = allStdsTrack.find(r => r.id === std);
761
- if (entry) {
762
- const src = getStandardSource(entry, trackFormat);
763
- if (src) resolvedStd = src;
764
- }
758
+ if (!entry) continue; // Skip unrecognized IDs (e.g. stale AI tool names)
759
+ const src = getStandardSource(entry, trackFormat);
760
+ if (src) resolvedStd = src;
765
761
  }
766
762
  const fileName = basename(resolvedStd);
767
763
  const relativePath = resolvedStd.includes('options/')
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "5.7.2",
3
+ "version": "5.7.3",
4
4
  "lastUpdated": "2026-04-16",
5
5
  "description": "Standards registry for universal-dev-standards with integrated skills and AI-optimized formats",
6
6
  "formats": {
@@ -58,14 +58,14 @@
58
58
  "standards": {
59
59
  "name": "universal-dev-standards",
60
60
  "url": "https://github.com/AsiaOstrich/universal-dev-standards",
61
- "version": "5.7.2"
61
+ "version": "5.7.3"
62
62
  },
63
63
  "skills": {
64
64
  "name": "universal-dev-standards",
65
65
  "url": "https://github.com/AsiaOstrich/universal-dev-standards",
66
66
  "localPath": "skills",
67
67
  "rawUrl": "https://raw.githubusercontent.com/AsiaOstrich/universal-dev-standards/main/skills",
68
- "version": "5.7.2",
68
+ "version": "5.7.3",
69
69
  "note": "Skills are now included in the main repository under skills/"
70
70
  }
71
71
  },