@ixo/asks-mcp 1.5.0-dev.18 → 1.5.0-dev.19
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/asks-mcp.mjs +12 -12
- package/package.json +1 -1
package/dist/asks-mcp.mjs
CHANGED
|
@@ -7457,18 +7457,18 @@ var init_networkName = __esm({
|
|
|
7457
7457
|
});
|
|
7458
7458
|
|
|
7459
7459
|
// ../../app/lib/networks.ts
|
|
7460
|
-
var ORIGIN, originOf,
|
|
7460
|
+
var ORIGIN, originOf, expertOrigin, PRO;
|
|
7461
7461
|
var init_networks = __esm({
|
|
7462
7462
|
"../../app/lib/networks.ts"() {
|
|
7463
7463
|
"use strict";
|
|
7464
7464
|
init_networkName();
|
|
7465
7465
|
ORIGIN = {
|
|
7466
|
-
mainnet: (process.env.NEXT_PUBLIC_MAINNET_APP_URL || "https://
|
|
7467
|
-
testnet: (process.env.NEXT_PUBLIC_TESTNET_APP_URL || "https://test.
|
|
7466
|
+
mainnet: (process.env.NEXT_PUBLIC_MAINNET_APP_URL || "https://asks.world").replace(/\/+$/, ""),
|
|
7467
|
+
testnet: (process.env.NEXT_PUBLIC_TESTNET_APP_URL || "https://test.asks.world").replace(/\/+$/, "")
|
|
7468
7468
|
};
|
|
7469
7469
|
originOf = (network2) => ORIGIN[network2 === "mainnet" ? "mainnet" : "testnet"];
|
|
7470
|
-
|
|
7471
|
-
|
|
7470
|
+
expertOrigin = (origin2) => origin2.replace(/\/+$/, "");
|
|
7471
|
+
PRO = { [ORIGIN.mainnet]: "https://pro.asks.world", [ORIGIN.testnet]: "https://pro.test.asks.world" };
|
|
7472
7472
|
}
|
|
7473
7473
|
});
|
|
7474
7474
|
|
|
@@ -29932,9 +29932,9 @@ var init_checkers = __esm({
|
|
|
29932
29932
|
"../../packages/openhands-sdk/src/data/checkers.ts"() {
|
|
29933
29933
|
"use strict";
|
|
29934
29934
|
ASK_THE_WORLD_CHECKERS = /* @__PURE__ */ new Set(["ixo1qrk9dp4r2u8q5l9cs42yh4dne4pj3wynp4enwq", "ixo12mvzayzrzsvaud86jf9shy6q2nvkea3tygxhsh"]);
|
|
29935
|
-
ASKY_CHECKER_URLS = { devnet: "", testnet: "https://asky-checker.testnet.ixo.earth", mainnet: "" };
|
|
29936
|
-
ASKY_CHECKER_ADDRESSES = { devnet: "", testnet: "ixo149t76xlqg5u5dmpz7sjhlz7y0qktafv4z6qg9u", mainnet: "" };
|
|
29937
|
-
ASKY_CHECKER_FEES = { testnet: { base: 1e6, denom: "upay" } };
|
|
29935
|
+
ASKY_CHECKER_URLS = { devnet: "", testnet: "https://asky-checker.testnet.ixo.earth", mainnet: "https://asky-checker.ixo.earth" };
|
|
29936
|
+
ASKY_CHECKER_ADDRESSES = { devnet: "", testnet: "ixo149t76xlqg5u5dmpz7sjhlz7y0qktafv4z6qg9u", mainnet: "ixo1gmt3rxksd0ukzd228u67p3a34ew7sfl2shff9f" };
|
|
29937
|
+
ASKY_CHECKER_FEES = { testnet: { base: 1e6, denom: "upay" }, mainnet: { base: 1e6, denom: "upay" } };
|
|
29938
29938
|
ASKY_CHECKER_NAME = "Asky Checker";
|
|
29939
29939
|
askyCheckerUrl = (network2) => ASKY_CHECKER_URLS[network2] || null;
|
|
29940
29940
|
askyChecker = (network2) => ASKY_CHECKER_URLS[network2] && ASKY_CHECKER_ADDRESSES[network2] && ASKY_CHECKER_FEES[network2] ? { url: ASKY_CHECKER_URLS[network2], address: ASKY_CHECKER_ADDRESSES[network2], fee: ASKY_CHECKER_FEES[network2] } : null;
|
|
@@ -30142,7 +30142,7 @@ var init_policy = __esm({
|
|
|
30142
30142
|
// ../../app/lib/screenWords.ts
|
|
30143
30143
|
function phraseVerdict(input) {
|
|
30144
30144
|
const phrase = checkAsk(input);
|
|
30145
|
-
return phrase.ok ? null : { verdict: "refuse", reason: `
|
|
30145
|
+
return phrase.ok ? null : { verdict: "refuse", reason: `asks.world doesn't carry ${phrase.reason}.` };
|
|
30146
30146
|
}
|
|
30147
30147
|
var screenInput;
|
|
30148
30148
|
var init_screenWords = __esm({
|
|
@@ -265624,9 +265624,9 @@ var init_orgAsk = __esm({
|
|
|
265624
265624
|
currencyFor = (rail, chainCoin) => rail === "usdc_base" ? "USDC" : rail === "stripe" ? "USD" : chainCoin === "USDC" ? "USDC" : void 0;
|
|
265625
265625
|
chainCoinOf = (settings) => settings?.currency === "USDC" ? "USDC" : "IXO";
|
|
265626
265626
|
setupPrompt = (args) => [
|
|
265627
|
-
`Set up the payouts service for my company ${args.name} on
|
|
265627
|
+
`Set up the payouts service for my company ${args.name} on asks.world (${args.did}), to pay people ${args.rail === "stripe" ? "by card through Stripe" : "in USD to a wallet through the IXO payment gateway"}.`,
|
|
265628
265628
|
"Use the asks plugin. If it isn't installed, install it first: /plugin marketplace add ixoworld/ixo-plugins, then /plugin install asks@ixo-plugins.",
|
|
265629
|
-
"When it is running, tell me the payouts service address to paste into
|
|
265629
|
+
"When it is running, tell me the payouts service address to paste into asks.world."
|
|
265630
265630
|
].join("\n");
|
|
265631
265631
|
needsPayoutsService = (rails) => rails.some((rail) => rail !== "chain");
|
|
265632
265632
|
facilitatorDown = (health) => `Your payouts service is not answering${health.why ? ` (${health.why})` : ""}, so USD and card payouts are paused. Paying on chain still works.`;
|
|
@@ -291268,7 +291268,7 @@ import { randomBytes as randomBytes7 } from "node:crypto";
|
|
|
291268
291268
|
// package.json
|
|
291269
291269
|
var package_default = {
|
|
291270
291270
|
name: "@ixo/asks-mcp",
|
|
291271
|
-
version: "1.5.0-dev.
|
|
291271
|
+
version: "1.5.0-dev.19",
|
|
291272
291272
|
description: "The Openhands Network MCP server: read the board, answer asks, post work and get paid on the ixo chain, with a key of its own on your machine.",
|
|
291273
291273
|
license: "Apache-2.0",
|
|
291274
291274
|
repository: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ixo/asks-mcp",
|
|
3
|
-
"version": "1.5.0-dev.
|
|
3
|
+
"version": "1.5.0-dev.19",
|
|
4
4
|
"description": "The Openhands Network MCP server: read the board, answer asks, post work and get paid on the ixo chain, with a key of its own on your machine.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|