claudekit-cli 4.3.1-dev.3 → 4.3.1-dev.5
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/cli-manifest.json
CHANGED
package/dist/index.js
CHANGED
|
@@ -49999,7 +49999,7 @@ var init_ck_config_schema = __esm(() => {
|
|
|
49999
49999
|
"descriptive-name": {
|
|
50000
50000
|
type: "boolean",
|
|
50001
50001
|
default: true,
|
|
50002
|
-
description: "PreToolUse hook -
|
|
50002
|
+
description: "PreToolUse hook - injects language-aware descriptive file naming guidance"
|
|
50003
50003
|
},
|
|
50004
50004
|
"dev-rules-reminder": {
|
|
50005
50005
|
type: "boolean",
|
|
@@ -63358,7 +63358,7 @@ var package_default;
|
|
|
63358
63358
|
var init_package = __esm(() => {
|
|
63359
63359
|
package_default = {
|
|
63360
63360
|
name: "claudekit-cli",
|
|
63361
|
-
version: "4.3.1-dev.
|
|
63361
|
+
version: "4.3.1-dev.5",
|
|
63362
63362
|
description: "CLI tool for bootstrapping and updating ClaudeKit projects",
|
|
63363
63363
|
type: "module",
|
|
63364
63364
|
repository: {
|
|
@@ -102589,6 +102589,10 @@ function pruneZombieEngineerWirings(settings, hookDir) {
|
|
|
102589
102589
|
return { settings, pruned };
|
|
102590
102590
|
}
|
|
102591
102591
|
function shouldPruneEntry(entry, hookDir, pruned) {
|
|
102592
|
+
if (isLegacyDescriptiveNamePrompt(entry)) {
|
|
102593
|
+
pruned.push("legacy-descriptive-name-prompt");
|
|
102594
|
+
return true;
|
|
102595
|
+
}
|
|
102592
102596
|
if (entry._origin !== "engineer")
|
|
102593
102597
|
return false;
|
|
102594
102598
|
const filePath = extractHookFilePath(entry.command, hookDir);
|
|
@@ -102599,6 +102603,12 @@ function shouldPruneEntry(entry, hookDir, pruned) {
|
|
|
102599
102603
|
pruned.push(basename26(filePath));
|
|
102600
102604
|
return true;
|
|
102601
102605
|
}
|
|
102606
|
+
function isLegacyDescriptiveNamePrompt(entry) {
|
|
102607
|
+
const prompt = entry.prompt;
|
|
102608
|
+
if (entry.type !== "prompt" || typeof prompt !== "string")
|
|
102609
|
+
return false;
|
|
102610
|
+
return prompt.includes("Use kebab-case file naming") && prompt.includes("self-documenting") && prompt.includes("Grep, Glob, Search");
|
|
102611
|
+
}
|
|
102602
102612
|
function extractHookFilePath(command, hookDir) {
|
|
102603
102613
|
if (!command)
|
|
102604
102614
|
return null;
|
|
@@ -148,7 +148,7 @@ Please change the parent <Route path="${w}"> to <Route path="${w==="/"?"*":`${w}
|
|
|
148
148
|
"hooks": {
|
|
149
149
|
"subagent-init": false
|
|
150
150
|
}
|
|
151
|
-
}`},"hooks.descriptive-name":{path:"hooks.descriptive-name",type:"boolean",default:"true",description:"Injects
|
|
151
|
+
}`},"hooks.descriptive-name":{path:"hooks.descriptive-name",type:"boolean",default:"true",description:"Injects language-aware naming context so agents generate meaningful, self-documenting file names.",descriptionVi:"Tiêm ngữ cảnh đặt tên theo ngôn ngữ để agent tạo tên tệp có ý nghĩa, tự tài liệu hóa.",effect:"When enabled, reminds the agent to prefer descriptive names while respecting language conventions such as snake_case for Python, Go, and Rust.",effectVi:"Khi bật, nhắc agent ưu tiên tên mô tả nhưng vẫn theo quy ước ngôn ngữ như snake_case cho Python, Go và Rust.",example:`{
|
|
152
152
|
"hooks": {
|
|
153
153
|
"descriptive-name": false
|
|
154
154
|
}
|
package/dist/ui/index.html
CHANGED
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
background: var(--dash-text-muted);
|
|
72
72
|
}
|
|
73
73
|
</style>
|
|
74
|
-
<script type="module" crossorigin src="/assets/index-
|
|
74
|
+
<script type="module" crossorigin src="/assets/index-SfhG5yaa.js"></script>
|
|
75
75
|
<link rel="modulepreload" crossorigin href="/assets/vendor-BkC4CYzM.js">
|
|
76
76
|
<link rel="stylesheet" crossorigin href="/assets/index-fz2_unLw.css">
|
|
77
77
|
</head>
|