@hasna/skills 0.1.48 → 0.1.50
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 +22 -22
- package/bin/mcp.js +5 -5
- package/dist/index.js +5 -5
- package/package.json +3 -3
- package/skills/hook/bunfig.toml +5 -0
- package/skills/implementation/bunfig.toml +5 -0
package/bin/index.js
CHANGED
|
@@ -9553,7 +9553,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
|
|
|
9553
9553
|
|
|
9554
9554
|
` + ("" + errorBoundaryMessage);
|
|
9555
9555
|
console["error"](combinedMessage);
|
|
9556
|
-
}
|
|
9556
|
+
}
|
|
9557
9557
|
} catch (e) {
|
|
9558
9558
|
setTimeout(function() {
|
|
9559
9559
|
throw e;
|
|
@@ -18037,7 +18037,7 @@ var require_backend = __commonJS((exports, module) => {
|
|
|
18037
18037
|
987: (module2, __unused_webpack_exports, __webpack_require__2) => {
|
|
18038
18038
|
if (true) {
|
|
18039
18039
|
module2.exports = __webpack_require__2(786);
|
|
18040
|
-
}
|
|
18040
|
+
}
|
|
18041
18041
|
},
|
|
18042
18042
|
126: (__unused_webpack_module, exports2, __webpack_require__2) => {
|
|
18043
18043
|
var process3 = __webpack_require__2(169);
|
|
@@ -18487,7 +18487,7 @@ var require_backend = __commonJS((exports, module) => {
|
|
|
18487
18487
|
189: (module2, __unused_webpack_exports, __webpack_require__2) => {
|
|
18488
18488
|
if (true) {
|
|
18489
18489
|
module2.exports = __webpack_require__2(126);
|
|
18490
|
-
}
|
|
18490
|
+
}
|
|
18491
18491
|
},
|
|
18492
18492
|
206: function(module2, exports2, __webpack_require__2) {
|
|
18493
18493
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;
|
|
@@ -18502,7 +18502,7 @@ var require_backend = __commonJS((exports, module) => {
|
|
|
18502
18502
|
(function(root, factory) {
|
|
18503
18503
|
if (true) {
|
|
18504
18504
|
__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__2(430)], __WEBPACK_AMD_DEFINE_FACTORY__ = factory, __WEBPACK_AMD_DEFINE_RESULT__ = typeof __WEBPACK_AMD_DEFINE_FACTORY__ === "function" ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports2, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module2.exports = __WEBPACK_AMD_DEFINE_RESULT__);
|
|
18505
|
-
}
|
|
18505
|
+
}
|
|
18506
18506
|
})(this, function ErrorStackParser(StackFrame) {
|
|
18507
18507
|
var FIREFOX_SAFARI_STACK_REGEXP = /(^|@)\S+:\d+/;
|
|
18508
18508
|
var CHROME_IE_STACK_REGEXP = /^\s*at .*(\S+:\d+|\(native\))/m;
|
|
@@ -19198,7 +19198,7 @@ var require_backend = __commonJS((exports, module) => {
|
|
|
19198
19198
|
(function(root, factory) {
|
|
19199
19199
|
if (true) {
|
|
19200
19200
|
__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = factory, __WEBPACK_AMD_DEFINE_RESULT__ = typeof __WEBPACK_AMD_DEFINE_FACTORY__ === "function" ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports2, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module2.exports = __WEBPACK_AMD_DEFINE_RESULT__);
|
|
19201
|
-
}
|
|
19201
|
+
}
|
|
19202
19202
|
})(this, function() {
|
|
19203
19203
|
function _isNumber(n) {
|
|
19204
19204
|
return !isNaN(parseFloat(n)) && isFinite(n);
|
|
@@ -24572,7 +24572,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
24572
24572
|
var suffix = "";
|
|
24573
24573
|
if (true) {
|
|
24574
24574
|
suffix = " (<anonymous>)";
|
|
24575
|
-
}
|
|
24575
|
+
}
|
|
24576
24576
|
return `
|
|
24577
24577
|
` + prefix + name + suffix;
|
|
24578
24578
|
}
|
|
@@ -27301,7 +27301,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
27301
27301
|
hasChanges = true;
|
|
27302
27302
|
updateMostRecentlyInspectedElementIfNecessary(devtoolsInstance.id);
|
|
27303
27303
|
}
|
|
27304
|
-
}
|
|
27304
|
+
}
|
|
27305
27305
|
}
|
|
27306
27306
|
} catch (err) {
|
|
27307
27307
|
_iterator2.e(err);
|
|
@@ -29080,7 +29080,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
29080
29080
|
if (contentFiber === null) {
|
|
29081
29081
|
throw new Error("There should always be an Offscreen Fiber child in a hydrated Suspense boundary.");
|
|
29082
29082
|
}
|
|
29083
|
-
}
|
|
29083
|
+
}
|
|
29084
29084
|
var _isTimedOut = fiber.memoizedState !== null;
|
|
29085
29085
|
if (!_isTimedOut) {
|
|
29086
29086
|
newSuspenseNode.rects = measureInstance(newInstance);
|
|
@@ -29114,7 +29114,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
29114
29114
|
if (_contentFiber === null) {
|
|
29115
29115
|
throw new Error("There should always be an Offscreen Fiber child in a hydrated Suspense boundary.");
|
|
29116
29116
|
}
|
|
29117
|
-
}
|
|
29117
|
+
}
|
|
29118
29118
|
var suspenseState = fiber.memoizedState;
|
|
29119
29119
|
var _isTimedOut3 = suspenseState !== null;
|
|
29120
29120
|
if (!_isTimedOut3) {
|
|
@@ -29214,7 +29214,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
29214
29214
|
trackThrownPromisesFromRetryCache(newSuspenseNode, fiber.stateNode);
|
|
29215
29215
|
mountSuspenseChildrenRecursively(_contentFiber2, traceNearestHostComponentUpdate, stashedSuspenseParent, stashedSuspensePrevious, stashedSuspenseRemaining);
|
|
29216
29216
|
shouldPopSuspenseNode = false;
|
|
29217
|
-
}
|
|
29217
|
+
}
|
|
29218
29218
|
} else {
|
|
29219
29219
|
if (fiber.child !== null) {
|
|
29220
29220
|
mountChildrenRecursively(fiber.child, traceNearestHostComponentUpdate);
|
|
@@ -29800,7 +29800,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
29800
29800
|
shouldPopSuspenseNode = false;
|
|
29801
29801
|
} else if (previousHydrated && !nextHydrated) {
|
|
29802
29802
|
throw new Error("Encountered a dehydrated Suspense boundary that was previously hydrated.");
|
|
29803
|
-
}
|
|
29803
|
+
}
|
|
29804
29804
|
} else {
|
|
29805
29805
|
if (nextFiber.child !== prevFiber.child) {
|
|
29806
29806
|
updateFlags |= updateChildrenRecursively(nextFiber.child, prevFiber.child, traceNearestHostComponentUpdate);
|
|
@@ -29846,8 +29846,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
29846
29846
|
recordResetChildren(fiberInstance);
|
|
29847
29847
|
}
|
|
29848
29848
|
updateFlags &= ~ShouldResetChildren;
|
|
29849
|
-
}
|
|
29850
|
-
}
|
|
29849
|
+
}
|
|
29850
|
+
}
|
|
29851
29851
|
if ((updateFlags & ShouldResetSuspenseChildren) !== NoUpdate) {
|
|
29852
29852
|
if (fiberInstance !== null && fiberInstance.kind === FIBER_INSTANCE) {
|
|
29853
29853
|
var _suspenseNode3 = fiberInstance.suspenseNode;
|
|
@@ -29855,7 +29855,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
29855
29855
|
recordResetSuspenseChildren(_suspenseNode3);
|
|
29856
29856
|
updateFlags &= ~ShouldResetSuspenseChildren;
|
|
29857
29857
|
}
|
|
29858
|
-
}
|
|
29858
|
+
}
|
|
29859
29859
|
}
|
|
29860
29860
|
if ((updateFlags & ShouldResetParentSuspenseChildren) !== NoUpdate) {
|
|
29861
29861
|
if (fiberInstance !== null && fiberInstance.kind === FIBER_INSTANCE) {
|
|
@@ -29864,7 +29864,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
29864
29864
|
updateFlags &= ~ShouldResetParentSuspenseChildren;
|
|
29865
29865
|
updateFlags |= ShouldResetSuspenseChildren;
|
|
29866
29866
|
}
|
|
29867
|
-
}
|
|
29867
|
+
}
|
|
29868
29868
|
}
|
|
29869
29869
|
return updateFlags;
|
|
29870
29870
|
} finally {
|
|
@@ -32928,7 +32928,7 @@ The error thrown in the component is:
|
|
|
32928
32928
|
rendererInterface = renderer_attach(hook, id, renderer, global2, shouldStartProfilingNow, profilingSettings);
|
|
32929
32929
|
} else if (renderer.ComponentTree) {
|
|
32930
32930
|
rendererInterface = legacy_renderer_attach(hook, id, renderer, global2);
|
|
32931
|
-
}
|
|
32931
|
+
}
|
|
32932
32932
|
}
|
|
32933
32933
|
return rendererInterface;
|
|
32934
32934
|
}
|
|
@@ -35811,7 +35811,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
35811
35811
|
this._exitCallback = (err) => {
|
|
35812
35812
|
if (err.code !== "commander.executeSubCommandAsync") {
|
|
35813
35813
|
throw err;
|
|
35814
|
-
}
|
|
35814
|
+
}
|
|
35815
35815
|
};
|
|
35816
35816
|
}
|
|
35817
35817
|
return this;
|
|
@@ -36860,12 +36860,12 @@ var package_default;
|
|
|
36860
36860
|
var init_package = __esm(() => {
|
|
36861
36861
|
package_default = {
|
|
36862
36862
|
name: "@hasna/skills",
|
|
36863
|
-
version: "0.1.
|
|
36863
|
+
version: "0.1.50",
|
|
36864
36864
|
description: "Skills library for AI coding agents",
|
|
36865
36865
|
type: "module",
|
|
36866
36866
|
bin: {
|
|
36867
|
-
skills: "
|
|
36868
|
-
"skills-mcp": "
|
|
36867
|
+
skills: "bin/index.js",
|
|
36868
|
+
"skills-mcp": "bin/mcp.js"
|
|
36869
36869
|
},
|
|
36870
36870
|
exports: {
|
|
36871
36871
|
".": {
|
|
@@ -54513,7 +54513,7 @@ function finalize(ctx, schema) {
|
|
|
54513
54513
|
result2.$schema = "http://json-schema.org/draft-07/schema#";
|
|
54514
54514
|
} else if (ctx.target === "draft-04") {
|
|
54515
54515
|
result2.$schema = "http://json-schema.org/draft-04/schema#";
|
|
54516
|
-
} else if (ctx.target === "openapi-3.0") {}
|
|
54516
|
+
} else if (ctx.target === "openapi-3.0") {}
|
|
54517
54517
|
if (ctx.external?.uri) {
|
|
54518
54518
|
const id = ctx.external.registry.get(schema)?.id;
|
|
54519
54519
|
if (!id)
|
|
@@ -54778,7 +54778,7 @@ var formatMap, stringProcessor = (schema, ctx, _json, _params) => {
|
|
|
54778
54778
|
if (val === undefined) {
|
|
54779
54779
|
if (ctx.unrepresentable === "throw") {
|
|
54780
54780
|
throw new Error("Literal `undefined` cannot be represented in JSON Schema");
|
|
54781
|
-
}
|
|
54781
|
+
}
|
|
54782
54782
|
} else if (typeof val === "bigint") {
|
|
54783
54783
|
if (ctx.unrepresentable === "throw") {
|
|
54784
54784
|
throw new Error("BigInt literals cannot be represented in JSON Schema");
|
package/bin/mcp.js
CHANGED
|
@@ -18291,7 +18291,7 @@ function finalize(ctx, schema) {
|
|
|
18291
18291
|
result.$schema = "http://json-schema.org/draft-07/schema#";
|
|
18292
18292
|
} else if (ctx.target === "draft-04") {
|
|
18293
18293
|
result.$schema = "http://json-schema.org/draft-04/schema#";
|
|
18294
|
-
} else if (ctx.target === "openapi-3.0") {}
|
|
18294
|
+
} else if (ctx.target === "openapi-3.0") {}
|
|
18295
18295
|
if (ctx.external?.uri) {
|
|
18296
18296
|
const id = ctx.external.registry.get(schema)?.id;
|
|
18297
18297
|
if (!id)
|
|
@@ -18539,7 +18539,7 @@ var literalProcessor = (schema, ctx, json, _params) => {
|
|
|
18539
18539
|
if (val === undefined) {
|
|
18540
18540
|
if (ctx.unrepresentable === "throw") {
|
|
18541
18541
|
throw new Error("Literal `undefined` cannot be represented in JSON Schema");
|
|
18542
|
-
}
|
|
18542
|
+
}
|
|
18543
18543
|
} else if (typeof val === "bigint") {
|
|
18544
18544
|
if (ctx.unrepresentable === "throw") {
|
|
18545
18545
|
throw new Error("BigInt literals cannot be represented in JSON Schema");
|
|
@@ -21819,12 +21819,12 @@ class StdioServerTransport {
|
|
|
21819
21819
|
// package.json
|
|
21820
21820
|
var package_default = {
|
|
21821
21821
|
name: "@hasna/skills",
|
|
21822
|
-
version: "0.1.
|
|
21822
|
+
version: "0.1.50",
|
|
21823
21823
|
description: "Skills library for AI coding agents",
|
|
21824
21824
|
type: "module",
|
|
21825
21825
|
bin: {
|
|
21826
|
-
skills: "
|
|
21827
|
-
"skills-mcp": "
|
|
21826
|
+
skills: "bin/index.js",
|
|
21827
|
+
"skills-mcp": "bin/mcp.js"
|
|
21828
21828
|
},
|
|
21829
21829
|
exports: {
|
|
21830
21830
|
".": {
|
package/dist/index.js
CHANGED
|
@@ -15504,7 +15504,7 @@ function finalize(ctx, schema) {
|
|
|
15504
15504
|
result.$schema = "http://json-schema.org/draft-07/schema#";
|
|
15505
15505
|
} else if (ctx.target === "draft-04") {
|
|
15506
15506
|
result.$schema = "http://json-schema.org/draft-04/schema#";
|
|
15507
|
-
} else if (ctx.target === "openapi-3.0") {}
|
|
15507
|
+
} else if (ctx.target === "openapi-3.0") {}
|
|
15508
15508
|
if (ctx.external?.uri) {
|
|
15509
15509
|
const id = ctx.external.registry.get(schema)?.id;
|
|
15510
15510
|
if (!id)
|
|
@@ -15752,7 +15752,7 @@ var literalProcessor = (schema, ctx, json, _params) => {
|
|
|
15752
15752
|
if (val === undefined) {
|
|
15753
15753
|
if (ctx.unrepresentable === "throw") {
|
|
15754
15754
|
throw new Error("Literal `undefined` cannot be represented in JSON Schema");
|
|
15755
|
-
}
|
|
15755
|
+
}
|
|
15756
15756
|
} else if (typeof val === "bigint") {
|
|
15757
15757
|
if (ctx.unrepresentable === "throw") {
|
|
15758
15758
|
throw new Error("BigInt literals cannot be represented in JSON Schema");
|
|
@@ -18833,12 +18833,12 @@ import { dirname as dirname4, relative as relative3 } from "path";
|
|
|
18833
18833
|
// package.json
|
|
18834
18834
|
var package_default = {
|
|
18835
18835
|
name: "@hasna/skills",
|
|
18836
|
-
version: "0.1.
|
|
18836
|
+
version: "0.1.50",
|
|
18837
18837
|
description: "Skills library for AI coding agents",
|
|
18838
18838
|
type: "module",
|
|
18839
18839
|
bin: {
|
|
18840
|
-
skills: "
|
|
18841
|
-
"skills-mcp": "
|
|
18840
|
+
skills: "bin/index.js",
|
|
18841
|
+
"skills-mcp": "bin/mcp.js"
|
|
18842
18842
|
},
|
|
18843
18843
|
exports: {
|
|
18844
18844
|
".": {
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hasna/skills",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.50",
|
|
4
4
|
"description": "Skills library for AI coding agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
|
-
"skills": "
|
|
8
|
-
"skills-mcp": "
|
|
7
|
+
"skills": "bin/index.js",
|
|
8
|
+
"skills-mcp": "bin/mcp.js"
|
|
9
9
|
},
|
|
10
10
|
"exports": {
|
|
11
11
|
".": {
|