@goplausible/openclaw-algorand-plugin 0.8.1 → 0.8.3
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/index.ts +3 -2
- package/package.json +1 -1
- package/setup.ts +1 -1
package/index.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { runSetup, type AlgorandPluginConfig } from "./setup.js";
|
|
|
3
3
|
import { x402Fetch } from "./lib/x402-fetch.js";
|
|
4
4
|
import { readFileSync, writeFileSync, existsSync, mkdirSync } from "node:fs";
|
|
5
5
|
import { dirname, join } from "node:path";
|
|
6
|
+
import { homedir } from "node:os";
|
|
6
7
|
import { fileURLToPath } from "node:url";
|
|
7
8
|
import { execSync } from "node:child_process";
|
|
8
9
|
|
|
@@ -39,11 +40,11 @@ interface PluginApi {
|
|
|
39
40
|
|
|
40
41
|
function getWorkspacePath(api: PluginApi): string {
|
|
41
42
|
return api.config.agents?.defaults?.workspace ||
|
|
42
|
-
join(
|
|
43
|
+
join(homedir(), ".openclaw", "workspace");
|
|
43
44
|
}
|
|
44
45
|
|
|
45
46
|
function getConfigPath(): string {
|
|
46
|
-
return join(
|
|
47
|
+
return join(homedir(), ".openclaw", "openclaw.json");
|
|
47
48
|
}
|
|
48
49
|
|
|
49
50
|
function getMcpBinaryPath(): string {
|
package/package.json
CHANGED
package/setup.ts
CHANGED
|
@@ -11,7 +11,7 @@ export async function runSetup(
|
|
|
11
11
|
): Promise<AlgorandPluginConfig | null> {
|
|
12
12
|
p.intro("🔷 Algorand Plugin Setup — powered by GoPlausible");
|
|
13
13
|
|
|
14
|
-
// Step 1: Verify algorand-mcp binary is available
|
|
14
|
+
// // Step 1: Verify algorand-mcp binary is available
|
|
15
15
|
// let mcpAvailable = false;
|
|
16
16
|
// let mcpPath = "";
|
|
17
17
|
// try {
|