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.
Files changed (2) hide show
  1. package/dist/cli.js +3 -4
  2. 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.1" : (() => {
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 hasType = /^type:/m.test(fm);
30649
- const hasStatus = /^status:/m.test(fm);
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-claw",
3
- "version": "0.22.1",
3
+ "version": "0.22.2",
4
4
  "description": "CC-Claw: Personal AI assistant on Telegram — multi-backend (Claude, Gemini, Codex, Cursor), sub-agent orchestration, MCP management",
5
5
  "type": "module",
6
6
  "main": "dist/cli.js",