cc-claw 0.8.0 → 0.8.1

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 +17 -17
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -70,7 +70,7 @@ var VERSION;
70
70
  var init_version = __esm({
71
71
  "src/version.ts"() {
72
72
  "use strict";
73
- VERSION = true ? "0.8.0" : (() => {
73
+ VERSION = true ? "0.8.1" : (() => {
74
74
  try {
75
75
  return JSON.parse(readFileSync(join2(process.cwd(), "package.json"), "utf-8")).version ?? "unknown";
76
76
  } catch {
@@ -11972,40 +11972,40 @@ function buildProposalKeyboard(insightId, category) {
11972
11972
  if (category === "codebase") {
11973
11973
  return [
11974
11974
  [
11975
- { text: "Show Diff", callback_data: `evolve:diff:${insightId}` },
11976
- { text: "Skip", callback_data: `evolve:skip:${insightId}` },
11977
- { text: "Reject", callback_data: `evolve:reject:${insightId}` }
11975
+ { label: "Show Diff", data: `evolve:diff:${insightId}` },
11976
+ { label: "Skip", data: `evolve:skip:${insightId}` },
11977
+ { label: "Reject", data: `evolve:reject:${insightId}` }
11978
11978
  ]
11979
11979
  ];
11980
11980
  }
11981
11981
  return [
11982
11982
  [
11983
- { text: "Apply", callback_data: `evolve:apply:${insightId}` },
11984
- { text: "Skip", callback_data: `evolve:skip:${insightId}` },
11985
- { text: "Reject", callback_data: `evolve:reject:${insightId}` }
11983
+ { label: "Apply", data: `evolve:apply:${insightId}` },
11984
+ { label: "Skip", data: `evolve:skip:${insightId}` },
11985
+ { label: "Reject", data: `evolve:reject:${insightId}` }
11986
11986
  ]
11987
11987
  ];
11988
11988
  }
11989
11989
  function buildEvolveMenuKeyboard() {
11990
11990
  return [
11991
11991
  [
11992
- { text: "Analyze Now", callback_data: "evolve:analyze" },
11993
- { text: "Review Proposals", callback_data: "evolve:review" }
11992
+ { label: "Analyze Now", data: "evolve:analyze" },
11993
+ { label: "Review Proposals", data: "evolve:review" }
11994
11994
  ],
11995
11995
  [
11996
- { text: "Stats", callback_data: "evolve:stats" },
11997
- { text: "History", callback_data: "evolve:history" }
11996
+ { label: "Stats", data: "evolve:stats" },
11997
+ { label: "History", data: "evolve:history" }
11998
11998
  ],
11999
11999
  [
12000
- { text: "On/Off", callback_data: "evolve:toggle" },
12001
- { text: "Undo", callback_data: "evolve:undo" },
12002
- { text: "Model", callback_data: "evolve:model" }
12000
+ { label: "On/Off", data: "evolve:toggle" },
12001
+ { label: "Undo", data: "evolve:undo" },
12002
+ { label: "Model", data: "evolve:model" }
12003
12003
  ]
12004
12004
  ];
12005
12005
  }
12006
12006
  function buildUndoKeyboard(insights) {
12007
12007
  return insights.map((ins) => [
12008
- { text: `Undo #${ins.id}: ${ins.insight}`, callback_data: `evolve:undo:${ins.id}` }
12008
+ { label: `Undo #${ins.id}: ${ins.insight}`, data: `evolve:undo:${ins.id}` }
12009
12009
  ]);
12010
12010
  }
12011
12011
  function buildModelKeyboard(currentMode) {
@@ -12016,8 +12016,8 @@ function buildModelKeyboard(currentMode) {
12016
12016
  ];
12017
12017
  return [
12018
12018
  modes.map(({ label: label2, mode }) => ({
12019
- text: mode === currentMode ? `[${label2}]` : label2,
12020
- callback_data: `evolve:model:${mode}`
12019
+ label: mode === currentMode ? `[${label2}]` : label2,
12020
+ data: `evolve:model:${mode}`
12021
12021
  }))
12022
12022
  ];
12023
12023
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-claw",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
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",