pasika 0.10.149 → 0.10.150

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.
@@ -11674,15 +11674,15 @@ function scopeOf(symbol, sheet) {
11674
11674
  return "top-level";
11675
11675
  }
11676
11676
  function groupForConsumers(consumers) {
11677
- if (consumers.length === 1) return consumers[0] ?? "";
11678
- return [
11679
- ...new Set(
11680
- consumers.map((consumer) => {
11681
- const parts = consumer.split("/");
11682
- return parts[0] === "features" ? parts.slice(0, 2).join("/") : parts[0] ?? "";
11683
- })
11684
- )
11685
- ].sort().join(", ");
11677
+ const scopes = /* @__PURE__ */ new Map();
11678
+ for (const consumer of consumers) {
11679
+ const parts = consumer.split("/");
11680
+ const scope = parts[0] === "features" ? parts.slice(0, 2).join("/") : parts[0] ?? "";
11681
+ const paths = scopes.get(scope) ?? [];
11682
+ paths.push(consumer);
11683
+ scopes.set(scope, paths);
11684
+ }
11685
+ return [...scopes].map(([scope, paths]) => paths.length === 1 ? paths[0] ?? scope : scope).sort().join(", ");
11686
11686
  }
11687
11687
  var themeTokenOrderRule = {
11688
11688
  meta: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pasika",
3
- "version": "0.10.149",
3
+ "version": "0.10.150",
4
4
  "description": "Reusable agent setup package",
5
5
  "repository": {
6
6
  "type": "git",