agentcash 0.2.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.
Files changed (37) hide show
  1. package/README.md +195 -0
  2. package/dist/cjs/run-server.cjs +112199 -0
  3. package/dist/esm/chunk-3MUBKDR7.js +95 -0
  4. package/dist/esm/chunk-3MUBKDR7.js.map +1 -0
  5. package/dist/esm/chunk-A2KI7TKE.js +59 -0
  6. package/dist/esm/chunk-A2KI7TKE.js.map +1 -0
  7. package/dist/esm/chunk-FYIUFEVS.js +36 -0
  8. package/dist/esm/chunk-FYIUFEVS.js.map +1 -0
  9. package/dist/esm/chunk-HIR4VH7V.js +197 -0
  10. package/dist/esm/chunk-HIR4VH7V.js.map +1 -0
  11. package/dist/esm/chunk-J3LUL7DB.js +23 -0
  12. package/dist/esm/chunk-J3LUL7DB.js.map +1 -0
  13. package/dist/esm/chunk-PBZIKECT.js +46013 -0
  14. package/dist/esm/chunk-PBZIKECT.js.map +1 -0
  15. package/dist/esm/chunk-U6HC4IE3.js +119 -0
  16. package/dist/esm/chunk-U6HC4IE3.js.map +1 -0
  17. package/dist/esm/chunk-WW65CMHP.js +826 -0
  18. package/dist/esm/chunk-WW65CMHP.js.map +1 -0
  19. package/dist/esm/chunk-XCVCGASL.js +57 -0
  20. package/dist/esm/chunk-XCVCGASL.js.map +1 -0
  21. package/dist/esm/cli-context-2MKOXVXU.js +10 -0
  22. package/dist/esm/cli-context-2MKOXVXU.js.map +1 -0
  23. package/dist/esm/commands-EOBZV2HH.js +536 -0
  24. package/dist/esm/commands-EOBZV2HH.js.map +1 -0
  25. package/dist/esm/fund-GUW4GKZT.js +37 -0
  26. package/dist/esm/fund-GUW4GKZT.js.map +1 -0
  27. package/dist/esm/index.d.ts +1 -0
  28. package/dist/esm/index.js +249 -0
  29. package/dist/esm/index.js.map +1 -0
  30. package/dist/esm/install-OYN36YE4.js +720 -0
  31. package/dist/esm/install-OYN36YE4.js.map +1 -0
  32. package/dist/esm/server-BEEIW53K.js +1814 -0
  33. package/dist/esm/server-BEEIW53K.js.map +1 -0
  34. package/dist/esm/shared/operations/index.d.ts +194 -0
  35. package/dist/esm/shared/operations/index.js +19 -0
  36. package/dist/esm/shared/operations/index.js.map +1 -0
  37. package/package.json +82 -0
@@ -0,0 +1,249 @@
1
+ #!/usr/bin/env node
2
+ import "./chunk-3MUBKDR7.js";
3
+ import {
4
+ init_esm_shims
5
+ } from "./chunk-A2KI7TKE.js";
6
+
7
+ // src/index.ts
8
+ init_esm_shims();
9
+ import yargs from "yargs";
10
+ import { hideBin } from "yargs/helpers";
11
+ var isClaudeCode = Boolean(process.env.CLAUDECODE);
12
+ var defaultYes = isClaudeCode || Boolean(process.env.CI);
13
+ void yargs(hideBin(process.argv)).scriptName("agentcash").usage("$0 [command] [options]").option("dev", {
14
+ type: "boolean",
15
+ description: "Enable dev mode (use localhost endpoints)",
16
+ default: false
17
+ }).option("invite", {
18
+ type: "string",
19
+ description: "Invite code to redeem for starter money",
20
+ required: false
21
+ }).option("yes", {
22
+ alias: "y",
23
+ type: "boolean",
24
+ description: "Yes to all prompts",
25
+ default: defaultYes ? true : void 0
26
+ }).option("sessionId", {
27
+ type: "string",
28
+ description: "Session ID for matching requests (auto-generated if not provided)",
29
+ required: false
30
+ }).option("provider", {
31
+ type: "string",
32
+ description: "Provider to use for the MCP server",
33
+ required: false
34
+ }).option("format", {
35
+ type: "string",
36
+ description: "Output format: json (default for pipes) or pretty (default for TTY)",
37
+ choices: ["json", "pretty"]
38
+ }).option("quiet", {
39
+ alias: "q",
40
+ type: "boolean",
41
+ description: "Suppress stderr output",
42
+ default: false
43
+ }).option("verbose", {
44
+ alias: "v",
45
+ type: "boolean",
46
+ description: "Enable verbose logging (debug output to stderr)",
47
+ default: false
48
+ }).middleware(async (argv) => {
49
+ if (argv.verbose) {
50
+ const { configureCliContext } = await import("./cli-context-2MKOXVXU.js");
51
+ configureCliContext({ verbose: true });
52
+ }
53
+ }).command(
54
+ "fetch <url>",
55
+ "HTTP fetch with automatic x402 payment handling",
56
+ (yargs2) => yargs2.positional("url", {
57
+ type: "string",
58
+ description: "The endpoint URL to fetch",
59
+ demandOption: true
60
+ }).option("method", {
61
+ alias: "m",
62
+ type: "string",
63
+ description: "HTTP method",
64
+ choices: ["GET", "POST", "PUT", "DELETE", "PATCH"],
65
+ default: "GET"
66
+ }).option("body", {
67
+ alias: "b",
68
+ type: "string",
69
+ description: "Request body as JSON string"
70
+ }).option("headers", {
71
+ alias: "H",
72
+ type: "string",
73
+ description: "Additional headers as JSON object"
74
+ }),
75
+ async (args) => {
76
+ const { fetchCommand } = await import("./commands-EOBZV2HH.js");
77
+ await fetchCommand(
78
+ {
79
+ url: args.url,
80
+ method: args.method,
81
+ body: args.body,
82
+ headers: args.headers
83
+ },
84
+ args
85
+ );
86
+ }
87
+ ).command(
88
+ "check <url>",
89
+ "Check endpoint for x402 pricing and schema without making payment",
90
+ (yargs2) => yargs2.positional("url", {
91
+ type: "string",
92
+ description: "The endpoint URL to check",
93
+ demandOption: true
94
+ }).option("method", {
95
+ alias: "m",
96
+ type: "string",
97
+ description: "HTTP method",
98
+ choices: ["GET", "POST", "PUT", "DELETE", "PATCH"],
99
+ default: "GET"
100
+ }).option("body", {
101
+ alias: "b",
102
+ type: "string",
103
+ description: "Request body as JSON string"
104
+ }).option("headers", {
105
+ alias: "H",
106
+ type: "string",
107
+ description: "Additional headers as JSON object"
108
+ }),
109
+ async (args) => {
110
+ const { checkCommand } = await import("./commands-EOBZV2HH.js");
111
+ await checkCommand(
112
+ {
113
+ url: args.url,
114
+ method: args.method,
115
+ body: args.body,
116
+ headers: args.headers
117
+ },
118
+ args
119
+ );
120
+ }
121
+ ).command(
122
+ "discover <url>",
123
+ "Discover x402-protected endpoints on an origin",
124
+ (yargs2) => yargs2.positional("url", {
125
+ type: "string",
126
+ description: "The origin URL to discover endpoints from",
127
+ demandOption: true
128
+ }),
129
+ async (args) => {
130
+ const { discoverCommand } = await import("./commands-EOBZV2HH.js");
131
+ await discoverCommand({ url: args.url }, args);
132
+ }
133
+ ).command(
134
+ "wallet",
135
+ "Wallet management commands",
136
+ (yargs2) => yargs2.command(
137
+ "info",
138
+ "Get wallet address, balance, and deposit link",
139
+ (yargs3) => yargs3,
140
+ async (args) => {
141
+ const { walletInfoCommand } = await import("./commands-EOBZV2HH.js");
142
+ await walletInfoCommand({}, args);
143
+ }
144
+ ).command(
145
+ "redeem <code>",
146
+ "Redeem an invite code for free USDC",
147
+ (yargs3) => yargs3.positional("code", {
148
+ type: "string",
149
+ description: "The invite code to redeem",
150
+ demandOption: true
151
+ }),
152
+ async (args) => {
153
+ const { walletRedeemCommand } = await import("./commands-EOBZV2HH.js");
154
+ await walletRedeemCommand({ code: args.code }, args);
155
+ }
156
+ ).demandCommand(1, "You must specify a wallet subcommand").strict(),
157
+ () => {
158
+ }
159
+ ).command(
160
+ "report-error",
161
+ "Report a critical bug to the agentcash team (emergency only)",
162
+ (yargs2) => yargs2.option("tool", {
163
+ type: "string",
164
+ description: "The tool/command that failed",
165
+ demandOption: true
166
+ }).option("summary", {
167
+ type: "string",
168
+ description: "1-2 sentence summary of the issue",
169
+ demandOption: true
170
+ }).option("error-message", {
171
+ type: "string",
172
+ description: "The error message",
173
+ demandOption: true
174
+ }).option("resource", {
175
+ type: "string",
176
+ description: "The x402 resource URL (if applicable)"
177
+ }).option("stack", {
178
+ type: "string",
179
+ description: "Stack trace (if available)"
180
+ }).option("full-report", {
181
+ type: "string",
182
+ description: "Detailed report with context and repro steps"
183
+ }),
184
+ async (args) => {
185
+ const { reportErrorCommand } = await import("./commands-EOBZV2HH.js");
186
+ await reportErrorCommand(
187
+ {
188
+ tool: args.tool,
189
+ summary: args.summary,
190
+ errorMessage: args.errorMessage,
191
+ resource: args.resource,
192
+ stack: args.stack,
193
+ fullReport: args.fullReport
194
+ },
195
+ args
196
+ );
197
+ }
198
+ ).command(
199
+ ["$0", "server"],
200
+ "Start the MCP server (default when no command specified)",
201
+ (yargs2) => yargs2,
202
+ async (args) => {
203
+ const { serverCommand } = await import("./commands-EOBZV2HH.js");
204
+ await serverCommand(args);
205
+ }
206
+ ).command(
207
+ "install",
208
+ "Install the MCP server configuration for a client",
209
+ (yargs2) => yargs2.option("client", {
210
+ type: "string",
211
+ description: "The client name",
212
+ required: false,
213
+ default: isClaudeCode ? "claude-code" /* ClaudeCode */ : void 0
214
+ }),
215
+ async (args) => {
216
+ const { installMcpServer } = await import("./install-OYN36YE4.js");
217
+ await installMcpServer(args);
218
+ }
219
+ ).command(
220
+ "fund",
221
+ "Open the funding page to add USDC to your wallet",
222
+ (yargs2) => yargs2,
223
+ async (args) => {
224
+ const { fundMcpServer } = await import("./fund-GUW4GKZT.js");
225
+ await fundMcpServer(args);
226
+ }
227
+ ).example(
228
+ `$0 fetch "https://enrichx402.com/api/apollo/people-enrich" -m POST -b '{"email":"user@example.com"}'`,
229
+ "Fetch with x402 payment"
230
+ ).example(
231
+ '$0 check "https://enrichx402.com/api/apollo/people-enrich"',
232
+ "Check endpoint pricing"
233
+ ).example(
234
+ '$0 discover "https://enrichx402.com"',
235
+ "Discover endpoints on origin"
236
+ ).example("$0 wallet info", "Get wallet balance").example("$0 wallet redeem ABC123", "Redeem invite code").example("$0", "Start MCP server (default)").example("$0 install --client cursor", "Install MCP for Cursor").strict().help().version().parseAsync().catch((err) => {
237
+ const response = {
238
+ success: false,
239
+ error: {
240
+ code: "GENERAL_ERROR",
241
+ message: err instanceof Error ? err.message : String(err),
242
+ surface: "cli",
243
+ cause: "unknown"
244
+ }
245
+ };
246
+ console.log(JSON.stringify(response, null, 2));
247
+ process.exit(1);
248
+ });
249
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport yargs from 'yargs';\nimport { hideBin } from 'yargs/helpers';\nimport { Clients } from './cli/install/clients';\n\nconst isClaudeCode = Boolean(process.env.CLAUDECODE);\nconst defaultYes = isClaudeCode || Boolean(process.env.CI);\n\nvoid yargs(hideBin(process.argv))\n .scriptName('agentcash')\n .usage('$0 [command] [options]')\n .option('dev', {\n type: 'boolean',\n description: 'Enable dev mode (use localhost endpoints)',\n default: false,\n })\n .option('invite', {\n type: 'string',\n description: 'Invite code to redeem for starter money',\n required: false,\n })\n .option('yes', {\n alias: 'y',\n type: 'boolean',\n description: 'Yes to all prompts',\n default: defaultYes ? true : undefined,\n })\n .option('sessionId', {\n type: 'string',\n description:\n 'Session ID for matching requests (auto-generated if not provided)',\n required: false,\n })\n .option('provider', {\n type: 'string',\n description: 'Provider to use for the MCP server',\n required: false,\n })\n .option('format', {\n type: 'string',\n description:\n 'Output format: json (default for pipes) or pretty (default for TTY)',\n choices: ['json', 'pretty'],\n })\n .option('quiet', {\n alias: 'q',\n type: 'boolean',\n description: 'Suppress stderr output',\n default: false,\n })\n .option('verbose', {\n alias: 'v',\n type: 'boolean',\n description: 'Enable verbose logging (debug output to stderr)',\n default: false,\n })\n .middleware(async argv => {\n // Configure CLI context for shared modules (like logging)\n if (argv.verbose) {\n const { configureCliContext } = await import('@/shared/cli-context');\n configureCliContext({ verbose: true });\n }\n })\n // ============================================================\n // Core CLI Commands (for agent/programmatic use)\n // ============================================================\n .command(\n 'fetch <url>',\n 'HTTP fetch with automatic x402 payment handling',\n yargs =>\n yargs\n .positional('url', {\n type: 'string',\n description: 'The endpoint URL to fetch',\n demandOption: true,\n })\n .option('method', {\n alias: 'm',\n type: 'string',\n description: 'HTTP method',\n choices: ['GET', 'POST', 'PUT', 'DELETE', 'PATCH'],\n default: 'GET',\n })\n .option('body', {\n alias: 'b',\n type: 'string',\n description: 'Request body as JSON string',\n })\n .option('headers', {\n alias: 'H',\n type: 'string',\n description: 'Additional headers as JSON object',\n }),\n async args => {\n const { fetchCommand } = await import('@/cli/commands');\n await fetchCommand(\n {\n url: args.url,\n method: args.method,\n body: args.body,\n headers: args.headers,\n },\n args\n );\n }\n )\n .command(\n 'check <url>',\n 'Check endpoint for x402 pricing and schema without making payment',\n yargs =>\n yargs\n .positional('url', {\n type: 'string',\n description: 'The endpoint URL to check',\n demandOption: true,\n })\n .option('method', {\n alias: 'm',\n type: 'string',\n description: 'HTTP method',\n choices: ['GET', 'POST', 'PUT', 'DELETE', 'PATCH'],\n default: 'GET',\n })\n .option('body', {\n alias: 'b',\n type: 'string',\n description: 'Request body as JSON string',\n })\n .option('headers', {\n alias: 'H',\n type: 'string',\n description: 'Additional headers as JSON object',\n }),\n async args => {\n const { checkCommand } = await import('@/cli/commands');\n await checkCommand(\n {\n url: args.url,\n method: args.method,\n body: args.body,\n headers: args.headers,\n },\n args\n );\n }\n )\n .command(\n 'discover <url>',\n 'Discover x402-protected endpoints on an origin',\n yargs =>\n yargs.positional('url', {\n type: 'string',\n description: 'The origin URL to discover endpoints from',\n demandOption: true,\n }),\n async args => {\n const { discoverCommand } = await import('@/cli/commands');\n await discoverCommand({ url: args.url }, args);\n }\n )\n .command(\n 'wallet',\n 'Wallet management commands',\n yargs =>\n yargs\n .command(\n 'info',\n 'Get wallet address, balance, and deposit link',\n yargs => yargs,\n async args => {\n const { walletInfoCommand } = await import('@/cli/commands');\n await walletInfoCommand({}, args);\n }\n )\n .command(\n 'redeem <code>',\n 'Redeem an invite code for free USDC',\n yargs =>\n yargs.positional('code', {\n type: 'string',\n description: 'The invite code to redeem',\n demandOption: true,\n }),\n async args => {\n const { walletRedeemCommand } = await import('@/cli/commands');\n await walletRedeemCommand({ code: args.code }, args);\n }\n )\n .demandCommand(1, 'You must specify a wallet subcommand')\n .strict(),\n () => {\n // Show help for wallet command\n }\n )\n .command(\n 'report-error',\n 'Report a critical bug to the agentcash team (emergency only)',\n yargs =>\n yargs\n .option('tool', {\n type: 'string',\n description: 'The tool/command that failed',\n demandOption: true,\n })\n .option('summary', {\n type: 'string',\n description: '1-2 sentence summary of the issue',\n demandOption: true,\n })\n .option('error-message', {\n type: 'string',\n description: 'The error message',\n demandOption: true,\n })\n .option('resource', {\n type: 'string',\n description: 'The x402 resource URL (if applicable)',\n })\n .option('stack', {\n type: 'string',\n description: 'Stack trace (if available)',\n })\n .option('full-report', {\n type: 'string',\n description: 'Detailed report with context and repro steps',\n }),\n async args => {\n const { reportErrorCommand } = await import('@/cli/commands');\n await reportErrorCommand(\n {\n tool: args.tool,\n summary: args.summary,\n errorMessage: args.errorMessage,\n resource: args.resource,\n stack: args.stack,\n fullReport: args.fullReport,\n },\n args\n );\n }\n )\n // ============================================================\n // Server & Installation Commands\n // ============================================================\n .command(\n ['$0', 'server'],\n 'Start the MCP server (default when no command specified)',\n yargs => yargs,\n async args => {\n const { serverCommand } = await import('@/cli/commands');\n await serverCommand(args);\n }\n )\n .command(\n 'install',\n 'Install the MCP server configuration for a client',\n yargs =>\n yargs.option('client', {\n type: 'string',\n description: 'The client name',\n required: false,\n default: isClaudeCode ? Clients.ClaudeCode : undefined,\n }),\n async args => {\n const { installMcpServer } = await import('@/cli/install');\n await installMcpServer(args);\n }\n )\n .command(\n 'fund',\n 'Open the funding page to add USDC to your wallet',\n yargs => yargs,\n async args => {\n const { fundMcpServer } = await import('@/cli/fund');\n await fundMcpServer(args);\n }\n )\n .example(\n '$0 fetch \"https://enrichx402.com/api/apollo/people-enrich\" -m POST -b \\'{\"email\":\"user@example.com\"}\\'',\n 'Fetch with x402 payment'\n )\n .example(\n '$0 check \"https://enrichx402.com/api/apollo/people-enrich\"',\n 'Check endpoint pricing'\n )\n .example(\n '$0 discover \"https://enrichx402.com\"',\n 'Discover endpoints on origin'\n )\n .example('$0 wallet info', 'Get wallet balance')\n .example('$0 wallet redeem ABC123', 'Redeem invite code')\n .example('$0', 'Start MCP server (default)')\n .example('$0 install --client cursor', 'Install MCP for Cursor')\n .strict()\n .help()\n .version()\n .parseAsync()\n .catch(err => {\n // Output error in JSON format for agent consumption\n const response = {\n success: false,\n error: {\n code: 'GENERAL_ERROR',\n message: err instanceof Error ? err.message : String(err),\n surface: 'cli',\n cause: 'unknown',\n },\n };\n console.log(JSON.st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