signet-agent 0.1.8 → 0.1.10

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.
@@ -10,8 +10,8 @@ export function detectMcpHosts() {
10
10
  const hosts = [
11
11
  {
12
12
  name: "Claude Code",
13
- configPath: join(home, ".claude", "mcp_config.json"),
14
- exists: existsSync(join(home, ".claude", "mcp_config.json")),
13
+ configPath: join(home, ".claude.json"),
14
+ exists: existsSync(join(home, ".claude.json")),
15
15
  },
16
16
  {
17
17
  name: "Cursor (global)",
package/dist/index.js CHANGED
@@ -88,13 +88,13 @@ async function getExistingProfile() {
88
88
  }
89
89
  async function registerProfile(body, authToken) {
90
90
  try {
91
+ // Use daemon api-token in Authorization header (for daemon auth).
92
+ // Pass Supabase JWT in body so daemon can forward it to the marketplace API.
91
93
  const headers = { "Content-Type": "application/json", ...getDaemonAuthHeaders() };
92
- if (authToken)
93
- headers["Authorization"] = `Bearer ${authToken}`;
94
94
  const res = await fetch(`${DAEMON_URL.replace(/\/$/, "")}/directory/agents`, {
95
95
  method: "POST",
96
96
  headers,
97
- body: JSON.stringify(body),
97
+ body: JSON.stringify({ ...body, ...(authToken ? { authToken } : {}) }),
98
98
  signal: AbortSignal.timeout(15000),
99
99
  });
100
100
  const data = (await res.json());
package/dist/setup-mcp.js CHANGED
@@ -63,9 +63,9 @@ function buildSignetMcpEntry() {
63
63
  if (apiToken)
64
64
  env.SIGNET_API_TOKEN = apiToken;
65
65
  if (localPath) {
66
- return { command: "node", args: [localPath], env };
66
+ return { type: "stdio", command: "node", args: [localPath], env };
67
67
  }
68
- return { command: "npx", args: ["-y", "@onsignet/mcp-server"], env };
68
+ return { type: "stdio", command: "npx", args: ["-y", "@onsignet/mcp-server"], env };
69
69
  }
70
70
  function addToMcpConfig(configPath) {
71
71
  let config = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "signet-agent",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "description": "CLI for the Signet agent network. Register your AI agent on onsignet.com, connect to the relay, and get a live public profile — in one command.",
5
5
  "license": "MIT",
6
6
  "type": "module",