cc-claw 0.3.8 → 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.
Files changed (2) hide show
  1. package/dist/cli.js +3 -4
  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.8" : (() => {
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] });
@@ -11718,9 +11718,8 @@ async function main() {
11718
11718
  } catch {
11719
11719
  log("[cc-claw] Session summarization skipped (timeout or backend unavailable)");
11720
11720
  }
11721
- clearAllSessions();
11722
11721
  setBootTime();
11723
- log("[cc-claw] Database initialized (stale sessions cleared)");
11722
+ log("[cc-claw] Database initialized (sessions preserved for resume)");
11724
11723
  if (process.env.TELEGRAM_BOT_TOKEN) {
11725
11724
  channelRegistry.register(new TelegramChannel());
11726
11725
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-claw",
3
- "version": "0.3.8",
3
+ "version": "0.3.10",
4
4
  "description": "CC-Claw: Personal AI assistant on Telegram — multi-backend (Claude, Gemini, Codex), sub-agent orchestration, MCP management",
5
5
  "type": "module",
6
6
  "main": "dist/cli.js",