cc-claw 0.22.1 → 0.22.2
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 +3 -4
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -33,7 +33,7 @@ var VERSION;
|
|
|
33
33
|
var init_version = __esm({
|
|
34
34
|
"src/version.ts"() {
|
|
35
35
|
"use strict";
|
|
36
|
-
VERSION = true ? "0.22.
|
|
36
|
+
VERSION = true ? "0.22.2" : (() => {
|
|
37
37
|
try {
|
|
38
38
|
return JSON.parse(readFileSync(join(process.cwd(), "package.json"), "utf-8")).version ?? "unknown";
|
|
39
39
|
} catch {
|
|
@@ -30645,9 +30645,8 @@ function migrateSkillsToThreeTier() {
|
|
|
30645
30645
|
const fmMatch = raw.match(/^---\s*\n([\s\S]*?)\n---/);
|
|
30646
30646
|
if (fmMatch) {
|
|
30647
30647
|
const fm = fmMatch[1];
|
|
30648
|
-
const
|
|
30649
|
-
|
|
30650
|
-
if (hasType && hasStatus) {
|
|
30648
|
+
const alreadyApproved = /^status:\s*approved/m.test(fm);
|
|
30649
|
+
if (alreadyApproved) {
|
|
30651
30650
|
skipped++;
|
|
30652
30651
|
continue;
|
|
30653
30652
|
}
|
package/package.json
CHANGED