cc-claw 0.3.9 → 0.3.10
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 +2 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -48,7 +48,7 @@ var VERSION;
|
|
|
48
48
|
var init_version = __esm({
|
|
49
49
|
"src/version.ts"() {
|
|
50
50
|
"use strict";
|
|
51
|
-
VERSION = true ? "0.3.
|
|
51
|
+
VERSION = true ? "0.3.10" : (() => {
|
|
52
52
|
try {
|
|
53
53
|
return JSON.parse(readFileSync(join2(process.cwd(), "package.json"), "utf-8")).version ?? "unknown";
|
|
54
54
|
} catch {
|
|
@@ -7808,7 +7808,7 @@ You can edit ~/.cc-claw/workspace/USER.md anytime or run /setup-profile again.`,
|
|
|
7808
7808
|
);
|
|
7809
7809
|
}
|
|
7810
7810
|
function extractUserUpdates(text) {
|
|
7811
|
-
const pattern = /\[UPDATE_USER:(\w+)=(.+?)\]/g;
|
|
7811
|
+
const pattern = /\[UPDATE_USER:([\w-]+)=(.+?)\]/g;
|
|
7812
7812
|
const updates = [];
|
|
7813
7813
|
for (const match of text.matchAll(pattern)) {
|
|
7814
7814
|
updates.push({ key: match[1], value: match[2] });
|
package/package.json
CHANGED