@hasna/skills 0.10.70 → 0.10.71
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 +6 -3
- package/bin/mcp.js +1 -1
- package/bin/migrate.js +1 -1
- package/bin/server.js +1 -1
- package/bin/worker.js +1 -1
- package/dist/index.js +1 -1
- package/dist/runtime-prerequisites.js +1 -1
- package/dist/sdk/index.js +1 -1
- package/docs/plugin-admission.md +3 -2
- package/package.json +1 -1
package/bin/index.js
CHANGED
|
@@ -36888,7 +36888,7 @@ var package_default;
|
|
|
36888
36888
|
var init_package = __esm(() => {
|
|
36889
36889
|
package_default = {
|
|
36890
36890
|
name: "@hasna/skills",
|
|
36891
|
-
version: "0.10.
|
|
36891
|
+
version: "0.10.71",
|
|
36892
36892
|
description: "Skills library for AI coding agents",
|
|
36893
36893
|
type: "module",
|
|
36894
36894
|
bin: {
|
|
@@ -119348,8 +119348,11 @@ function reviewClaudeProspectiveCandidate(request2, requestFileSha256) {
|
|
|
119348
119348
|
refuse8("candidate must select between one and 32 plugins from one marketplace");
|
|
119349
119349
|
if (candidate2.functionHooksEnv !== undefined && candidate2.functionHooksEnv !== "1")
|
|
119350
119350
|
refuse8("function-hook environment mutation only supports the explicit value 1");
|
|
119351
|
-
|
|
119352
|
-
|
|
119351
|
+
const settingsMarketplaceWriterVersions = ["2.1.276", "2.1.278", "2.1.282", "2.1.287", "2.1.293", "2.1.296", "2.1.299"];
|
|
119352
|
+
const nativeVersion = request2.native.executable.version;
|
|
119353
|
+
const measuredSettingsWriter = settingsMarketplaceWriterVersions.some((version2) => nativeVersion === version2 || nativeVersion === `${version2} (Claude Code)`);
|
|
119354
|
+
if (hasOwn2(candidate2, "settingsMarketplaceSource") && (candidate2.settingsMarketplaceSource !== "directory" || request2.scope.kind !== "user" || !measuredSettingsWriter))
|
|
119355
|
+
refuse8("settings marketplace source operation requires directory source and a measured Claude user-scope writer");
|
|
119353
119356
|
abs(candidate2.catalogPath, "catalog path");
|
|
119354
119357
|
if (!candidate2.catalogPath.startsWith(candidate2.root + sep18))
|
|
119355
119358
|
refuse8("catalog must be inside the frozen candidate root");
|
package/bin/mcp.js
CHANGED
package/bin/migrate.js
CHANGED
package/bin/server.js
CHANGED
|
@@ -24140,7 +24140,7 @@ restoreLaunchCwd();
|
|
|
24140
24140
|
// package.json
|
|
24141
24141
|
var package_default = {
|
|
24142
24142
|
name: "@hasna/skills",
|
|
24143
|
-
version: "0.10.
|
|
24143
|
+
version: "0.10.71",
|
|
24144
24144
|
description: "Skills library for AI coding agents",
|
|
24145
24145
|
type: "module",
|
|
24146
24146
|
bin: {
|
package/bin/worker.js
CHANGED
|
@@ -24143,7 +24143,7 @@ import { randomUUID as randomUUID6 } from "crypto";
|
|
|
24143
24143
|
// package.json
|
|
24144
24144
|
var package_default = {
|
|
24145
24145
|
name: "@hasna/skills",
|
|
24146
|
-
version: "0.10.
|
|
24146
|
+
version: "0.10.71",
|
|
24147
24147
|
description: "Skills library for AI coding agents",
|
|
24148
24148
|
type: "module",
|
|
24149
24149
|
bin: {
|
package/dist/index.js
CHANGED
|
@@ -13448,7 +13448,7 @@ import { basename as basename12, dirname as dirname22, isAbsolute as isAbsolute2
|
|
|
13448
13448
|
import { homedir as homedir5 } from "os";
|
|
13449
13449
|
import { isAbsolute as isAbsolute22, join as join34, resolve as resolve21 } from "path";
|
|
13450
13450
|
// package.json
|
|
13451
|
-
var version = "0.10.
|
|
13451
|
+
var version = "0.10.71";
|
|
13452
13452
|
var package_default = {
|
|
13453
13453
|
name: "@hasna/skills",
|
|
13454
13454
|
version,
|
|
@@ -49,7 +49,7 @@ var __require = import.meta.require;
|
|
|
49
49
|
// src/runtime-prerequisites.ts
|
|
50
50
|
import { isAbsolute as isAbsolute5 } from "path";
|
|
51
51
|
// package.json
|
|
52
|
-
var version = "0.10.
|
|
52
|
+
var version = "0.10.71";
|
|
53
53
|
var package_default = {
|
|
54
54
|
name: "@hasna/skills",
|
|
55
55
|
version,
|
package/dist/sdk/index.js
CHANGED
|
@@ -32371,7 +32371,7 @@ var init_event_sink = __esm(() => {
|
|
|
32371
32371
|
init_dist();
|
|
32372
32372
|
});
|
|
32373
32373
|
// package.json
|
|
32374
|
-
var version = "0.10.
|
|
32374
|
+
var version = "0.10.71";
|
|
32375
32375
|
var package_default = {
|
|
32376
32376
|
name: "@hasna/skills",
|
|
32377
32377
|
version,
|
package/docs/plugin-admission.md
CHANGED
|
@@ -194,8 +194,9 @@ closure. Nontrivial `metadata.pluginRoot` values and native catalog or selected
|
|
|
194
194
|
plugin dependency declarations refuse because this validator does not resolve
|
|
195
195
|
or review unselected external plugins.
|
|
196
196
|
The request may declare `functionHooksEnv: "1"`; without that declaration the
|
|
197
|
-
environment document is preserved unchanged. For a measured Claude 2.1.
|
|
198
|
-
user-scoped install,
|
|
197
|
+
environment document is preserved unchanged. For a measured Claude 2.1.276,
|
|
198
|
+
2.1.278, 2.1.282, 2.1.287, 2.1.293, 2.1.296 or 2.1.299 user-scoped install,
|
|
199
|
+
`candidate.settingsMarketplaceSource: "directory"`
|
|
199
200
|
explicitly declares the native settings registration. Skills derives
|
|
200
201
|
`extraKnownMarketplaces[candidate.marketplace].source` from the exact frozen
|
|
201
202
|
candidate root. The measured operation accepts existing directory sources
|