sc-research 1.0.9 → 1.0.11

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/cli.js CHANGED
@@ -129,6 +129,14 @@ function renderClaudeWithRoot(template, rootDir) {
129
129
  function normalizeBody2(body) {
130
130
  return body.endsWith(`
131
131
  `) ? body : `${body}
132
+ `;
133
+ }
134
+ function renderFrontmatter2(lines) {
135
+ return `---
136
+ ${lines.join(`
137
+ `)}
138
+ ---
139
+
132
140
  `;
133
141
  }
134
142
  function renderMarkdownOnly(template, options) {
@@ -138,12 +146,17 @@ function renderMarkdownOnly(template, options) {
138
146
  if (template.kind === "skill") {
139
147
  return {
140
148
  path: `${normalizedRoot}/${normalizedSkillDir}/${template.id}/${options.skillFileName}`,
141
- content: normalizeBody2(template.body)
149
+ content: `${renderFrontmatter2([
150
+ `name: ${template.id}`,
151
+ `description: ${template.description}`
152
+ ])}${normalizeBody2(template.body)}`
142
153
  };
143
154
  }
144
155
  return {
145
156
  path: `${normalizedRoot}/${normalizedCommandDir}/${template.id}.md`,
146
- content: normalizeBody2(template.body)
157
+ content: `${renderFrontmatter2([
158
+ `description: ${template.description}`
159
+ ])}${normalizeBody2(template.body)}`
147
160
  };
148
161
  }
149
162
  // src/cli/platforms/config/load-platform-config.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sc-research",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "description": "Headless Social Media Research Data Provider for AI Agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "platform": "antigravity",
3
3
  "folderStructure": {
4
- "root": ".agents"
4
+ "root": ".agent"
5
5
  }
6
6
  }