agentcash 0.6.1 → 0.6.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/dist/cjs/run-server.cjs +101 -74
- package/dist/esm/{chunk-GFGSZCZI.js → chunk-2RSGMWFW.js} +3 -3
- package/dist/esm/{chunk-TILJ7XBO.js → chunk-FJNT5GH6.js} +2 -2
- package/dist/esm/{chunk-LXQ32DT5.js → chunk-VU4O2YQU.js} +2 -2
- package/dist/esm/{chunk-UDNRXMYT.js → chunk-XVQ7S42P.js} +4 -4
- package/dist/esm/chunk-XVQ7S42P.js.map +1 -0
- package/dist/esm/chunk-ZPI2XP7U.js +7 -0
- package/dist/esm/{commands-CPITQOJZ.js → commands-JAPV6DQL.js} +7 -7
- package/dist/esm/index.js +15 -12
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/{install-JPWIDRP2.js → install-DTZT2V7I.js} +2 -2
- package/dist/esm/lib.js +2 -2
- package/dist/esm/{server-ZA2VY6ZV.js → server-I6GY7YDA.js} +57 -31
- package/dist/esm/server-I6GY7YDA.js.map +1 -0
- package/dist/esm/shared/operations/index.js +4 -4
- package/package.json +4 -4
- package/dist/esm/chunk-J42QBBCK.js +0 -7
- package/dist/esm/chunk-UDNRXMYT.js.map +0 -1
- package/dist/esm/server-ZA2VY6ZV.js.map +0 -1
- /package/dist/esm/{chunk-GFGSZCZI.js.map → chunk-2RSGMWFW.js.map} +0 -0
- /package/dist/esm/{chunk-TILJ7XBO.js.map → chunk-FJNT5GH6.js.map} +0 -0
- /package/dist/esm/{chunk-LXQ32DT5.js.map → chunk-VU4O2YQU.js.map} +0 -0
- /package/dist/esm/{chunk-J42QBBCK.js.map → chunk-ZPI2XP7U.js.map} +0 -0
- /package/dist/esm/{commands-CPITQOJZ.js.map → commands-JAPV6DQL.js.map} +0 -0
- /package/dist/esm/{install-JPWIDRP2.js.map → install-DTZT2V7I.js.map} +0 -0
package/dist/cjs/run-server.cjs
CHANGED
|
@@ -88972,19 +88972,19 @@ var ExactEvmScheme = class {
|
|
|
88972
88972
|
}
|
|
88973
88973
|
};
|
|
88974
88974
|
|
|
88975
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
88975
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/client/index.js
|
|
88976
88976
|
init_cjs_shims();
|
|
88977
88977
|
|
|
88978
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
88978
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/Expires.js
|
|
88979
88979
|
init_cjs_shims();
|
|
88980
88980
|
function minutes(n) {
|
|
88981
88981
|
return new Date(Date.now() + n * 60 * 1e3).toISOString();
|
|
88982
88982
|
}
|
|
88983
88983
|
|
|
88984
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
88984
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/client/Methods.js
|
|
88985
88985
|
init_cjs_shims();
|
|
88986
88986
|
|
|
88987
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
88987
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/Credential.js
|
|
88988
88988
|
init_cjs_shims();
|
|
88989
88989
|
|
|
88990
88990
|
// ../../../node_modules/.pnpm/ox@0.12.4_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/index.js
|
|
@@ -91407,7 +91407,7 @@ function verify3(options) {
|
|
|
91407
91407
|
// ../../../node_modules/.pnpm/ox@0.12.4_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/index.js
|
|
91408
91408
|
init_Withdrawal();
|
|
91409
91409
|
|
|
91410
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
91410
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/Challenge.js
|
|
91411
91411
|
var Challenge_exports = {};
|
|
91412
91412
|
__export(Challenge_exports, {
|
|
91413
91413
|
Schema: () => Schema,
|
|
@@ -91421,7 +91421,7 @@ __export(Challenge_exports, {
|
|
|
91421
91421
|
});
|
|
91422
91422
|
init_cjs_shims();
|
|
91423
91423
|
|
|
91424
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
91424
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/PaymentRequest.js
|
|
91425
91425
|
init_cjs_shims();
|
|
91426
91426
|
function deserialize(encoded) {
|
|
91427
91427
|
const json3 = Base64_exports.toString(encoded);
|
|
@@ -91435,13 +91435,13 @@ function serialize(request) {
|
|
|
91435
91435
|
return Base64_exports.fromString(json3, { pad: false, url: true });
|
|
91436
91436
|
}
|
|
91437
91437
|
|
|
91438
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
91438
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/zod.js
|
|
91439
91439
|
init_cjs_shims();
|
|
91440
91440
|
|
|
91441
91441
|
// ../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/mini/index.js
|
|
91442
91442
|
init_cjs_shims();
|
|
91443
91443
|
|
|
91444
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
91444
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/zod.js
|
|
91445
91445
|
function amount() {
|
|
91446
91446
|
return external_exports2.string().check(external_exports2.regex(/^\d+(\.\d+)?$/, "Invalid amount"));
|
|
91447
91447
|
}
|
|
@@ -91455,7 +91455,7 @@ function signature() {
|
|
|
91455
91455
|
return external_exports2.string().check(external_exports2.regex(/^0x[0-9a-fA-F]+$/, "Invalid signature"));
|
|
91456
91456
|
}
|
|
91457
91457
|
|
|
91458
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
91458
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/Challenge.js
|
|
91459
91459
|
var Schema = object({
|
|
91460
91460
|
/** Optional human-readable description of the payment. */
|
|
91461
91461
|
description: optional(string2()),
|
|
@@ -91582,7 +91582,7 @@ function constantTimeEqual(a, b) {
|
|
|
91582
91582
|
return result === 0;
|
|
91583
91583
|
}
|
|
91584
91584
|
|
|
91585
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
91585
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/Credential.js
|
|
91586
91586
|
function serialize3(credential) {
|
|
91587
91587
|
const wire = {
|
|
91588
91588
|
challenge: {
|
|
@@ -91597,7 +91597,7 @@ function serialize3(credential) {
|
|
|
91597
91597
|
return `Payment ${encoded}`;
|
|
91598
91598
|
}
|
|
91599
91599
|
|
|
91600
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
91600
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/Method.js
|
|
91601
91601
|
init_cjs_shims();
|
|
91602
91602
|
function from10(method) {
|
|
91603
91603
|
return method;
|
|
@@ -96203,10 +96203,10 @@ init_getAddress2();
|
|
|
96203
96203
|
init_toFunctionSelector();
|
|
96204
96204
|
init_formatUnits();
|
|
96205
96205
|
|
|
96206
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
96206
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/tempo/client/index.js
|
|
96207
96207
|
init_cjs_shims();
|
|
96208
96208
|
|
|
96209
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
96209
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/tempo/client/Charge.js
|
|
96210
96210
|
init_cjs_shims();
|
|
96211
96211
|
|
|
96212
96212
|
// ../../../node_modules/.pnpm/viem@2.46.2_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/index.js
|
|
@@ -102445,7 +102445,7 @@ async function updateSync(client, parameters) {
|
|
|
102445
102445
|
return { receipt };
|
|
102446
102446
|
}
|
|
102447
102447
|
|
|
102448
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
102448
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/viem/Account.js
|
|
102449
102449
|
init_cjs_shims();
|
|
102450
102450
|
|
|
102451
102451
|
// ../../../node_modules/.pnpm/viem@2.46.2_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/accounts/index.js
|
|
@@ -102608,7 +102608,7 @@ function privateKeyToAccount(privateKey, options = {}) {
|
|
|
102608
102608
|
// ../../../node_modules/.pnpm/viem@2.46.2_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/accounts/index.js
|
|
102609
102609
|
init_parseAccount();
|
|
102610
102610
|
|
|
102611
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
102611
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/viem/Account.js
|
|
102612
102612
|
function getResolver(parameters = {}) {
|
|
102613
102613
|
const { account: defaultAccount } = parameters;
|
|
102614
102614
|
return (client, { account: override } = {}) => {
|
|
@@ -102622,7 +102622,7 @@ function getResolver(parameters = {}) {
|
|
|
102622
102622
|
};
|
|
102623
102623
|
}
|
|
102624
102624
|
|
|
102625
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
102625
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/viem/Client.js
|
|
102626
102626
|
init_cjs_shims();
|
|
102627
102627
|
function getResolver2(parameters) {
|
|
102628
102628
|
const { chain: chain2, getClient, rpcUrl: rpcUrl2 } = parameters;
|
|
@@ -102642,7 +102642,7 @@ function getResolver2(parameters) {
|
|
|
102642
102642
|
};
|
|
102643
102643
|
}
|
|
102644
102644
|
|
|
102645
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
102645
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/tempo/Attribution.js
|
|
102646
102646
|
init_cjs_shims();
|
|
102647
102647
|
var tag = Hex_exports.slice(Hash_exports.keccak256(Bytes_exports.fromString("mpp"), { as: "Hex" }), 0, 4);
|
|
102648
102648
|
var version6 = 1;
|
|
@@ -102663,7 +102663,7 @@ function encode5(parameters) {
|
|
|
102663
102663
|
return Hex_exports.fromBytes(buf);
|
|
102664
102664
|
}
|
|
102665
102665
|
|
|
102666
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
102666
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/tempo/internal/defaults.js
|
|
102667
102667
|
init_cjs_shims();
|
|
102668
102668
|
var rpcUrl = {
|
|
102669
102669
|
4217: "https://rpc.tempo.xyz",
|
|
@@ -102675,7 +102675,7 @@ var escrowContract = {
|
|
|
102675
102675
|
};
|
|
102676
102676
|
var decimals = 6;
|
|
102677
102677
|
|
|
102678
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
102678
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/tempo/Methods.js
|
|
102679
102679
|
init_cjs_shims();
|
|
102680
102680
|
var charge = from10({
|
|
102681
102681
|
name: "tempo",
|
|
@@ -102776,7 +102776,7 @@ var session = from10({
|
|
|
102776
102776
|
}
|
|
102777
102777
|
});
|
|
102778
102778
|
|
|
102779
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
102779
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/tempo/client/Charge.js
|
|
102780
102780
|
function charge2(parameters = {}) {
|
|
102781
102781
|
const { clientId } = parameters;
|
|
102782
102782
|
const getClient = getResolver2({
|
|
@@ -102819,13 +102819,13 @@ function charge2(parameters = {}) {
|
|
|
102819
102819
|
});
|
|
102820
102820
|
}
|
|
102821
102821
|
|
|
102822
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
102822
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/tempo/client/Methods.js
|
|
102823
102823
|
init_cjs_shims();
|
|
102824
102824
|
|
|
102825
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
102825
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/tempo/client/Session.js
|
|
102826
102826
|
init_cjs_shims();
|
|
102827
102827
|
|
|
102828
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
102828
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/tempo/session/Voucher.js
|
|
102829
102829
|
init_cjs_shims();
|
|
102830
102830
|
var DOMAIN_NAME = "Tempo Stream Channel";
|
|
102831
102831
|
var DOMAIN_VERSION = "1";
|
|
@@ -102865,13 +102865,13 @@ async function signVoucher(client, account, message, escrowContract2, chainId, a
|
|
|
102865
102865
|
return signature2;
|
|
102866
102866
|
}
|
|
102867
102867
|
|
|
102868
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
102868
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/tempo/client/ChannelOps.js
|
|
102869
102869
|
init_cjs_shims();
|
|
102870
102870
|
|
|
102871
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
102871
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/tempo/session/Chain.js
|
|
102872
102872
|
init_cjs_shims();
|
|
102873
102873
|
|
|
102874
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
102874
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/tempo/session/escrow.abi.js
|
|
102875
102875
|
init_cjs_shims();
|
|
102876
102876
|
var escrowAbi = [
|
|
102877
102877
|
{
|
|
@@ -103633,7 +103633,7 @@ var escrowAbi = [
|
|
|
103633
103633
|
}
|
|
103634
103634
|
];
|
|
103635
103635
|
|
|
103636
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
103636
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/tempo/session/Chain.js
|
|
103637
103637
|
var UINT128_MAX = 2n ** 128n - 1n;
|
|
103638
103638
|
async function getOnChainChannel(client, escrowContract2, channelId) {
|
|
103639
103639
|
return readContract(client, {
|
|
@@ -103646,7 +103646,7 @@ async function getOnChainChannel(client, escrowContract2, channelId) {
|
|
|
103646
103646
|
var escrowOpenSelector = /* @__PURE__ */ toFunctionSelector(getAbiItem({ abi: escrowAbi, name: "open" }));
|
|
103647
103647
|
var escrowTopUpSelector = /* @__PURE__ */ toFunctionSelector(getAbiItem({ abi: escrowAbi, name: "topUp" }));
|
|
103648
103648
|
|
|
103649
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
103649
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/tempo/session/Channel.js
|
|
103650
103650
|
init_cjs_shims();
|
|
103651
103651
|
function computeId2(parameters) {
|
|
103652
103652
|
const encoded = AbiParameters_exports.encode(AbiParameters_exports.from([
|
|
@@ -103669,7 +103669,7 @@ function computeId2(parameters) {
|
|
|
103669
103669
|
return Hash_exports.keccak256(encoded);
|
|
103670
103670
|
}
|
|
103671
103671
|
|
|
103672
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
103672
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/tempo/client/ChannelOps.js
|
|
103673
103673
|
function resolveEscrow(challenge2, chainId, escrowContractOverride) {
|
|
103674
103674
|
const challengeEscrow = challenge2.request.methodDetails?.escrowContract;
|
|
103675
103675
|
const escrow = challengeEscrow ?? escrowContractOverride ?? escrowContract[chainId];
|
|
@@ -103765,8 +103765,8 @@ async function tryRecoverChannel(client, escrowContract2, channelId, chainId) {
|
|
|
103765
103765
|
return void 0;
|
|
103766
103766
|
}
|
|
103767
103767
|
|
|
103768
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
103769
|
-
var
|
|
103768
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/tempo/client/Session.js
|
|
103769
|
+
var sessionContextSchema = object({
|
|
103770
103770
|
account: optional(custom()),
|
|
103771
103771
|
action: optional(_enum2(["open", "topUp", "voucher", "close"])),
|
|
103772
103772
|
channelId: optional(string2()),
|
|
@@ -103956,7 +103956,7 @@ function session2(parameters = {}) {
|
|
|
103956
103956
|
return serializeCredential(challenge2, payload, chainId, account);
|
|
103957
103957
|
}
|
|
103958
103958
|
return toClient(session, {
|
|
103959
|
-
context:
|
|
103959
|
+
context: sessionContextSchema,
|
|
103960
103960
|
async createCredential({ challenge: challenge2, context: context2 }) {
|
|
103961
103961
|
const chainId = challenge2.request.methodDetails?.chainId ?? 0;
|
|
103962
103962
|
const client = await getClient({ chainId });
|
|
@@ -103970,10 +103970,10 @@ function session2(parameters = {}) {
|
|
|
103970
103970
|
});
|
|
103971
103971
|
}
|
|
103972
103972
|
|
|
103973
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
103973
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/tempo/client/SessionManager.js
|
|
103974
103974
|
init_cjs_shims();
|
|
103975
103975
|
|
|
103976
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
103976
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/client/internal/Fetch.js
|
|
103977
103977
|
init_cjs_shims();
|
|
103978
103978
|
var originalFetch;
|
|
103979
103979
|
function from19(config2) {
|
|
@@ -104015,14 +104015,14 @@ async function resolveCredential(challenge2, mi, context2) {
|
|
|
104015
104015
|
return mi.createCredential(parsedContext !== void 0 ? { challenge: challenge2, context: parsedContext } : { challenge: challenge2 });
|
|
104016
104016
|
}
|
|
104017
104017
|
|
|
104018
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
104018
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/tempo/session/Receipt.js
|
|
104019
104019
|
init_cjs_shims();
|
|
104020
|
-
function
|
|
104020
|
+
function deserializeSessionReceipt(encoded) {
|
|
104021
104021
|
const json3 = Base64_exports.toString(encoded);
|
|
104022
104022
|
return JSON.parse(json3);
|
|
104023
104023
|
}
|
|
104024
104024
|
|
|
104025
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
104025
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/tempo/session/Sse.js
|
|
104026
104026
|
init_cjs_shims();
|
|
104027
104027
|
function parseEvent(raw) {
|
|
104028
104028
|
let eventType = "message";
|
|
@@ -104051,7 +104051,7 @@ function parseEvent(raw) {
|
|
|
104051
104051
|
}
|
|
104052
104052
|
}
|
|
104053
104053
|
|
|
104054
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
104054
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/tempo/client/SessionManager.js
|
|
104055
104055
|
function sessionManager(parameters) {
|
|
104056
104056
|
const fetchFn = parameters.fetch ?? globalThis.fetch;
|
|
104057
104057
|
let channel = null;
|
|
@@ -104078,7 +104078,7 @@ function sessionManager(parameters) {
|
|
|
104078
104078
|
});
|
|
104079
104079
|
function toPaymentResponse(response) {
|
|
104080
104080
|
const receiptHeader = response.headers.get("Payment-Receipt");
|
|
104081
|
-
const receipt = receiptHeader ?
|
|
104081
|
+
const receipt = receiptHeader ? deserializeSessionReceipt(receiptHeader) : null;
|
|
104082
104082
|
return Object.assign(response, {
|
|
104083
104083
|
receipt,
|
|
104084
104084
|
challenge: lastChallenge,
|
|
@@ -104218,7 +104218,7 @@ function sessionManager(parameters) {
|
|
|
104218
104218
|
});
|
|
104219
104219
|
const receiptHeader = response.headers.get("Payment-Receipt");
|
|
104220
104220
|
if (receiptHeader)
|
|
104221
|
-
receipt =
|
|
104221
|
+
receipt = deserializeSessionReceipt(receiptHeader);
|
|
104222
104222
|
}
|
|
104223
104223
|
return receipt;
|
|
104224
104224
|
}
|
|
@@ -104226,7 +104226,7 @@ function sessionManager(parameters) {
|
|
|
104226
104226
|
return self2;
|
|
104227
104227
|
}
|
|
104228
104228
|
|
|
104229
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
104229
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/tempo/client/Methods.js
|
|
104230
104230
|
function tempo2(parameters = {}) {
|
|
104231
104231
|
return [charge2(parameters), session2(parameters)];
|
|
104232
104232
|
}
|
|
@@ -104235,7 +104235,7 @@ function tempo2(parameters = {}) {
|
|
|
104235
104235
|
tempo3.session = sessionManager;
|
|
104236
104236
|
})(tempo2 || (tempo2 = {}));
|
|
104237
104237
|
|
|
104238
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
104238
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/client/Mppx.js
|
|
104239
104239
|
var Mppx_exports = {};
|
|
104240
104240
|
__export(Mppx_exports, {
|
|
104241
104241
|
create: () => create4,
|
|
@@ -104243,7 +104243,7 @@ __export(Mppx_exports, {
|
|
|
104243
104243
|
});
|
|
104244
104244
|
init_cjs_shims();
|
|
104245
104245
|
|
|
104246
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
104246
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/client/Transport.js
|
|
104247
104247
|
init_cjs_shims();
|
|
104248
104248
|
function from20(transport) {
|
|
104249
104249
|
return transport;
|
|
@@ -104265,7 +104265,7 @@ function http2() {
|
|
|
104265
104265
|
});
|
|
104266
104266
|
}
|
|
104267
104267
|
|
|
104268
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
104268
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/client/Mppx.js
|
|
104269
104269
|
function create4(config2) {
|
|
104270
104270
|
const { onChallenge, polyfill: polyfill2 = true, transport = http2() } = config2;
|
|
104271
104271
|
const methods = config2.methods.flat();
|
|
@@ -104303,7 +104303,7 @@ var import_path2 = require("path");
|
|
|
104303
104303
|
var import_url = require("url");
|
|
104304
104304
|
function getVersion2() {
|
|
104305
104305
|
if (true) {
|
|
104306
|
-
return "0.6.
|
|
104306
|
+
return "0.6.3";
|
|
104307
104307
|
}
|
|
104308
104308
|
const __dirname3 = (0, import_path2.dirname)((0, import_url.fileURLToPath)(importMetaUrl));
|
|
104309
104309
|
const pkg = JSON.parse(
|
|
@@ -104466,7 +104466,7 @@ var TEMPO_TOKEN_ADDRESS = "0x20c0000000000000000000000000000000000000";
|
|
|
104466
104466
|
|
|
104467
104467
|
// src/shared/mpp-enabled.ts
|
|
104468
104468
|
init_cjs_shims();
|
|
104469
|
-
var isMppEnabled = () => "0.6.
|
|
104469
|
+
var isMppEnabled = () => "0.6.3".includes("-mpp");
|
|
104470
104470
|
|
|
104471
104471
|
// src/shared/operations/fetch-with-payment.ts
|
|
104472
104472
|
init_cjs_shims();
|
|
@@ -108769,10 +108769,10 @@ var safeCreateSIWxPayload = (surface2, serverInfo, signer) => {
|
|
|
108769
108769
|
// src/shared/neverthrow/mpp/index.ts
|
|
108770
108770
|
init_cjs_shims();
|
|
108771
108771
|
|
|
108772
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
108772
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/index.js
|
|
108773
108773
|
init_cjs_shims();
|
|
108774
108774
|
|
|
108775
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
108775
|
+
// ../../../node_modules/.pnpm/mppx@0.3.4_@modelcontextprotocol+sdk@1.27.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_35267a5c5eeb13056e8574ba797574c2/node_modules/mppx/dist/Receipt.js
|
|
108776
108776
|
var Receipt_exports = {};
|
|
108777
108777
|
__export(Receipt_exports, {
|
|
108778
108778
|
Schema: () => Schema2,
|
|
@@ -109252,27 +109252,31 @@ var parsedResponseToToolContentPart = (data) => {
|
|
|
109252
109252
|
};
|
|
109253
109253
|
|
|
109254
109254
|
// src/server/tools/response/error.ts
|
|
109255
|
-
var buildMcpError = (content) => {
|
|
109255
|
+
var buildMcpError = (content, options) => {
|
|
109256
109256
|
return {
|
|
109257
109257
|
content,
|
|
109258
|
-
|
|
109258
|
+
// Default: omit isError so siblings survive parallel calls.
|
|
109259
|
+
// Tools with outputSchema MUST pass isError: true so the SDK
|
|
109260
|
+
// skips output validation on error paths.
|
|
109261
|
+
...options?.isError ? { isError: true } : {}
|
|
109259
109262
|
};
|
|
109260
109263
|
};
|
|
109261
|
-
var mcpErrorJson = (error48) => {
|
|
109264
|
+
var mcpErrorJson = (error48, options) => {
|
|
109262
109265
|
return safeStringifyJson("mcp-error-json", error48).match(
|
|
109263
|
-
(success3) => buildMcpError([{ type: "text", text: success3 }]),
|
|
109264
|
-
(error49) => buildMcpError(
|
|
109265
|
-
{ type: "text", text: JSON.stringify(error49, null, 2) }
|
|
109266
|
-
|
|
109266
|
+
(success3) => buildMcpError([{ type: "text", text: success3 }], options),
|
|
109267
|
+
(error49) => buildMcpError(
|
|
109268
|
+
[{ type: "text", text: JSON.stringify(error49, null, 2) }],
|
|
109269
|
+
options
|
|
109270
|
+
)
|
|
109267
109271
|
);
|
|
109268
109272
|
};
|
|
109269
|
-
var mcpError = async (err3) => {
|
|
109273
|
+
var mcpError = async (err3, options) => {
|
|
109270
109274
|
const { error: error48 } = err3;
|
|
109271
109275
|
if (isFetchError(error48)) {
|
|
109272
109276
|
switch (error48.cause) {
|
|
109273
109277
|
case "network":
|
|
109274
109278
|
case "parse":
|
|
109275
|
-
return mcpErrorJson({ ...error48 });
|
|
109279
|
+
return mcpErrorJson({ ...error48 }, options);
|
|
109276
109280
|
case "http":
|
|
109277
109281
|
const { response, ...rest } = error48;
|
|
109278
109282
|
const parseResponseResult = await safeParseResponse(
|
|
@@ -109286,10 +109290,10 @@ var mcpError = async (err3) => {
|
|
|
109286
109290
|
() => []
|
|
109287
109291
|
)
|
|
109288
109292
|
];
|
|
109289
|
-
return buildMcpError(httpContent);
|
|
109293
|
+
return buildMcpError(httpContent, options);
|
|
109290
109294
|
}
|
|
109291
109295
|
}
|
|
109292
|
-
return mcpErrorJson({ ...error48 });
|
|
109296
|
+
return mcpErrorJson({ ...error48 }, options);
|
|
109293
109297
|
};
|
|
109294
109298
|
var mcpErrorFetch = async (surface2, response) => {
|
|
109295
109299
|
return mcpError(fetchHttpErr(surface2, response));
|
|
@@ -109327,10 +109331,26 @@ var mcpSuccessResponse = (data, extra) => {
|
|
|
109327
109331
|
]);
|
|
109328
109332
|
};
|
|
109329
109333
|
|
|
109334
|
+
// src/server/tools/response/safe-handler.ts
|
|
109335
|
+
init_cjs_shims();
|
|
109336
|
+
function safeHandler(handler) {
|
|
109337
|
+
return async (input) => {
|
|
109338
|
+
try {
|
|
109339
|
+
return await handler(input);
|
|
109340
|
+
} catch (e) {
|
|
109341
|
+
log.error("Unhandled tool error", e);
|
|
109342
|
+
return mcpErrorJson({
|
|
109343
|
+
error: e instanceof Error ? e.message : String(e),
|
|
109344
|
+
cause: "unhandled_exception"
|
|
109345
|
+
});
|
|
109346
|
+
}
|
|
109347
|
+
};
|
|
109348
|
+
}
|
|
109349
|
+
|
|
109330
109350
|
// src/server/tools/lib/request.ts
|
|
109331
109351
|
init_cjs_shims();
|
|
109332
109352
|
var requestSchema = zod_default.object({
|
|
109333
|
-
url: zod_default.
|
|
109353
|
+
url: zod_default.string().describe("The endpoint URL"),
|
|
109334
109354
|
method: zod_default.enum(["GET", "POST", "PUT", "DELETE", "PATCH"]).optional().describe("HTTP method. Defaults to GET for fetch operations."),
|
|
109335
109355
|
body: zod_default.unknown().optional().describe("Request body for POST/PUT/PATCH methods"),
|
|
109336
109356
|
headers: zod_default.record(zod_default.string(), zod_default.string()).optional().describe("Additional headers to include").default({}),
|
|
@@ -110108,7 +110128,7 @@ var registerFetchTool = ({
|
|
|
110108
110128
|
openWorldHint: true
|
|
110109
110129
|
}
|
|
110110
110130
|
},
|
|
110111
|
-
async (input) => {
|
|
110131
|
+
safeHandler(async (input) => {
|
|
110112
110132
|
const paymentMethod = input.paymentMethod ?? "auto";
|
|
110113
110133
|
const coreClient = x402Client.fromConfig({
|
|
110114
110134
|
schemes: [
|
|
@@ -110183,7 +110203,7 @@ var registerFetchTool = ({
|
|
|
110183
110203
|
parseResponseResult.value,
|
|
110184
110204
|
paymentInfo
|
|
110185
110205
|
);
|
|
110186
|
-
}
|
|
110206
|
+
})
|
|
110187
110207
|
);
|
|
110188
110208
|
};
|
|
110189
110209
|
|
|
@@ -110287,7 +110307,7 @@ var registerAuthTools = ({
|
|
|
110287
110307
|
openWorldHint: true
|
|
110288
110308
|
}
|
|
110289
110309
|
},
|
|
110290
|
-
async (input) => {
|
|
110310
|
+
safeHandler(async (input) => {
|
|
110291
110311
|
const result = await createFetchWithAuth({
|
|
110292
110312
|
surface: toolName2,
|
|
110293
110313
|
account,
|
|
@@ -110314,7 +110334,7 @@ var registerAuthTools = ({
|
|
|
110314
110334
|
return mcpError(parseResponseResult);
|
|
110315
110335
|
}
|
|
110316
110336
|
return mcpSuccessResponse(parseResponseResult.value);
|
|
110317
|
-
}
|
|
110337
|
+
})
|
|
110318
110338
|
);
|
|
110319
110339
|
};
|
|
110320
110340
|
|
|
@@ -110385,7 +110405,7 @@ var registerWalletTools = ({
|
|
|
110385
110405
|
async () => {
|
|
110386
110406
|
const result = await getWalletInfo("get_wallet_info", address, flags);
|
|
110387
110407
|
if (result.isErr()) {
|
|
110388
|
-
return mcpError(result);
|
|
110408
|
+
return mcpError(result, { isError: true });
|
|
110389
110409
|
}
|
|
110390
110410
|
return mcpSuccessStructuredJson({
|
|
110391
110411
|
address: result.value.address,
|
|
@@ -110864,7 +110884,7 @@ function buildProbeRequest(url3, method, body, headers) {
|
|
|
110864
110884
|
// src/server/tools/check-endpoint.ts
|
|
110865
110885
|
var toolName3 = "check_endpoint_schema";
|
|
110866
110886
|
var checkEndpointInputSchema = zod_default.object({
|
|
110867
|
-
url: zod_default.
|
|
110887
|
+
url: zod_default.string().describe("The endpoint URL"),
|
|
110868
110888
|
method: zod_default.enum(["GET", "POST", "PUT", "DELETE", "PATCH"]).optional().describe(
|
|
110869
110889
|
"HTTP method to check. If omitted, all methods are probed in parallel."
|
|
110870
110890
|
),
|
|
@@ -110889,7 +110909,7 @@ var registerCheckEndpointTool = ({
|
|
|
110889
110909
|
openWorldHint: true
|
|
110890
110910
|
}
|
|
110891
110911
|
},
|
|
110892
|
-
async (input) => {
|
|
110912
|
+
safeHandler(async (input) => {
|
|
110893
110913
|
log.info("Querying endpoint", input);
|
|
110894
110914
|
const { url: url3, results } = await checkEndpoint({
|
|
110895
110915
|
surface: toolName3,
|
|
@@ -110910,7 +110930,7 @@ var registerCheckEndpointTool = ({
|
|
|
110910
110930
|
});
|
|
110911
110931
|
}
|
|
110912
110932
|
return mcpSuccessJson(toJsonObject({ url: url3, results }));
|
|
110913
|
-
}
|
|
110933
|
+
})
|
|
110914
110934
|
);
|
|
110915
110935
|
};
|
|
110916
110936
|
|
|
@@ -111023,7 +111043,7 @@ var registerRedeemInviteTool = ({
|
|
|
111023
111043
|
surface: "redeem_invite"
|
|
111024
111044
|
});
|
|
111025
111045
|
if (result.isErr()) {
|
|
111026
|
-
return mcpError(result);
|
|
111046
|
+
return mcpError(result, { isError: true });
|
|
111027
111047
|
}
|
|
111028
111048
|
const { amount: amount2, txHash } = result.value;
|
|
111029
111049
|
return mcpSuccessStructuredJson({
|
|
@@ -111128,7 +111148,7 @@ var registerTelemetryTools = ({
|
|
|
111128
111148
|
);
|
|
111129
111149
|
if (result.isErr()) {
|
|
111130
111150
|
log.error("Failed to submit error report", result.error);
|
|
111131
|
-
return mcpError(result);
|
|
111151
|
+
return mcpError(result, { isError: true });
|
|
111132
111152
|
}
|
|
111133
111153
|
log.info("Error report submitted successfully", {
|
|
111134
111154
|
reportId: result.value.reportId
|
|
@@ -111242,7 +111262,7 @@ function registerDiscoveryTools(server) {
|
|
|
111242
111262
|
- ${"https://stableemail.dev" /* StableEmail */} -> send emails.
|
|
111243
111263
|
`,
|
|
111244
111264
|
inputSchema: external_exports3.object({
|
|
111245
|
-
url: external_exports3.
|
|
111265
|
+
url: external_exports3.string().describe(
|
|
111246
111266
|
"The origin URL or any URL on the origin to discover resources from"
|
|
111247
111267
|
)
|
|
111248
111268
|
}),
|
|
@@ -111253,7 +111273,14 @@ function registerDiscoveryTools(server) {
|
|
|
111253
111273
|
openWorldHint: true
|
|
111254
111274
|
}
|
|
111255
111275
|
},
|
|
111256
|
-
async ({ url: url3 }) => {
|
|
111276
|
+
safeHandler(async ({ url: url3 }) => {
|
|
111277
|
+
if (!URL.canParse(url3)) {
|
|
111278
|
+
return mcpErrorJson({
|
|
111279
|
+
error: "Invalid URL",
|
|
111280
|
+
url: url3,
|
|
111281
|
+
hint: "Provide a fully-formed URL like https://example.com"
|
|
111282
|
+
});
|
|
111283
|
+
}
|
|
111257
111284
|
log.info(`Discovering resources for: ${url3}`);
|
|
111258
111285
|
const discoverResult = await resultFromPromise(
|
|
111259
111286
|
"discover",
|
|
@@ -111285,7 +111312,7 @@ function registerDiscoveryTools(server) {
|
|
|
111285
111312
|
origin,
|
|
111286
111313
|
error: "No OpenAPI spec found. Tried: /openapi.json, /.well-known/openapi.json"
|
|
111287
111314
|
});
|
|
111288
|
-
}
|
|
111315
|
+
})
|
|
111289
111316
|
);
|
|
111290
111317
|
}
|
|
111291
111318
|
|
|
@@ -111775,7 +111802,7 @@ var import_path3 = require("path");
|
|
|
111775
111802
|
var import_url2 = require("url");
|
|
111776
111803
|
function getVersion3() {
|
|
111777
111804
|
if (true) {
|
|
111778
|
-
return "0.6.
|
|
111805
|
+
return "0.6.3";
|
|
111779
111806
|
}
|
|
111780
111807
|
const __dirname3 = (0, import_path3.dirname)((0, import_url2.fileURLToPath)(importMetaUrl));
|
|
111781
111808
|
const pkg = JSON.parse(
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isMppEnabled
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZPI2XP7U.js";
|
|
4
4
|
import {
|
|
5
5
|
MCP_VERSION
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FJNT5GH6.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-2RSGMWFW.js.map
|
|
@@ -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.3";
|
|
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-FJNT5GH6.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isMppEnabled
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZPI2XP7U.js";
|
|
4
4
|
import {
|
|
5
5
|
DEFAULT_FETCH_TIMEOUT,
|
|
6
6
|
err,
|
|
@@ -645,4 +645,4 @@ export {
|
|
|
645
645
|
checkEndpoint,
|
|
646
646
|
discoverResources
|
|
647
647
|
};
|
|
648
|
-
//# sourceMappingURL=chunk-
|
|
648
|
+
//# sourceMappingURL=chunk-VU4O2YQU.js.map
|