cc-claw 0.3.0 → 0.3.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 +9 -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.0" : (() => {
51
+ VERSION = true ? "0.3.1" : (() => {
52
52
  try {
53
53
  return JSON.parse(readFileSync(join2(process.cwd(), "package.json"), "utf-8")).version ?? "unknown";
54
54
  } catch {
@@ -4104,6 +4104,9 @@ async function startAgent(agentId, chatId, opts) {
4104
4104
  }
4105
4105
  let mcpExtraArgs = [];
4106
4106
  let orchestratorMcpName = "";
4107
+ if (process.env.DASHBOARD_ENABLED !== "1") {
4108
+ warn(`[orchestrator] DASHBOARD_ENABLED is not set \u2014 agent ${agentId.slice(0, 8)} will NOT have orchestrator MCP tools (set_state, send_message, etc.)`);
4109
+ }
4107
4110
  if (process.env.DASHBOARD_ENABLED === "1") {
4108
4111
  try {
4109
4112
  const { createSubAgentToken: createSubAgentToken2 } = await Promise.resolve().then(() => (init_server(), server_exports));
@@ -4123,6 +4126,9 @@ async function startAgent(agentId, chatId, opts) {
4123
4126
  });
4124
4127
  mcpsAdded = [...mcpsAdded, orchestratorMcpName];
4125
4128
  updateAgentMcpsAdded(db3, agentId, mcpsAdded);
4129
+ if (runner.id === "gemini") {
4130
+ mcpExtraArgs = [`--allowed-mcp-server-names=${orchestratorMcpName}`];
4131
+ }
4126
4132
  log(`[orchestrator] Injected cc-claw MCP via add-remove for agent ${agentId.slice(0, 8)}`);
4127
4133
  }
4128
4134
  } catch (err) {
@@ -12014,7 +12020,7 @@ async function doctorCommand(globalOpts, localOpts) {
12014
12020
  const r = d;
12015
12021
  const lines = [
12016
12022
  "",
12017
- box("CC-Claw Doctor"),
12023
+ box(`CC-Claw Doctor v${VERSION}`),
12018
12024
  ""
12019
12025
  ];
12020
12026
  for (const c of r.checks) {
@@ -12044,6 +12050,7 @@ var init_doctor = __esm({
12044
12050
  "use strict";
12045
12051
  init_format();
12046
12052
  init_paths();
12053
+ init_version();
12047
12054
  }
12048
12055
  });
12049
12056
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-claw",
3
- "version": "0.3.0",
3
+ "version": "0.3.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",