@pgnio/helios-mcp 0.2.6 → 0.2.7
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/chunk-V453JYRN.mjs +3051 -0
- package/dist/cli.js +5 -2
- package/dist/cli.mjs +1 -1
- package/dist/index.js +5 -2
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -2886,7 +2886,7 @@ async function createHeliosAgentMcpServer(options) {
|
|
|
2886
2886
|
const { McpServer } = await import("@modelcontextprotocol/sdk/server/mcp.js");
|
|
2887
2887
|
const server = new McpServer({
|
|
2888
2888
|
name: "helios",
|
|
2889
|
-
version: "0.2.
|
|
2889
|
+
version: "0.2.7"
|
|
2890
2890
|
});
|
|
2891
2891
|
const sessionStore = options.sessionStore ?? new FileAgentSessionStore(options.sessionPath ?? getDefaultHeliosAgentMcpSessionPath());
|
|
2892
2892
|
const client = new HeliosAgentAuthClient({
|
|
@@ -2982,7 +2982,10 @@ function toolAnnotations(name) {
|
|
|
2982
2982
|
var TEXT_IS_RESULT = /* @__PURE__ */ new Set(["helios_docs_get_document"]);
|
|
2983
2983
|
function withDataText(name, content, structuredContent) {
|
|
2984
2984
|
if (TEXT_IS_RESULT.has(name)) return content;
|
|
2985
|
-
|
|
2985
|
+
const summary = content.map((block) => block.text).join("\n\n");
|
|
2986
|
+
return [{ type: "text", text: `${summary}
|
|
2987
|
+
|
|
2988
|
+
${JSON.stringify(structuredContent)}` }];
|
|
2986
2989
|
}
|
|
2987
2990
|
function registerTool(server, tool) {
|
|
2988
2991
|
server.registerTool(
|
package/dist/cli.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -2960,7 +2960,7 @@ async function createHeliosAgentMcpServer(options) {
|
|
|
2960
2960
|
const { McpServer } = await import("@modelcontextprotocol/sdk/server/mcp.js");
|
|
2961
2961
|
const server = new McpServer({
|
|
2962
2962
|
name: "helios",
|
|
2963
|
-
version: "0.2.
|
|
2963
|
+
version: "0.2.7"
|
|
2964
2964
|
});
|
|
2965
2965
|
const sessionStore = options.sessionStore ?? new FileAgentSessionStore(options.sessionPath ?? getDefaultHeliosAgentMcpSessionPath());
|
|
2966
2966
|
const client = new HeliosAgentAuthClient({
|
|
@@ -3056,7 +3056,10 @@ function toolAnnotations(name) {
|
|
|
3056
3056
|
var TEXT_IS_RESULT = /* @__PURE__ */ new Set(["helios_docs_get_document"]);
|
|
3057
3057
|
function withDataText(name, content, structuredContent) {
|
|
3058
3058
|
if (TEXT_IS_RESULT.has(name)) return content;
|
|
3059
|
-
|
|
3059
|
+
const summary = content.map((block) => block.text).join("\n\n");
|
|
3060
|
+
return [{ type: "text", text: `${summary}
|
|
3061
|
+
|
|
3062
|
+
${JSON.stringify(structuredContent)}` }];
|
|
3060
3063
|
}
|
|
3061
3064
|
function registerTool(server, tool) {
|
|
3062
3065
|
server.registerTool(
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pgnio/helios-mcp",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7",
|
|
4
4
|
"description": "Helios MCP server: connect an AI agent to your Helios account to read markets and your portfolio and to trade on Hyperliquid. Most apps can use the hosted URL https://helios.pgn.io/mcp instead.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"homepage": "https://helios.pgn.io/?connect=ai",
|