create-dokio 0.1.11 → 0.1.12

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 +3 -5
  2. package/package.json +2 -1
package/dist/index.js CHANGED
@@ -942,12 +942,10 @@ def generate_description(title, files, diff):
942
942
  diff_section = f"\\n\\nDiff:\\n\`\`\`\\n{diff[:4000]}\\n\`\`\`" if diff.strip() else ""
943
943
 
944
944
  prompt = (
945
- f"You are writing a changelog description for a Dokio template.\\n\\n"
946
- f"Commit title: {title}\\n"
947
- f"Files changed:\\n{files_str}"
945
+ f"Commit: {title}\\n"
946
+ f"Files:\\n{files_str}"
948
947
  f"{diff_section}\\n\\n"
949
- f"Write a clear, concise description (2-4 sentences) explaining what changed and why. "
950
- f"Focus on impact and purpose. Be specific but brief. No markdown headers or bullet points."
948
+ f"Write one sentence describing what changed. Be direct and specific. No filler words."
951
949
  )
952
950
 
953
951
  message = client.messages.create(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-dokio",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
4
4
  "description": "CLI scaffold for Dokio templates",
5
5
  "type": "module",
6
6
  "bin": {
@@ -18,6 +18,7 @@
18
18
  "prompts": "^2.4.2"
19
19
  },
20
20
  "devDependencies": {
21
+ "@anthropic-ai/sdk": "^0.100.1",
21
22
  "@commitlint/cli": "^19.0.0",
22
23
  "@commitlint/config-conventional": "^19.0.0",
23
24
  "@commitlint/types": "^19.0.0",