x402-proxy 0.10.1 → 0.10.2
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/CHANGELOG.md +8 -1
- package/dist/bin/cli.js +7 -7
- package/dist/openclaw/plugin.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.10.2] - 2026-04-01
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- `claude` command proxy logs ("proxy: intercepting ...") no longer corrupt Claude Code's statusline - server now runs in quiet mode
|
|
14
|
+
- `claude` command defaults to MPP protocol (correct for inference proxying) instead of requiring `--protocol mpp`
|
|
15
|
+
|
|
10
16
|
## [0.10.1] - 2026-04-01
|
|
11
17
|
|
|
12
18
|
### Changed
|
|
@@ -335,7 +341,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
335
341
|
- `appendHistory` / `readHistory` / `calcSpend` - JSONL transaction history
|
|
336
342
|
- Re-exports from `@x402/fetch`, `@x402/svm`, `@x402/evm`
|
|
337
343
|
|
|
338
|
-
[Unreleased]: https://github.com/cascade-protocol/x402-proxy/compare/v0.10.
|
|
344
|
+
[Unreleased]: https://github.com/cascade-protocol/x402-proxy/compare/v0.10.2...HEAD
|
|
345
|
+
[0.10.2]: https://github.com/cascade-protocol/x402-proxy/compare/v0.10.1...v0.10.2
|
|
339
346
|
[0.10.1]: https://github.com/cascade-protocol/x402-proxy/compare/v0.10.0...v0.10.1
|
|
340
347
|
[0.10.0]: https://github.com/cascade-protocol/x402-proxy/compare/v0.9.4...v0.10.0
|
|
341
348
|
[0.9.4]: https://github.com/cascade-protocol/x402-proxy/compare/v0.9.3...v0.9.4
|
package/dist/bin/cli.js
CHANGED
|
@@ -1014,11 +1014,11 @@ Examples:
|
|
|
1014
1014
|
const started = await startServeServer({
|
|
1015
1015
|
upstreamUrl: flags.upstream ?? "https://surf.cascade.fyi/api/v1/inference",
|
|
1016
1016
|
port: Number(flags.port),
|
|
1017
|
-
protocol: flags.protocol,
|
|
1017
|
+
protocol: flags.protocol ?? "mpp",
|
|
1018
1018
|
network: flags.network,
|
|
1019
1019
|
evmKey: flags.evmKey,
|
|
1020
1020
|
solanaKey: flags.solanaKey,
|
|
1021
|
-
quiet:
|
|
1021
|
+
quiet: true
|
|
1022
1022
|
});
|
|
1023
1023
|
const child = spawn("claude", normalizeClaudeArgs(rawClaudeArgs), {
|
|
1024
1024
|
stdio: "inherit",
|
|
@@ -1778,7 +1778,7 @@ Wallet is auto-generated on first run. No env vars needed.`
|
|
|
1778
1778
|
}
|
|
1779
1779
|
const remoteClient = new Client({
|
|
1780
1780
|
name: "x402-proxy",
|
|
1781
|
-
version: "0.10.
|
|
1781
|
+
version: "0.10.2"
|
|
1782
1782
|
});
|
|
1783
1783
|
const x402Mcp = new x402MCPClient(remoteClient, x402PaymentClient, {
|
|
1784
1784
|
autoPayment: true,
|
|
@@ -1816,7 +1816,7 @@ Wallet is auto-generated on first run. No env vars needed.`
|
|
|
1816
1816
|
}
|
|
1817
1817
|
const localServer = new Server({
|
|
1818
1818
|
name: "x402-proxy",
|
|
1819
|
-
version: "0.10.
|
|
1819
|
+
version: "0.10.2"
|
|
1820
1820
|
}, { capabilities: {
|
|
1821
1821
|
tools: tools.length > 0 ? {} : void 0,
|
|
1822
1822
|
resources: remoteResources.length > 0 ? {} : void 0
|
|
@@ -1911,7 +1911,7 @@ Wallet is auto-generated on first run. No env vars needed.`
|
|
|
1911
1911
|
}));
|
|
1912
1912
|
const remoteClient = new Client({
|
|
1913
1913
|
name: "x402-proxy",
|
|
1914
|
-
version: "0.10.
|
|
1914
|
+
version: "0.10.2"
|
|
1915
1915
|
});
|
|
1916
1916
|
await connectTransport(remoteClient);
|
|
1917
1917
|
const mppClient = McpClient.wrap(remoteClient, { methods: wrappedMethods });
|
|
@@ -1926,7 +1926,7 @@ Wallet is auto-generated on first run. No env vars needed.`
|
|
|
1926
1926
|
}
|
|
1927
1927
|
const localServer = new Server({
|
|
1928
1928
|
name: "x402-proxy",
|
|
1929
|
-
version: "0.10.
|
|
1929
|
+
version: "0.10.2"
|
|
1930
1930
|
}, { capabilities: {
|
|
1931
1931
|
tools: tools.length > 0 ? {} : void 0,
|
|
1932
1932
|
resources: remoteResources.length > 0 ? {} : void 0
|
|
@@ -2325,7 +2325,7 @@ const app = buildApplication(buildRouteMap({
|
|
|
2325
2325
|
docs: { brief: "curl for x402 paid APIs" }
|
|
2326
2326
|
}), {
|
|
2327
2327
|
name: "x402-proxy",
|
|
2328
|
-
versionInfo: { currentVersion: "0.10.
|
|
2328
|
+
versionInfo: { currentVersion: "0.10.2" },
|
|
2329
2329
|
scanner: { caseStyle: "allow-kebab-for-camel" }
|
|
2330
2330
|
});
|
|
2331
2331
|
//#endregion
|
package/dist/openclaw/plugin.js
CHANGED
|
@@ -1150,7 +1150,7 @@ function createWalletCommand(ctx) {
|
|
|
1150
1150
|
if (parts[0]?.toLowerCase() === "send") return { text: "Use `/x_send <amount|all> <address>` for transfers." };
|
|
1151
1151
|
try {
|
|
1152
1152
|
const snap = await getWalletSnapshot(ctx.rpcUrl, solanaWallet, evmWallet, ctx.historyPath);
|
|
1153
|
-
const lines = [`x402-proxy v0.10.
|
|
1153
|
+
const lines = [`x402-proxy v0.10.2`];
|
|
1154
1154
|
const defaultModel = ctx.allModels[0];
|
|
1155
1155
|
if (defaultModel) lines.push("", `**Model** - ${defaultModel.name} (${defaultModel.provider})`);
|
|
1156
1156
|
lines.push("", `**Protocol** - ${ctx.getDefaultRequestProtocol()}`);
|
package/package.json
CHANGED