yugoo-design 0.2.2 → 0.2.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.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Yugoo Design
2
2
 
3
- Package: `yugoo-design@0.2.2`.
3
+ Package: `yugoo-design@0.2.3`.
4
4
 
5
5
  Yugoo Design (语构设计系统) is an interactive design plugin for native Agent Hosts.
6
6
  It combines domain methods, Design Projects, versioned Design Files and shared
@@ -55,7 +55,7 @@ from another operating system requires an explicit Windows path and reports that
55
55
  locator as unverified; it does not establish target runtime acceptance.
56
56
 
57
57
  ```sh
58
- ONNXRUNTIME_NODE_INSTALL_CUDA=skip npm install --ignore-scripts=false --save-exact yugoo-design@0.2.2 --registry=https://registry.npmjs.org
58
+ ONNXRUNTIME_NODE_INSTALL_CUDA=skip npm install --ignore-scripts=false --save-exact yugoo-design@0.2.3 --registry=https://registry.npmjs.org
59
59
  npx --no-install yugoo-design --help
60
60
  ```
61
61
 
@@ -72,7 +72,7 @@ allowBuilds:
72
72
  ```
73
73
 
74
74
  ```sh
75
- ONNXRUNTIME_NODE_INSTALL_CUDA=skip pnpm add --save-exact yugoo-design@0.2.2 --registry=https://registry.npmjs.org
75
+ ONNXRUNTIME_NODE_INSTALL_CUDA=skip pnpm add --save-exact yugoo-design@0.2.3 --registry=https://registry.npmjs.org
76
76
  pnpm exec yugoo-design --help
77
77
  ```
78
78
 
@@ -121,7 +121,7 @@ process value:
121
121
  $previousOrtCuda = [Environment]::GetEnvironmentVariable('ONNXRUNTIME_NODE_INSTALL_CUDA', 'Process')
122
122
  try {
123
123
  $env:ONNXRUNTIME_NODE_INSTALL_CUDA = 'skip'
124
- npm install --ignore-scripts=false --save-exact yugoo-design@0.2.2 --registry=https://registry.npmjs.org
124
+ npm install --ignore-scripts=false --save-exact yugoo-design@0.2.3 --registry=https://registry.npmjs.org
125
125
  } finally {
126
126
  [Environment]::SetEnvironmentVariable('ONNXRUNTIME_NODE_INSTALL_CUDA', $previousOrtCuda, 'Process')
127
127
  }
@@ -462,6 +462,22 @@ async function workspaceSettings(bytes) {
462
462
  return { settings, exclusions: minimumReleaseAgeExclude }
463
463
  }
464
464
 
465
+ // pnpm can merge pkg@old and pkg@new into pkg@old || new. Expand
466
+ // only exact versions; keep user ranges and other rules opaque and unchanged.
467
+ function releaseAgeSelectors(exclusions) {
468
+ const counts = new Map(), opaque = []
469
+ for (const value of exclusions) {
470
+ const match = /^(?<name>(?:@[a-z0-9][a-z0-9._-]*\/)?[a-z0-9][a-z0-9._-]*)@(?<versions>.+)$/u.exec(value)
471
+ const versions = match?.groups.versions.split(/\s*\|\|\s*/u)
472
+ if (!versions?.every(version => exactVersion.test(version))) { opaque.push(value); continue }
473
+ for (const version of versions) {
474
+ const selector = `${match.groups.name}@${version}`
475
+ counts.set(selector, (counts.get(selector) ?? 0) + 1)
476
+ }
477
+ }
478
+ return { counts, opaque }
479
+ }
480
+
465
481
  // Follow only exact runtime declarations in the selected installed aggregate.
466
482
  // Reading package metadata must not execute code or depend on package.json exports.
467
483
  async function installedExactSelectors(installed) {
@@ -503,10 +519,13 @@ async function preservedConfigPins(before, after, workspaceBefore) {
503
519
  const old = await workspaceSettings(workspaceBefore), current = await workspaceSettings(bytes)
504
520
  if (!old || !current) return { ...result, reason: 'workspace-policy-unverified' }
505
521
  if (!isDeepStrictEqual(old.settings, current.settings)) return { ...result, reason: 'workspace-settings-changed' }
506
- if (!isDeepStrictEqual(old.exclusions, current.exclusions.slice(0, old.exclusions.length)))
522
+ const retained = releaseAgeSelectors(old.exclusions), observed = releaseAgeSelectors(current.exclusions)
523
+ if (!isDeepStrictEqual(retained.opaque, observed.opaque)
524
+ || [...retained.counts.keys()].some(selector => !observed.counts.has(selector)))
507
525
  return { ...result, reason: 'existing-release-age-exclusions-changed' }
508
- const added = current.exclusions.slice(old.exclusions.length)
509
- if (!added.length || new Set(added).size !== added.length || added.some(value => old.exclusions.includes(value))) return result
526
+ if ([...observed.counts].some(([selector, count]) => count > Math.max(1, retained.counts.get(selector) ?? 0))) return result
527
+ const added = [...observed.counts.keys()].filter(selector => !retained.counts.has(selector))
528
+ if (!added.length) return result
510
529
  const exact = await installedExactSelectors(after.installed)
511
530
  if (added.some(value => !exact.has(value))) return { ...result, reason: 'release-age-exclusion-outside-exact-dependencies' }
512
531
  return { ...result, preserved: true, releaseAgeExclusionsAdded: added, reason: 'exact-dependency-release-age-exclusions-added' }
package/package.json CHANGED
@@ -79,5 +79,5 @@
79
79
  }
80
80
  },
81
81
  "name": "yugoo-design",
82
- "version": "0.2.2"
82
+ "version": "0.2.3"
83
83
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "yugoo-design",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Yugoo Design: interactive Design Panels with Claude Code native agents and background design reviews."
5
5
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yugoo-design",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Yugoo Design: local Design Project Panels for an explicitly bound Codex conversation (development preview).",
5
5
  "author": {
6
6
  "name": "yugoo-design contributors"
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "yugoo-design",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Yugoo Design: interactive Design Panels with Qoder-native Producers, Workers and background reviews."
5
5
  }
@@ -4,7 +4,7 @@
4
4
  "dsh": {
5
5
  "aggregatePackage": "@yugoo-design/dsh-design-system-dsh",
6
6
  "registry": "https://registry.npmjs.org",
7
- "aggregateVersion": "0.2.2"
7
+ "aggregateVersion": "0.2.3"
8
8
  }
9
9
  }
10
10
  }
@@ -3,7 +3,7 @@
3
3
  "fixture": false,
4
4
  "distribution": "stable",
5
5
  "publishReady": false,
6
- "version": "0.2.2",
6
+ "version": "0.2.3",
7
7
  "readmeSource": {
8
8
  "path": "packages/companion/README.md",
9
9
  "sourceSha256": "e082d5b18a70971880e341501591076f2f5c1dbffa41f925133883c77f31c313",
@@ -12,7 +12,7 @@
12
12
  "assets": {
13
13
  "LICENSE": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30",
14
14
  "NOTICE": "6119b21e1fa5d37ec3ab337ad43685970310aa5c97a0e90ecf6603d17091f371",
15
- "README.md": "e89e273a53aa153df25ebfc0639ca606f99685298236514fd83ab1fd9c98029e",
15
+ "README.md": "5c8ca9d6016b80328b1e8cffa9c034f225af0c921366e942b7c379b1791623f9",
16
16
  "THIRD_PARTY_NOTICES.md": "bfcab921c6c15ccc47f9b1a6cc5941675c95962de5ea5b0edc50fbfa2aef136a",
17
17
  "bin/installer.mjs": "169f367c8c66d5066b51e305dbdbe692888b96dec4ae671dda1cd216b4baa8b4",
18
18
  "bin/npm-agent-installation.mjs": "5b20c7ef71401438d2878fc726f7a4aa7d3e8e07e32c85c552ca738f772bb77a",
@@ -23,7 +23,7 @@
23
23
  "bin/npm-installer-codex-desktop.mjs": "dcd8e75f5e47531843c5842cb3068a55f968fe20ed8ea3f5b3d0d7b155c0c5eb",
24
24
  "bin/npm-installer-codex.mjs": "5789195b889a78fa298395fb5e3b6f72539e473f816132c4762e0ee77ac4a9c8",
25
25
  "bin/npm-installer-dsh-desktop.mjs": "14ca4310e77f5544ce4a5d056eb22424ac6832afcb66e4c5548fe88c3f5feaf5",
26
- "bin/npm-installer-dsh.mjs": "271c0c93ee5f8f19168ee096944c0cbc2bbdc2c747219d0c720b9230bb4f46e9",
26
+ "bin/npm-installer-dsh.mjs": "8f61c237d3f5dd154feae38a3b083ad79ce76e82292e7e75f38cee18d6331d6b",
27
27
  "bin/npm-installer-paths.mjs": "50df1c47a5e3ada6da813e0b5475627fa6dd7d9e0834e8efa60f414bfbe289a0",
28
28
  "bin/npm-installer-qoder.mjs": "ab5767c26a14c153e881850454c2fe7234e3f28455c69428271fbffcc0bb7d36",
29
29
  "bin/npm-node-registration.mjs": "79a419dd1e0ceaa581158b4243b2fbb95b4f791c33d1dd2e1a97f2d9f166716c",
@@ -428,7 +428,7 @@
428
428
  "licenses/third-party/whiteboard-fonts/licenses/JetBrainsMono-OFL.txt": "30f0c136e3c88e422d0791acd97238870f9054a9729bc34cf2ff0d4ed8cac4ad",
429
429
  "licenses/third-party/whiteboard-fonts/licenses/source-han-sans-LICENSE.txt": "fcac737e761ec63dbfbdce11030a1780161920d80315edba9c8beff1c2bac5a2",
430
430
  "licenses/third-party/whiteboard-fonts/manifest.json": "c164438115a40cdead905085e95298f28a4ffa2a3947512b9a98509f33c26972",
431
- "package.json": "cd65e40f70bb827621e3095eee31f69859b7f22388b6ed6eb14dcb07efb4f128",
431
+ "package.json": "0e7fe1ad346fab8faba71aa2d87840bce3a2ddb19b1298f9c13166b2bf305d75",
432
432
  "payload/desktop-preparation/LICENSE": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30",
433
433
  "payload/desktop-preparation/NOTICE": "6b4eec391144fcbd96ec7b45a28764ab1932722a96325248377c3e28aac2c62d",
434
434
  "payload/desktop-preparation/THIRD_PARTY_NOTICES.md": "bfcab921c6c15ccc47f9b1a6cc5941675c95962de5ea5b0edc50fbfa2aef136a",
@@ -644,7 +644,7 @@
644
644
  "payload/desktop-preparation/studio-authoring-template/skills/design-kit-creator/SKILL.md": "d56949f0287715301bb62c1fb8fe0bd78037aed1f22896a226169be4404c196e",
645
645
  "payload/desktop-preparation/studio-authoring-template/skills/design-skill-creator/SKILL.md": "df79e2d4b4dba5b7e76b67c56fd8b9175a31f44d3266b8665a59cceffc4f9f54",
646
646
  "payload/desktop-preparation/workbuddy-package.mjs": "f39407b3fd2406c73079b4067e9eb93d181a35ac53ad548b45e8599f486ca976",
647
- "payload/overlays/claude-code/.claude-plugin/plugin.json": "d5cca6db8b058b43ef4a4c0cf800d0a656ebe71365934d639042a226c4f7c0fc",
647
+ "payload/overlays/claude-code/.claude-plugin/plugin.json": "2e4078cee81b6c4d445d210a31821571a7ab2dab5164d4a821fe99d9f67ebee9",
648
648
  "payload/overlays/claude-code/.mcp.json": "1108847d27abd953a52cd7c3ea4cd416898d67dcfdb80a92255d889186b12b66",
649
649
  "payload/overlays/claude-code/authoring/studio-creators/index.md": "01eb453e4bcbd7cd104bdd9032a1c1d09c3a4de5b69982eaf18ae528c6a7ea37",
650
650
  "payload/overlays/claude-code/authoring/studio-creators/material.json": "c2fdb30666942a942157c7f1e1a9ecfe542b87bf35b30412a6a541e584fac216",
@@ -747,7 +747,7 @@
747
747
  "payload/overlays/claude-code/skills/design-skill-creator/SKILL.md": "df79e2d4b4dba5b7e76b67c56fd8b9175a31f44d3266b8665a59cceffc4f9f54",
748
748
  "payload/overlays/claude-code/skills/yugoo/SKILL.md": "045d81c10b0d18ebe1644180149f42059b114874bcf8daca805c6fd91e343c81",
749
749
  "payload/overlays/claude-code/skills/yugoo/native-execution.md": "2e66dc2811ce6552ab43547af3020337e9de60576ad3c8de4422f120dbd6d5a7",
750
- "payload/overlays/codex/.codex-plugin/plugin.json": "661a8dea17d59025b9da4c1933616b10d3a2152822f79bffbb991b8a8c3c602f",
750
+ "payload/overlays/codex/.codex-plugin/plugin.json": "12118a8c7720d56fb6f46e48ac295083c6152f067790c8312e46af6fcac86769",
751
751
  "payload/overlays/codex/.mcp.json": "ee6450b4f9a5239ae9c173d07198d37041fad65f9f65ecf4ff88ccf8528a609a",
752
752
  "payload/overlays/codex/README.md": "614c04455a8b88941d62861bc9e6ab0ae96f7aefb4a04a31085a2d86ccbf363b",
753
753
  "payload/overlays/codex/authoring/studio-creators/index.md": "01eb453e4bcbd7cd104bdd9032a1c1d09c3a4de5b69982eaf18ae528c6a7ea37",
@@ -846,7 +846,7 @@
846
846
  "payload/overlays/codex/skills/design-skill-creator/SKILL.md": "df79e2d4b4dba5b7e76b67c56fd8b9175a31f44d3266b8665a59cceffc4f9f54",
847
847
  "payload/overlays/codex/skills/yugoo/SKILL.md": "9573b5e06e781eba5cb8d826e0385322040d50a79a6edbc8911ef6aaf5a46e9b",
848
848
  "payload/overlays/qoder/.mcp.json": "7f86b52fffd552312441b9bd99dd39a3b80b2893dc4a85519614d906bdc6884e",
849
- "payload/overlays/qoder/.qoder-plugin/plugin.json": "dde964d3c386d123d0c5b73c2bdb189261df7f7666c7f514e585bb4adc89872a",
849
+ "payload/overlays/qoder/.qoder-plugin/plugin.json": "6debb382076cbfad534651b1643a27afc175356927ff7934168ccefa05537aad",
850
850
  "payload/overlays/qoder/authoring/studio-creators/index.md": "01eb453e4bcbd7cd104bdd9032a1c1d09c3a4de5b69982eaf18ae528c6a7ea37",
851
851
  "payload/overlays/qoder/authoring/studio-creators/material.json": "c2fdb30666942a942157c7f1e1a9ecfe542b87bf35b30412a6a541e584fac216",
852
852
  "payload/overlays/qoder/authoring/studio-creators/source/.agents/skills/design-bundle-creator/SKILL.md": "99c0ddca35a9a65ca9b097ee9072994a1ca2a4848ef6fe3ca07f5f29956806ed",
@@ -1899,7 +1899,7 @@
1899
1899
  "payload/shared/web/zh-CN-LNUGB5OW-B8jdxL1j.js": "009e897b8dce75b294018536f2c7d08f17d5174497d13cd0b5b46e17660e54ed",
1900
1900
  "payload/shared/web/zh-HK-E62DVLB3-C01JMzt_.js": "421281ca20c481adb4d774fdea5c907cc74241f6a745908b72dee694ed3f4112",
1901
1901
  "payload/shared/web/zh-TW-RAJ6MFWO-Cdn1Kb1q.js": "a48825086867a6b48a5e9a0fcdf91eb4d6752def51bf7b6dfa9bad12aed33624",
1902
- "release-hosts.json": "f4df11af4f3fe43c2ccc288df4f41e4a79c42e1a4ade1a173c7a6e16c0289704"
1902
+ "release-hosts.json": "32f09dfe3af22e69ab4bdba94b9cfcf4428d2a6d4cf8b3fd9af166744d0b820d"
1903
1903
  },
1904
1904
  "dependencies": {
1905
1905
  "@ladybugdb/wasm-core": "0.21.1",
@@ -1916,7 +1916,7 @@
1916
1916
  "product": {
1917
1917
  "schemaVersion": 1,
1918
1918
  "name": "yugoo-design",
1919
- "version": "0.2.2",
1919
+ "version": "0.2.3",
1920
1920
  "bin": "yugoo-design"
1921
1921
  }
1922
1922
  },