agentcash 0.6.9 → 0.6.10
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/dist/cjs/run-server.cjs +3 -3
- package/dist/esm/{chunk-2FOKB5S4.js → chunk-BRDMMHEQ.js} +2 -2
- package/dist/esm/chunk-CU5TC4GQ.js +7 -0
- package/dist/esm/{chunk-3LNYGC5Y.js.map → chunk-CU5TC4GQ.js.map} +1 -1
- package/dist/esm/{chunk-DQPXILV6.js → chunk-DREKGGZJ.js} +3 -3
- package/dist/esm/{chunk-QTO5OIB5.js → chunk-HRFGLP6E.js} +3 -3
- package/dist/esm/{chunk-AVSQFB5R.js → chunk-ITPKPIJC.js} +3 -3
- package/dist/esm/{chunk-BWGQ3X6F.js → chunk-JNYAKINU.js} +2 -2
- package/dist/esm/{chunk-BWGQ3X6F.js.map → chunk-JNYAKINU.js.map} +1 -1
- package/dist/esm/{chunk-GWSLNEAF.js → chunk-V4B6FDUP.js} +2 -2
- package/dist/esm/{commands-3RHQQZTG.js → commands-NXFUKNPZ.js} +9 -9
- package/dist/esm/index.js +16 -16
- package/dist/esm/{install-VUZ7Z6V2.js → install-U7N5DVC4.js} +4 -4
- package/dist/esm/lib.js +2 -2
- package/dist/esm/{server-FSJVWVW7.js → server-UU4Y7IOG.js} +7 -7
- package/dist/esm/shared/operations/index.js +4 -4
- package/package.json +3 -3
- package/dist/esm/chunk-3LNYGC5Y.js +0 -7
- /package/dist/esm/{chunk-2FOKB5S4.js.map → chunk-BRDMMHEQ.js.map} +0 -0
- /package/dist/esm/{chunk-DQPXILV6.js.map → chunk-DREKGGZJ.js.map} +0 -0
- /package/dist/esm/{chunk-QTO5OIB5.js.map → chunk-HRFGLP6E.js.map} +0 -0
- /package/dist/esm/{chunk-AVSQFB5R.js.map → chunk-ITPKPIJC.js.map} +0 -0
- /package/dist/esm/{chunk-GWSLNEAF.js.map → chunk-V4B6FDUP.js.map} +0 -0
- /package/dist/esm/{commands-3RHQQZTG.js.map → commands-NXFUKNPZ.js.map} +0 -0
- /package/dist/esm/{install-VUZ7Z6V2.js.map → install-U7N5DVC4.js.map} +0 -0
- /package/dist/esm/{server-FSJVWVW7.js.map → server-UU4Y7IOG.js.map} +0 -0
package/dist/cjs/run-server.cjs
CHANGED
|
@@ -113813,7 +113813,7 @@ var import_path2 = require("path");
|
|
|
113813
113813
|
var import_url = require("url");
|
|
113814
113814
|
function getVersion2() {
|
|
113815
113815
|
if (true) {
|
|
113816
|
-
return "0.6.
|
|
113816
|
+
return "0.6.10";
|
|
113817
113817
|
}
|
|
113818
113818
|
const __dirname3 = (0, import_path2.dirname)((0, import_url.fileURLToPath)(importMetaUrl));
|
|
113819
113819
|
const pkg = JSON.parse(
|
|
@@ -113976,7 +113976,7 @@ var TEMPO_TOKEN_ADDRESS = "0x20c0000000000000000000000000000000000000";
|
|
|
113976
113976
|
|
|
113977
113977
|
// src/shared/mpp-enabled.ts
|
|
113978
113978
|
init_cjs_shims();
|
|
113979
|
-
var isMppEnabled = () => "0.6.
|
|
113979
|
+
var isMppEnabled = () => "0.6.10".includes("-mpp");
|
|
113980
113980
|
|
|
113981
113981
|
// src/shared/operations/fetch-with-payment.ts
|
|
113982
113982
|
init_cjs_shims();
|
|
@@ -117166,7 +117166,7 @@ var import_path3 = require("path");
|
|
|
117166
117166
|
var import_url2 = require("url");
|
|
117167
117167
|
function getVersion3() {
|
|
117168
117168
|
if (true) {
|
|
117169
|
-
return "0.6.
|
|
117169
|
+
return "0.6.10";
|
|
117170
117170
|
}
|
|
117171
117171
|
const __dirname3 = (0, import_path3.dirname)((0, import_url2.fileURLToPath)(importMetaUrl));
|
|
117172
117172
|
const pkg = JSON.parse(
|
|
@@ -4,7 +4,7 @@ import { dirname, join } from "path";
|
|
|
4
4
|
import { fileURLToPath } from "url";
|
|
5
5
|
function getVersion() {
|
|
6
6
|
if (true) {
|
|
7
|
-
return "0.6.
|
|
7
|
+
return "0.6.10";
|
|
8
8
|
}
|
|
9
9
|
const __dirname2 = dirname(fileURLToPath(import.meta.url));
|
|
10
10
|
const pkg = JSON.parse(
|
|
@@ -19,4 +19,4 @@ export {
|
|
|
19
19
|
MCP_VERSION,
|
|
20
20
|
DIST_TAG
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=chunk-
|
|
22
|
+
//# sourceMappingURL=chunk-BRDMMHEQ.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/shared/mpp-enabled.ts"],"sourcesContent":["declare const __MCP_VERSION__: string | undefined;\n\n/**\n * MPP features are visible when running a pre-release build published to the `mpp` dist-tag.\n * Pre-release versions look like `0.5.0-mpp.0` (managed by changesets).\n * On the `latest` dist-tag (e.g., `0.5.0`), MPP code stays in the binary but is\n * hidden from all agent-visible surfaces (tool schemas, CLI help, protocol detection).\n *\n * In dev (tsx, unbundled) __MCP_VERSION__ is not defined — defaults to enabled\n * so developers always have full MPP access during local development.\n */\nexport const isMppEnabled = () =>\n typeof __MCP_VERSION__ !== 'string' || __MCP_VERSION__.includes('-mpp');\n"],"mappings":";AAWO,IAAM,eAAe,MACa,
|
|
1
|
+
{"version":3,"sources":["../../src/shared/mpp-enabled.ts"],"sourcesContent":["declare const __MCP_VERSION__: string | undefined;\n\n/**\n * MPP features are visible when running a pre-release build published to the `mpp` dist-tag.\n * Pre-release versions look like `0.5.0-mpp.0` (managed by changesets).\n * On the `latest` dist-tag (e.g., `0.5.0`), MPP code stays in the binary but is\n * hidden from all agent-visible surfaces (tool schemas, CLI help, protocol detection).\n *\n * In dev (tsx, unbundled) __MCP_VERSION__ is not defined — defaults to enabled\n * so developers always have full MPP access during local development.\n */\nexport const isMppEnabled = () =>\n typeof __MCP_VERSION__ !== 'string' || __MCP_VERSION__.includes('-mpp');\n"],"mappings":";AAWO,IAAM,eAAe,MACa,SAAgB,SAAS,MAAM;","names":[]}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clientMetadata
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JNYAKINU.js";
|
|
4
4
|
import {
|
|
5
5
|
DIST_TAG
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BRDMMHEQ.js";
|
|
7
7
|
import {
|
|
8
8
|
wait
|
|
9
9
|
} from "./chunk-DZNSJ2BA.js";
|
|
@@ -626,4 +626,4 @@ export {
|
|
|
626
626
|
tryAddServer,
|
|
627
627
|
addServer
|
|
628
628
|
};
|
|
629
|
-
//# sourceMappingURL=chunk-
|
|
629
|
+
//# sourceMappingURL=chunk-DREKGGZJ.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isMppEnabled
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CU5TC4GQ.js";
|
|
4
4
|
import {
|
|
5
5
|
MCP_VERSION
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BRDMMHEQ.js";
|
|
7
7
|
import {
|
|
8
8
|
getBalance,
|
|
9
9
|
getBaseUrl,
|
|
@@ -119,4 +119,4 @@ export {
|
|
|
119
119
|
getWalletInfo,
|
|
120
120
|
submitErrorReport
|
|
121
121
|
};
|
|
122
|
-
//# sourceMappingURL=chunk-
|
|
122
|
+
//# sourceMappingURL=chunk-HRFGLP6E.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTempoBalance
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HRFGLP6E.js";
|
|
4
4
|
import {
|
|
5
5
|
detectPaymentProtocols,
|
|
6
6
|
getSiwxExtension,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
tokenStringToNumber,
|
|
12
12
|
x402Err,
|
|
13
13
|
x402Ok
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-V4B6FDUP.js";
|
|
15
15
|
import {
|
|
16
16
|
getBalance
|
|
17
17
|
} from "./chunk-YUCA2PQT.js";
|
|
@@ -412,4 +412,4 @@ export {
|
|
|
412
412
|
createFetchWithPayment,
|
|
413
413
|
createFetchWithAuth
|
|
414
414
|
};
|
|
415
|
-
//# sourceMappingURL=chunk-
|
|
415
|
+
//# sourceMappingURL=chunk-ITPKPIJC.js.map
|
|
@@ -85,7 +85,7 @@ var clientMetadata = {
|
|
|
85
85
|
["openclaw" /* Openclaw */]: {
|
|
86
86
|
name: "OpenClaw",
|
|
87
87
|
description: "OpenClaw is an AI assistant that uses the OpenClaw API.",
|
|
88
|
-
website: "https://www.
|
|
88
|
+
website: "https://www.openclaw.ai"
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
91
|
|
|
@@ -93,4 +93,4 @@ export {
|
|
|
93
93
|
Clients,
|
|
94
94
|
clientMetadata
|
|
95
95
|
};
|
|
96
|
-
//# sourceMappingURL=chunk-
|
|
96
|
+
//# sourceMappingURL=chunk-JNYAKINU.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/cli/install/clients.ts"],"sourcesContent":["export enum Clients {\n ClaudeCode = 'claude-code',\n Cursor = 'cursor',\n Claude = 'claude',\n Codex = 'codex',\n Vscode = 'vscode',\n Cline = 'cline',\n RooCline = 'roo-cline',\n Windsurf = 'windsurf',\n Warp = 'warp',\n GeminiCli = 'gemini-cli',\n Goose = 'goose',\n Zed = 'zed',\n Opencode = 'opencode',\n Openclaw = 'openclaw',\n}\n\ninterface ClientMetadata {\n name: string;\n description: string;\n website: string;\n}\n\nexport const clientMetadata: Record<Clients, ClientMetadata> = {\n [Clients.ClaudeCode]: {\n name: 'Claude Code',\n description: 'Claude Code is a code editor that uses the Claude API.',\n website: 'https://claude.com',\n },\n [Clients.Cursor]: {\n name: 'Cursor',\n description: 'Cursor is a code editor that uses the Cursor API.',\n website: 'https://cursor.com',\n },\n [Clients.Claude]: {\n name: 'Claude Desktop',\n description: 'Claude is a code editor that uses the Claude API.',\n website: 'https://claude.com',\n },\n [Clients.Codex]: {\n name: 'Codex',\n description: 'Codex is a code editor that uses the Codex API.',\n website: 'https://codex.com',\n },\n [Clients.Vscode]: {\n name: 'VSCode',\n description: 'VSCode is a code editor that uses the VSCode API.',\n website: 'https://vscode.com',\n },\n [Clients.Cline]: {\n name: 'Cline',\n description: 'Cline is a code editor that uses the Cline API.',\n website: 'https://cline.com',\n },\n [Clients.RooCline]: {\n name: 'RooCline',\n description: 'RooCline is a code editor that uses the RooCline API.',\n website: 'https://roo-cline.com',\n },\n [Clients.Windsurf]: {\n name: 'Windsurf',\n description: 'Windsurf is a code editor that uses the Windsurf API.',\n website: 'https://windsurf.com',\n },\n [Clients.Warp]: {\n name: 'Warp',\n description: 'Warp is a code editor that uses the Warp API.',\n website: 'https://warp.com',\n },\n [Clients.GeminiCli]: {\n name: 'Gemini CLI',\n description: 'Gemini CLI is a code editor that uses the Gemini CLI API.',\n website: 'https://gemini-cli.com',\n },\n [Clients.Goose]: {\n name: 'Goose',\n description: 'Goose is a code editor that uses the Goose API.',\n website: 'https://goose.com',\n },\n [Clients.Zed]: {\n name: 'Zed',\n description: 'Zed is a code editor that uses the Zed API.',\n website: 'https://zed.com',\n },\n [Clients.Opencode]: {\n name: 'Opencode',\n description: 'Opencode is a code editor that uses the Opencode API.',\n website: 'https://opencode.com',\n },\n [Clients.Openclaw]: {\n name: 'OpenClaw',\n description: 'OpenClaw is an AI assistant that uses the OpenClaw API.',\n website: 'https://www.
|
|
1
|
+
{"version":3,"sources":["../../src/cli/install/clients.ts"],"sourcesContent":["export enum Clients {\n ClaudeCode = 'claude-code',\n Cursor = 'cursor',\n Claude = 'claude',\n Codex = 'codex',\n Vscode = 'vscode',\n Cline = 'cline',\n RooCline = 'roo-cline',\n Windsurf = 'windsurf',\n Warp = 'warp',\n GeminiCli = 'gemini-cli',\n Goose = 'goose',\n Zed = 'zed',\n Opencode = 'opencode',\n Openclaw = 'openclaw',\n}\n\ninterface ClientMetadata {\n name: string;\n description: string;\n website: string;\n}\n\nexport const clientMetadata: Record<Clients, ClientMetadata> = {\n [Clients.ClaudeCode]: {\n name: 'Claude Code',\n description: 'Claude Code is a code editor that uses the Claude API.',\n website: 'https://claude.com',\n },\n [Clients.Cursor]: {\n name: 'Cursor',\n description: 'Cursor is a code editor that uses the Cursor API.',\n website: 'https://cursor.com',\n },\n [Clients.Claude]: {\n name: 'Claude Desktop',\n description: 'Claude is a code editor that uses the Claude API.',\n website: 'https://claude.com',\n },\n [Clients.Codex]: {\n name: 'Codex',\n description: 'Codex is a code editor that uses the Codex API.',\n website: 'https://codex.com',\n },\n [Clients.Vscode]: {\n name: 'VSCode',\n description: 'VSCode is a code editor that uses the VSCode API.',\n website: 'https://vscode.com',\n },\n [Clients.Cline]: {\n name: 'Cline',\n description: 'Cline is a code editor that uses the Cline API.',\n website: 'https://cline.com',\n },\n [Clients.RooCline]: {\n name: 'RooCline',\n description: 'RooCline is a code editor that uses the RooCline API.',\n website: 'https://roo-cline.com',\n },\n [Clients.Windsurf]: {\n name: 'Windsurf',\n description: 'Windsurf is a code editor that uses the Windsurf API.',\n website: 'https://windsurf.com',\n },\n [Clients.Warp]: {\n name: 'Warp',\n description: 'Warp is a code editor that uses the Warp API.',\n website: 'https://warp.com',\n },\n [Clients.GeminiCli]: {\n name: 'Gemini CLI',\n description: 'Gemini CLI is a code editor that uses the Gemini CLI API.',\n website: 'https://gemini-cli.com',\n },\n [Clients.Goose]: {\n name: 'Goose',\n description: 'Goose is a code editor that uses the Goose API.',\n website: 'https://goose.com',\n },\n [Clients.Zed]: {\n name: 'Zed',\n description: 'Zed is a code editor that uses the Zed API.',\n website: 'https://zed.com',\n },\n [Clients.Opencode]: {\n name: 'Opencode',\n description: 'Opencode is a code editor that uses the Opencode API.',\n website: 'https://opencode.com',\n },\n [Clients.Openclaw]: {\n name: 'OpenClaw',\n description: 'OpenClaw is an AI assistant that uses the OpenClaw API.',\n website: 'https://www.openclaw.ai',\n },\n};\n"],"mappings":";AAAO,IAAK,UAAL,kBAAKA,aAAL;AACL,EAAAA,SAAA,gBAAa;AACb,EAAAA,SAAA,YAAS;AACT,EAAAA,SAAA,YAAS;AACT,EAAAA,SAAA,WAAQ;AACR,EAAAA,SAAA,YAAS;AACT,EAAAA,SAAA,WAAQ;AACR,EAAAA,SAAA,cAAW;AACX,EAAAA,SAAA,cAAW;AACX,EAAAA,SAAA,UAAO;AACP,EAAAA,SAAA,eAAY;AACZ,EAAAA,SAAA,WAAQ;AACR,EAAAA,SAAA,SAAM;AACN,EAAAA,SAAA,cAAW;AACX,EAAAA,SAAA,cAAW;AAdD,SAAAA;AAAA,GAAA;AAuBL,IAAM,iBAAkD;AAAA,EAC7D,CAAC,8BAAkB,GAAG;AAAA,IACpB,MAAM;AAAA,IACN,aAAa;AAAA,IACb,SAAS;AAAA,EACX;AAAA,EACA,CAAC,qBAAc,GAAG;AAAA,IAChB,MAAM;AAAA,IACN,aAAa;AAAA,IACb,SAAS;AAAA,EACX;AAAA,EACA,CAAC,qBAAc,GAAG;AAAA,IAChB,MAAM;AAAA,IACN,aAAa;AAAA,IACb,SAAS;AAAA,EACX;AAAA,EACA,CAAC,mBAAa,GAAG;AAAA,IACf,MAAM;AAAA,IACN,aAAa;AAAA,IACb,SAAS;AAAA,EACX;AAAA,EACA,CAAC,qBAAc,GAAG;AAAA,IAChB,MAAM;AAAA,IACN,aAAa;AAAA,IACb,SAAS;AAAA,EACX;AAAA,EACA,CAAC,mBAAa,GAAG;AAAA,IACf,MAAM;AAAA,IACN,aAAa;AAAA,IACb,SAAS;AAAA,EACX;AAAA,EACA,CAAC,0BAAgB,GAAG;AAAA,IAClB,MAAM;AAAA,IACN,aAAa;AAAA,IACb,SAAS;AAAA,EACX;AAAA,EACA,CAAC,yBAAgB,GAAG;AAAA,IAClB,MAAM;AAAA,IACN,aAAa;AAAA,IACb,SAAS;AAAA,EACX;AAAA,EACA,CAAC,iBAAY,GAAG;AAAA,IACd,MAAM;AAAA,IACN,aAAa;AAAA,IACb,SAAS;AAAA,EACX;AAAA,EACA,CAAC,4BAAiB,GAAG;AAAA,IACnB,MAAM;AAAA,IACN,aAAa;AAAA,IACb,SAAS;AAAA,EACX;AAAA,EACA,CAAC,mBAAa,GAAG;AAAA,IACf,MAAM;AAAA,IACN,aAAa;AAAA,IACb,SAAS;AAAA,EACX;AAAA,EACA,CAAC,eAAW,GAAG;AAAA,IACb,MAAM;AAAA,IACN,aAAa;AAAA,IACb,SAAS;AAAA,EACX;AAAA,EACA,CAAC,yBAAgB,GAAG;AAAA,IAClB,MAAM;AAAA,IACN,aAAa;AAAA,IACb,SAAS;AAAA,EACX;AAAA,EACA,CAAC,yBAAgB,GAAG;AAAA,IAClB,MAAM;AAAA,IACN,aAAa;AAAA,IACb,SAAS;AAAA,EACX;AACF;","names":["Clients"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isMppEnabled
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CU5TC4GQ.js";
|
|
4
4
|
import {
|
|
5
5
|
DEFAULT_FETCH_TIMEOUT,
|
|
6
6
|
err,
|
|
@@ -695,4 +695,4 @@ export {
|
|
|
695
695
|
checkEndpoint,
|
|
696
696
|
discoverResources
|
|
697
697
|
};
|
|
698
|
-
//# sourceMappingURL=chunk-
|
|
698
|
+
//# sourceMappingURL=chunk-V4B6FDUP.js.map
|
|
@@ -6,25 +6,25 @@ import {
|
|
|
6
6
|
createFetchWithAuth,
|
|
7
7
|
createFetchWithPayment,
|
|
8
8
|
requestSchema
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ITPKPIJC.js";
|
|
10
10
|
import {
|
|
11
11
|
TEMPO_RPC_URL,
|
|
12
12
|
getWalletInfo,
|
|
13
13
|
submitErrorReport
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HRFGLP6E.js";
|
|
15
15
|
import {
|
|
16
16
|
checkEndpoint,
|
|
17
17
|
discoverResources
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-V4B6FDUP.js";
|
|
19
|
+
import "./chunk-CU5TC4GQ.js";
|
|
20
20
|
import {
|
|
21
21
|
getPlatformPath,
|
|
22
22
|
tryAddServer
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-DREKGGZJ.js";
|
|
24
|
+
import "./chunk-JNYAKINU.js";
|
|
25
25
|
import {
|
|
26
26
|
MCP_VERSION
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-BRDMMHEQ.js";
|
|
28
28
|
import "./chunk-DZNSJ2BA.js";
|
|
29
29
|
import {
|
|
30
30
|
DEFAULT_NETWORK,
|
|
@@ -615,7 +615,7 @@ async function reportErrorCommand(args, flags) {
|
|
|
615
615
|
|
|
616
616
|
// src/cli/commands/server.ts
|
|
617
617
|
async function serverCommand(flags) {
|
|
618
|
-
const { startServer } = await import("./server-
|
|
618
|
+
const { startServer } = await import("./server-UU4Y7IOG.js");
|
|
619
619
|
await startServer(flags);
|
|
620
620
|
}
|
|
621
621
|
|
|
@@ -1366,4 +1366,4 @@ export {
|
|
|
1366
1366
|
walletInfoCommand,
|
|
1367
1367
|
walletRedeemCommand
|
|
1368
1368
|
};
|
|
1369
|
-
//# sourceMappingURL=commands-
|
|
1369
|
+
//# sourceMappingURL=commands-NXFUKNPZ.js.map
|
package/dist/esm/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
isMppEnabled
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-CU5TC4GQ.js";
|
|
5
|
+
import "./chunk-JNYAKINU.js";
|
|
6
6
|
import {
|
|
7
7
|
MCP_VERSION
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-BRDMMHEQ.js";
|
|
9
9
|
|
|
10
10
|
// src/index.ts
|
|
11
11
|
import yargs from "yargs";
|
|
@@ -81,7 +81,7 @@ void yargs(hideBin(process.argv)).scriptName("agentcash").usage("$0 [command] [o
|
|
|
81
81
|
default: "auto"
|
|
82
82
|
}),
|
|
83
83
|
async (args) => {
|
|
84
|
-
const { fetchCommand } = await import("./commands-
|
|
84
|
+
const { fetchCommand } = await import("./commands-NXFUKNPZ.js");
|
|
85
85
|
await fetchCommand(
|
|
86
86
|
{
|
|
87
87
|
url: args.url,
|
|
@@ -116,7 +116,7 @@ void yargs(hideBin(process.argv)).scriptName("agentcash").usage("$0 [command] [o
|
|
|
116
116
|
description: "Additional headers as JSON object"
|
|
117
117
|
}),
|
|
118
118
|
async (args) => {
|
|
119
|
-
const { fetchAuthCommand } = await import("./commands-
|
|
119
|
+
const { fetchAuthCommand } = await import("./commands-NXFUKNPZ.js");
|
|
120
120
|
await fetchAuthCommand(
|
|
121
121
|
{
|
|
122
122
|
url: args.url,
|
|
@@ -149,7 +149,7 @@ void yargs(hideBin(process.argv)).scriptName("agentcash").usage("$0 [command] [o
|
|
|
149
149
|
description: "Additional headers as JSON object"
|
|
150
150
|
}),
|
|
151
151
|
async (args) => {
|
|
152
|
-
const { checkCommand } = await import("./commands-
|
|
152
|
+
const { checkCommand } = await import("./commands-NXFUKNPZ.js");
|
|
153
153
|
await checkCommand(
|
|
154
154
|
{
|
|
155
155
|
url: args.url,
|
|
@@ -169,7 +169,7 @@ void yargs(hideBin(process.argv)).scriptName("agentcash").usage("$0 [command] [o
|
|
|
169
169
|
demandOption: true
|
|
170
170
|
}),
|
|
171
171
|
async (args) => {
|
|
172
|
-
const { discoverCommand } = await import("./commands-
|
|
172
|
+
const { discoverCommand } = await import("./commands-NXFUKNPZ.js");
|
|
173
173
|
await discoverCommand({ url: args.url }, args);
|
|
174
174
|
}
|
|
175
175
|
).command(
|
|
@@ -181,7 +181,7 @@ void yargs(hideBin(process.argv)).scriptName("agentcash").usage("$0 [command] [o
|
|
|
181
181
|
demandOption: true
|
|
182
182
|
}),
|
|
183
183
|
async (args) => {
|
|
184
|
-
const { registerCommand } = await import("./commands-
|
|
184
|
+
const { registerCommand } = await import("./commands-NXFUKNPZ.js");
|
|
185
185
|
await registerCommand({ url: args.url }, args);
|
|
186
186
|
}
|
|
187
187
|
).command(
|
|
@@ -193,7 +193,7 @@ void yargs(hideBin(process.argv)).scriptName("agentcash").usage("$0 [command] [o
|
|
|
193
193
|
demandOption: true
|
|
194
194
|
}),
|
|
195
195
|
async (args) => {
|
|
196
|
-
const { addSkillCommand } = await import("./commands-
|
|
196
|
+
const { addSkillCommand } = await import("./commands-NXFUKNPZ.js");
|
|
197
197
|
await addSkillCommand({ url: args.url }, args);
|
|
198
198
|
}
|
|
199
199
|
).command(
|
|
@@ -211,7 +211,7 @@ void yargs(hideBin(process.argv)).scriptName("agentcash").usage("$0 [command] [o
|
|
|
211
211
|
);
|
|
212
212
|
}),
|
|
213
213
|
async (args) => {
|
|
214
|
-
const { onboardCommand } = await import("./commands-
|
|
214
|
+
const { onboardCommand } = await import("./commands-NXFUKNPZ.js");
|
|
215
215
|
await onboardCommand({ code: args.code ?? args.invite }, args);
|
|
216
216
|
}
|
|
217
217
|
).command(
|
|
@@ -222,7 +222,7 @@ void yargs(hideBin(process.argv)).scriptName("agentcash").usage("$0 [command] [o
|
|
|
222
222
|
"Get wallet address, balance, and deposit link",
|
|
223
223
|
(yargs3) => yargs3,
|
|
224
224
|
async (args) => {
|
|
225
|
-
const { walletInfoCommand } = await import("./commands-
|
|
225
|
+
const { walletInfoCommand } = await import("./commands-NXFUKNPZ.js");
|
|
226
226
|
await walletInfoCommand({}, args);
|
|
227
227
|
}
|
|
228
228
|
).command(
|
|
@@ -234,7 +234,7 @@ void yargs(hideBin(process.argv)).scriptName("agentcash").usage("$0 [command] [o
|
|
|
234
234
|
demandOption: true
|
|
235
235
|
}),
|
|
236
236
|
async (args) => {
|
|
237
|
-
const { walletRedeemCommand } = await import("./commands-
|
|
237
|
+
const { walletRedeemCommand } = await import("./commands-NXFUKNPZ.js");
|
|
238
238
|
await walletRedeemCommand({ code: args.code }, args);
|
|
239
239
|
}
|
|
240
240
|
).command(
|
|
@@ -242,7 +242,7 @@ void yargs(hideBin(process.argv)).scriptName("agentcash").usage("$0 [command] [o
|
|
|
242
242
|
"Get wallet address",
|
|
243
243
|
(yargs3) => yargs3,
|
|
244
244
|
async (args) => {
|
|
245
|
-
const { walletAddressCommand } = await import("./commands-
|
|
245
|
+
const { walletAddressCommand } = await import("./commands-NXFUKNPZ.js");
|
|
246
246
|
await walletAddressCommand({}, args);
|
|
247
247
|
}
|
|
248
248
|
).demandCommand(1, "You must specify a wallet subcommand").strict(),
|
|
@@ -274,7 +274,7 @@ void yargs(hideBin(process.argv)).scriptName("agentcash").usage("$0 [command] [o
|
|
|
274
274
|
description: "Detailed report with context and repro steps"
|
|
275
275
|
}),
|
|
276
276
|
async (args) => {
|
|
277
|
-
const { reportErrorCommand } = await import("./commands-
|
|
277
|
+
const { reportErrorCommand } = await import("./commands-NXFUKNPZ.js");
|
|
278
278
|
await reportErrorCommand(
|
|
279
279
|
{
|
|
280
280
|
tool: args.tool,
|
|
@@ -292,7 +292,7 @@ void yargs(hideBin(process.argv)).scriptName("agentcash").usage("$0 [command] [o
|
|
|
292
292
|
"Start the MCP server (default when no command specified)",
|
|
293
293
|
(yargs2) => yargs2,
|
|
294
294
|
async (args) => {
|
|
295
|
-
const { serverCommand } = await import("./commands-
|
|
295
|
+
const { serverCommand } = await import("./commands-NXFUKNPZ.js");
|
|
296
296
|
await serverCommand(args);
|
|
297
297
|
}
|
|
298
298
|
).command(
|
|
@@ -305,7 +305,7 @@ void yargs(hideBin(process.argv)).scriptName("agentcash").usage("$0 [command] [o
|
|
|
305
305
|
default: isClaudeCode ? "claude-code" /* ClaudeCode */ : void 0
|
|
306
306
|
}),
|
|
307
307
|
async (args) => {
|
|
308
|
-
const { installMcpServer } = await import("./install-
|
|
308
|
+
const { installMcpServer } = await import("./install-U7N5DVC4.js");
|
|
309
309
|
await installMcpServer(args);
|
|
310
310
|
}
|
|
311
311
|
).command(
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addServer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DREKGGZJ.js";
|
|
4
4
|
import {
|
|
5
5
|
Clients,
|
|
6
6
|
clientMetadata
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-JNYAKINU.js";
|
|
8
|
+
import "./chunk-BRDMMHEQ.js";
|
|
9
9
|
import {
|
|
10
10
|
promptDeposit
|
|
11
11
|
} from "./chunk-KOMAKKV3.js";
|
|
@@ -176,4 +176,4 @@ var installMcpServer = async (flags) => {
|
|
|
176
176
|
export {
|
|
177
177
|
installMcpServer
|
|
178
178
|
};
|
|
179
|
-
//# sourceMappingURL=install-
|
|
179
|
+
//# sourceMappingURL=install-U7N5DVC4.js.map
|
package/dist/esm/lib.js
CHANGED
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
SUPPORTED_METHODS,
|
|
6
6
|
checkEndpoint,
|
|
7
7
|
discoverResources
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-V4B6FDUP.js";
|
|
9
|
+
import "./chunk-CU5TC4GQ.js";
|
|
10
10
|
import "./chunk-TRPO7BKD.js";
|
|
11
11
|
import "./chunk-ISR6DJ53.js";
|
|
12
12
|
export {
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
createFetchWithPayment,
|
|
5
5
|
requestSchema,
|
|
6
6
|
safeGetMppChallenge
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ITPKPIJC.js";
|
|
8
8
|
import {
|
|
9
9
|
TEMPO_RPC_URL,
|
|
10
10
|
getTempoBalance,
|
|
11
11
|
getWalletInfo,
|
|
12
12
|
submitErrorReport
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HRFGLP6E.js";
|
|
14
14
|
import {
|
|
15
15
|
OPENAPI_SPEC_PATHS,
|
|
16
16
|
checkEndpoint,
|
|
@@ -18,13 +18,13 @@ import {
|
|
|
18
18
|
discoverResources,
|
|
19
19
|
getInputSchema,
|
|
20
20
|
safeGetPaymentRequired
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-V4B6FDUP.js";
|
|
22
22
|
import {
|
|
23
23
|
isMppEnabled
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-CU5TC4GQ.js";
|
|
25
25
|
import {
|
|
26
26
|
MCP_VERSION
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-BRDMMHEQ.js";
|
|
28
28
|
import {
|
|
29
29
|
DEFAULT_NETWORK,
|
|
30
30
|
getWallet,
|
|
@@ -1245,7 +1245,7 @@ import { dirname, join } from "path";
|
|
|
1245
1245
|
import { fileURLToPath } from "url";
|
|
1246
1246
|
function getVersion() {
|
|
1247
1247
|
if (true) {
|
|
1248
|
-
return "0.6.
|
|
1248
|
+
return "0.6.10";
|
|
1249
1249
|
}
|
|
1250
1250
|
const __dirname2 = dirname(fileURLToPath(import.meta.url));
|
|
1251
1251
|
const pkg = JSON.parse(
|
|
@@ -1341,4 +1341,4 @@ var startServer = async (flags) => {
|
|
|
1341
1341
|
export {
|
|
1342
1342
|
startServer
|
|
1343
1343
|
};
|
|
1344
|
-
//# sourceMappingURL=server-
|
|
1344
|
+
//# sourceMappingURL=server-UU4Y7IOG.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getWalletInfo,
|
|
3
3
|
submitErrorReport
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-HRFGLP6E.js";
|
|
5
5
|
import {
|
|
6
6
|
SUPPORTED_METHODS,
|
|
7
7
|
checkEndpoint,
|
|
8
8
|
discoverResources
|
|
9
|
-
} from "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
9
|
+
} from "../../chunk-V4B6FDUP.js";
|
|
10
|
+
import "../../chunk-CU5TC4GQ.js";
|
|
11
|
+
import "../../chunk-BRDMMHEQ.js";
|
|
12
12
|
import "../../chunk-YUCA2PQT.js";
|
|
13
13
|
import "../../chunk-TRPO7BKD.js";
|
|
14
14
|
import "../../chunk-ISR6DJ53.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentcash",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.10",
|
|
4
4
|
"description": "Generic MCP server for calling x402-protected APIs with automatic payment handling",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/esm/lib.js",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"typescript": "^5.9.3",
|
|
50
50
|
"vitest": "^4.0.18",
|
|
51
51
|
"@agentcash/eslint-config": "0.0.0",
|
|
52
|
-
"@agentcash/
|
|
53
|
-
"@agentcash/
|
|
52
|
+
"@agentcash/neverthrow": "1.0.0",
|
|
53
|
+
"@agentcash/typescript-config": "0.0.0"
|
|
54
54
|
},
|
|
55
55
|
"engines": {
|
|
56
56
|
"node": ">=20"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|