financialclaw 1.0.2 → 1.0.4

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/README.es.md CHANGED
@@ -39,11 +39,12 @@ openclaw gateway restart
39
39
 
40
40
  `openclaw plugins install` registra el plugin pero no lo agrega a `plugins.allow`. Una vez que ese campo existe, OpenClaw lo usa como allowlist explícita — todo lo que no esté listado deja de funcionar, incluyendo canales activos como Telegram.
41
41
 
42
- `financialclaw-setup` lee el config actual y aplica tres cambios requeridos:
42
+ `financialclaw-setup` lee el config actual y aplica dos cambios requeridos:
43
43
 
44
44
  1. **`plugins.allow`** — agrega `financialclaw` junto a todos los canales y plugins activos para que nada deje de funcionar.
45
- 2. **`tools.profile`** — lo cambia a `"full"`. Profiles como `"coding"` o `"minimal"` excluyen tools de plugins, haciéndolos invisibles para el agente.
46
- 3. **`tools.allow`** — agrega `"financialclaw"` como entrada explícita en el allowlist de tools.
45
+ 2. **`tools.allow`** — agrega `"financialclaw"` como entrada explícita en el allowlist de tools.
46
+
47
+ > **Nota:** Si tu `tools.profile` está en algo distinto a `"full"` (ej. `"coding"`), los tools del plugin podrían no ser visibles para el agente. El script te avisará si es el caso — puedes cambiarlo manualmente si lo necesitas.
47
48
 
48
49
  También configura `dbPath` para que la BD persista entre reinstalaciones (por defecto: `~/.openclaw/workspace/financialclaw.db`).
49
50
 
package/README.md CHANGED
@@ -28,11 +28,12 @@ openclaw gateway restart
28
28
 
29
29
  `openclaw plugins install` registers the plugin but does not add it to `plugins.allow`. Once that field exists, OpenClaw uses it as an explicit allowlist — anything not listed stops working, including active channels like Telegram.
30
30
 
31
- `financialclaw-setup` reads your current config and applies three required changes:
31
+ `financialclaw-setup` reads your current config and applies two required changes:
32
32
 
33
33
  1. **`plugins.allow`** — adds `financialclaw` alongside all active channels and plugins so nothing stops working.
34
- 2. **`tools.profile`** — sets it to `"full"`. Profiles like `"coding"` or `"minimal"` exclude plugin tools entirely, making them invisible to the agent.
35
- 3. **`tools.allow`** — adds `"financialclaw"` as an explicit tool allowlist entry.
34
+ 2. **`tools.allow`** — adds `"financialclaw"` as an explicit tool allowlist entry.
35
+
36
+ > **Note:** If your `tools.profile` is set to something other than `"full"` (e.g. `"coding"`), plugin tools may be hidden from the agent. The setup script will warn you if this is the case — you can change it manually if needed.
36
37
 
37
38
  It also sets `plugins.entries.financialclaw.config.dbPath` so the database persists across reinstalls (default: `~/.openclaw/workspace/financialclaw.db`).
38
39
 
@@ -9,7 +9,7 @@
9
9
  * 1. Adds "financialclaw" to plugins.allow (preserving active channels
10
10
  * and plugins so they don't get blocked)
11
11
  * 2. Sets plugins.entries.financialclaw.config.dbPath if not already set
12
- * 3. Sets tools.profile to "full" so plugin tools are visible to the agent
12
+ * 3. Warns if tools.profile is not "full" (does not modify it)
13
13
  * 4. Adds "financialclaw" to tools.allow as explicit allowlist entry
14
14
  *
15
15
  * Usage:
@@ -127,18 +127,16 @@ if (!fc.config.dbPath) {
127
127
  changes.push(`Set database path: ${dbPath}`);
128
128
  }
129
129
 
130
- // 3. Ensure tools.profile is "full" so plugin tools are visible to the agent
130
+ // 3. Check tools.profile warn if not "full" but don't modify it
131
131
  // Profiles like "coding" or "minimal" exclude plugin tools entirely
132
132
  {
133
133
  const tools = (cfg.tools ??= {});
134
134
  const prev = tools.profile;
135
- if (prev !== "full") {
136
- changes.push(
137
- prev
138
- ? `Change tools.profile: "${prev}" "full" (required for plugin tools to be visible)`
139
- : `Set tools.profile: "full" (required for plugin tools to be visible)`
140
- );
141
- tools.profile = "full";
135
+ if (prev && prev !== "full") {
136
+ console.log(`\n⚠ Warning: tools.profile is set to "${prev}".`);
137
+ console.log(` Profiles other than "full" may hide plugin tools from the agent.`);
138
+ console.log(` If financialclaw tools are not visible after setup, change it manually:`);
139
+ console.log(` Set tools.profile to "full" in ${configPath}\n`);
142
140
  }
143
141
  }
144
142
 
@@ -172,8 +170,8 @@ if (!skipConfirm) {
172
170
  console.log("\nTo configure financialclaw manually, add the following to your OpenClaw config:\n");
173
171
  console.log(` 1. Add "financialclaw" to plugins.allow`);
174
172
  console.log(` 2. Add "financialclaw" to tools.allow`);
175
- console.log(` 3. Set tools.profile to "full"`);
176
- console.log(` 4. Set plugins.entries.financialclaw.config.dbPath to your desired path`);
173
+ console.log(` 3. Set plugins.entries.financialclaw.config.dbPath to your desired path`);
174
+ console.log(` 4. If plugin tools are not visible, set tools.profile to "full"`);
177
175
  console.log(`\nConfig file: ${configPath}`);
178
176
  console.log(`After making changes, restart the gateway: openclaw gateway restart`);
179
177
  process.exit(0);
@@ -1,2 +1,2 @@
1
1
  export declare const PACKAGE_NAME = "financialclaw";
2
- export declare const PACKAGE_VERSION = "1.0.2";
2
+ export declare const PACKAGE_VERSION = "1.0.4";
@@ -1,2 +1,2 @@
1
1
  export const PACKAGE_NAME = "financialclaw";
2
- export const PACKAGE_VERSION = "1.0.2"; // x-release-please-version
2
+ export const PACKAGE_VERSION = "1.0.4"; // x-release-please-version
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "financialclaw",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "Personal finance plugin for OpenClaw: expenses, income, recurring payments, and receipt OCR",
5
5
  "type": "module",
6
6
  "bin": {