@hasna/skills 0.1.34 → 0.1.35

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
@@ -1910,7 +1910,7 @@ var package_default;
1910
1910
  var init_package = __esm(() => {
1911
1911
  package_default = {
1912
1912
  name: "@hasna/skills",
1913
- version: "0.1.34",
1913
+ version: "0.1.35",
1914
1914
  description: "Skills library for AI coding agents",
1915
1915
  type: "module",
1916
1916
  bin: {
@@ -42333,6 +42333,9 @@ function requireHostedAuth(json2) {
42333
42333
  const config2 = getAuthConfig();
42334
42334
  if (config2)
42335
42335
  return config2;
42336
+ const apiKey = getApiKey();
42337
+ if (apiKey)
42338
+ return { apiKey };
42336
42339
  const message = "Not signed in. Run: skills auth login";
42337
42340
  if (json2)
42338
42341
  console.log(JSON.stringify({ error: message }));
package/bin/mcp.js CHANGED
@@ -21793,7 +21793,7 @@ class StdioServerTransport {
21793
21793
  // package.json
21794
21794
  var package_default = {
21795
21795
  name: "@hasna/skills",
21796
- version: "0.1.34",
21796
+ version: "0.1.35",
21797
21797
  description: "Skills library for AI coding agents",
21798
21798
  type: "module",
21799
21799
  bin: {
package/dist/index.js CHANGED
@@ -18031,7 +18031,7 @@ import { dirname as dirname3, relative as relative2 } from "path";
18031
18031
  // package.json
18032
18032
  var package_default = {
18033
18033
  name: "@hasna/skills",
18034
- version: "0.1.34",
18034
+ version: "0.1.35",
18035
18035
  description: "Skills library for AI coding agents",
18036
18036
  type: "module",
18037
18037
  bin: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/skills",
3
- "version": "0.1.34",
3
+ "version": "0.1.35",
4
4
  "description": "Skills library for AI coding agents",
5
5
  "type": "module",
6
6
  "bin": {