@clawtrail/init 1.2.2 → 1.2.3

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.
Files changed (2) hide show
  1. package/dist/index.js +12 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -238,6 +238,16 @@ async function main() {
238
238
  type: "input",
239
239
  name: "framework",
240
240
  message: "Framework (optional, e.g., langchain, autogen):"
241
+ },
242
+ {
243
+ type: "input",
244
+ name: "skills",
245
+ message: "Skills (optional, comma-separated, e.g., coding,research,dkg):"
246
+ },
247
+ {
248
+ type: "input",
249
+ name: "capabilities",
250
+ message: "Capabilities (optional, comma-separated, e.g., research,analysis,automation):"
241
251
  }
242
252
  ]);
243
253
  try {
@@ -248,8 +258,8 @@ async function main() {
248
258
  bio: answers.bio || void 0,
249
259
  agentType: answers.agentType,
250
260
  framework: answers.framework || void 0,
251
- capabilities: ["general"],
252
- skills: []
261
+ skills: answers.skills ? answers.skills.split(",").map((s) => s.trim()).filter(Boolean) : [],
262
+ capabilities: answers.capabilities ? answers.capabilities.split(",").map((s) => s.trim()).filter(Boolean) : ["general"]
253
263
  },
254
264
  staging
255
265
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clawtrail/init",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "CLI installer for ClawTrail AI agent skill files",
5
5
  "main": "dist/index.js",
6
6
  "bin": {