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 +4 -3
- package/README.md +4 -3
- package/bin/financialclaw-setup.mjs +9 -11
- package/dist/src/version.d.ts +1 -1
- package/dist/src/version.js +1 -1
- package/package.json +1 -1
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
|
|
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.
|
|
46
|
-
|
|
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
|
|
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.
|
|
35
|
-
|
|
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.
|
|
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.
|
|
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
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
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
|
|
176
|
-
console.log(` 4.
|
|
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);
|
package/dist/src/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const PACKAGE_NAME = "financialclaw";
|
|
2
|
-
export declare const PACKAGE_VERSION = "1.0.
|
|
2
|
+
export declare const PACKAGE_VERSION = "1.0.4";
|
package/dist/src/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const PACKAGE_NAME = "financialclaw";
|
|
2
|
-
export const PACKAGE_VERSION = "1.0.
|
|
2
|
+
export const PACKAGE_VERSION = "1.0.4"; // x-release-please-version
|