@sellable/mcp 0.1.284 → 0.1.285

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/dist/index-dev.js CHANGED
File without changes
package/dist/index.js CHANGED
File without changes
package/dist/skills.js CHANGED
@@ -57,11 +57,28 @@ function parseFrontmatter(content) {
57
57
  }
58
58
  }
59
59
  return {
60
- name: nameMatch ? nameMatch[1].trim() : "",
61
- description: descriptionMatch ? descriptionMatch[1].trim() : "",
60
+ name: nameMatch ? parseFrontmatterScalar(nameMatch[1]) : "",
61
+ description: descriptionMatch
62
+ ? parseFrontmatterScalar(descriptionMatch[1])
63
+ : "",
62
64
  visibility,
63
65
  };
64
66
  }
67
+ function parseFrontmatterScalar(value) {
68
+ const trimmed = value.trim();
69
+ if ((trimmed.startsWith('"') && trimmed.endsWith('"')) ||
70
+ (trimmed.startsWith("'") && trimmed.endsWith("'"))) {
71
+ try {
72
+ return JSON.parse(trimmed);
73
+ }
74
+ catch {
75
+ if (trimmed.startsWith("'")) {
76
+ return trimmed.slice(1, -1).replace(/''/g, "'");
77
+ }
78
+ }
79
+ }
80
+ return trimmed;
81
+ }
65
82
  export function loadSkills(force = false) {
66
83
  if (!force && cachedSkills) {
67
84
  return cachedSkills;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellable/mcp",
3
- "version": "0.1.284",
3
+ "version": "0.1.285",
4
4
  "type": "module",
5
5
  "description": "Sellable MCP server for Claude Code and Codex campaign workflows",
6
6
  "main": "dist/index.js",
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: foundation
3
- description: Build or update durable founder/company memory: voice, values, proof, stories, positioning, and writing rules.
3
+ description: "Build or update durable founder/company memory: voice, values, proof, stories, positioning, and writing rules."
4
4
  visibility: public
5
5
  ---
6
6