@hasna/skills 0.10.25 → 0.10.26

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/bin/index.js CHANGED
@@ -36868,7 +36868,7 @@ var package_default;
36868
36868
  var init_package = __esm(() => {
36869
36869
  package_default = {
36870
36870
  name: "@hasna/skills",
36871
- version: "0.10.25",
36871
+ version: "0.10.26",
36872
36872
  description: "Skills library for AI coding agents",
36873
36873
  type: "module",
36874
36874
  bin: {
@@ -52645,7 +52645,7 @@ function inventoryNativeSkills(home = homedir3(), options = {}) {
52645
52645
  admit(path);
52646
52646
  const scan = { complete: true, hasSkills: false, entries: 1 };
52647
52647
  assertSafePath(path);
52648
- if (configuredRoot && agent === "codex" && installationInputs.includes(path))
52648
+ if (configuredRoot && agent === "codex" && installationInputs.some((root) => path === root || path.startsWith(`${root}${sep5}`)))
52649
52649
  return scan;
52650
52650
  if (!existsSync12(path))
52651
52651
  return scan;
package/bin/mcp.js CHANGED
@@ -20019,7 +20019,7 @@ var package_default;
20019
20019
  var init_package = __esm(() => {
20020
20020
  package_default = {
20021
20021
  name: "@hasna/skills",
20022
- version: "0.10.25",
20022
+ version: "0.10.26",
20023
20023
  description: "Skills library for AI coding agents",
20024
20024
  type: "module",
20025
20025
  bin: {
package/bin/migrate.js CHANGED
@@ -7,7 +7,7 @@ import { join as join5 } from "path";
7
7
  // package.json
8
8
  var package_default = {
9
9
  name: "@hasna/skills",
10
- version: "0.10.25",
10
+ version: "0.10.26",
11
11
  description: "Skills library for AI coding agents",
12
12
  type: "module",
13
13
  bin: {
package/bin/server.js CHANGED
@@ -24122,7 +24122,7 @@ var init_dist_es9 = __esm(() => {
24122
24122
  // package.json
24123
24123
  var package_default = {
24124
24124
  name: "@hasna/skills",
24125
- version: "0.10.25",
24125
+ version: "0.10.26",
24126
24126
  description: "Skills library for AI coding agents",
24127
24127
  type: "module",
24128
24128
  bin: {
package/bin/worker.js CHANGED
@@ -24125,7 +24125,7 @@ import { randomUUID as randomUUID6 } from "crypto";
24125
24125
  // package.json
24126
24126
  var package_default = {
24127
24127
  name: "@hasna/skills",
24128
- version: "0.10.25",
24128
+ version: "0.10.26",
24129
24129
  description: "Skills library for AI coding agents",
24130
24130
  type: "module",
24131
24131
  bin: {
package/dist/index.js CHANGED
@@ -10914,7 +10914,7 @@ function replaceSkillSession(expected, replacement, plan, options = {}, beforeCo
10914
10914
  // package.json
10915
10915
  var package_default = {
10916
10916
  name: "@hasna/skills",
10917
- version: "0.10.25",
10917
+ version: "0.10.26",
10918
10918
  description: "Skills library for AI coding agents",
10919
10919
  type: "module",
10920
10920
  bin: {
@@ -14719,7 +14719,7 @@ function inventoryNativeSkills(home = homedir2(), options = {}) {
14719
14719
  admit(path);
14720
14720
  const scan = { complete: true, hasSkills: false, entries: 1 };
14721
14721
  assertSafePath(path);
14722
- if (configuredRoot && agent === "codex" && installationInputs.includes(path))
14722
+ if (configuredRoot && agent === "codex" && installationInputs.some((root) => path === root || path.startsWith(`${root}${sep5}`)))
14723
14723
  return scan;
14724
14724
  if (!existsSync8(path))
14725
14725
  return scan;
package/dist/sdk/index.js CHANGED
@@ -32373,7 +32373,7 @@ var init_event_sink = __esm(() => {
32373
32373
  // package.json
32374
32374
  var package_default = {
32375
32375
  name: "@hasna/skills",
32376
- version: "0.10.25",
32376
+ version: "0.10.26",
32377
32377
  description: "Skills library for AI coding agents",
32378
32378
  type: "module",
32379
32379
  bin: {
@@ -42650,7 +42650,7 @@ function inventoryNativeSkills(home = homedir3(), options = {}) {
42650
42650
  admit(path);
42651
42651
  const scan = { complete: true, hasSkills: false, entries: 1 };
42652
42652
  assertSafePath(path);
42653
- if (configuredRoot && agent === "codex" && installationInputs.includes(path))
42653
+ if (configuredRoot && agent === "codex" && installationInputs.some((root2) => path === root2 || path.startsWith(`${root2}${sep5}`)))
42654
42654
  return scan;
42655
42655
  if (!existsSync6(path))
42656
42656
  return scan;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/skills",
3
- "version": "0.10.25",
3
+ "version": "0.10.26",
4
4
  "description": "Skills library for AI coding agents",
5
5
  "type": "module",
6
6
  "bin": {