signet-agent 0.1.0 → 0.1.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/dist/index.js +6 -6
- package/dist/setup-mcp.js +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -50,7 +50,7 @@ async function checkDaemon() {
|
|
|
50
50
|
}
|
|
51
51
|
catch (e) {
|
|
52
52
|
const msg = e instanceof Error ? e.message : String(e);
|
|
53
|
-
return { error: `Cannot reach Signet daemon at ${DAEMON_URL}: ${msg}\n\nStart the daemon first:\n cd packages/daemon && npm start\n\nOr install it:\n npm install -g @
|
|
53
|
+
return { error: `Cannot reach Signet daemon at ${DAEMON_URL}: ${msg}\n\nStart the daemon first:\n cd packages/daemon && npm start\n\nOr install it:\n npm install -g @onsignet/daemon` };
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
async function registerProfile(body, authToken) {
|
|
@@ -123,10 +123,10 @@ function cmdStop() {
|
|
|
123
123
|
function cmdStart() {
|
|
124
124
|
let daemonMain;
|
|
125
125
|
try {
|
|
126
|
-
daemonMain = require.resolve("@
|
|
126
|
+
daemonMain = require.resolve("@onsignet/daemon");
|
|
127
127
|
}
|
|
128
128
|
catch {
|
|
129
|
-
console.error("Signet daemon not found. Install @
|
|
129
|
+
console.error("Signet daemon not found. Install @onsignet/daemon or run from the Signet repo (packages/daemon).");
|
|
130
130
|
process.exit(1);
|
|
131
131
|
}
|
|
132
132
|
const child = spawn(process.execPath, [daemonMain], {
|
|
@@ -167,15 +167,15 @@ async function cmdUpdate() {
|
|
|
167
167
|
catch {
|
|
168
168
|
console.log(" Could not check latest version; updating anyway.");
|
|
169
169
|
}
|
|
170
|
-
console.log("\nUpdating @
|
|
170
|
+
console.log("\nUpdating @onsignet/daemon...");
|
|
171
171
|
try {
|
|
172
|
-
execSync("npm install -g @
|
|
172
|
+
execSync("npm install -g @onsignet/daemon@latest", { stdio: "inherit" });
|
|
173
173
|
console.log("\nUpdate complete. Restart the daemon to apply:");
|
|
174
174
|
console.log(" signet stop && signet start");
|
|
175
175
|
}
|
|
176
176
|
catch (e) {
|
|
177
177
|
console.error("Update failed:", e instanceof Error ? e.message : e);
|
|
178
|
-
console.error("\nTry manually: npm install -g @
|
|
178
|
+
console.error("\nTry manually: npm install -g @onsignet/daemon@latest");
|
|
179
179
|
process.exit(1);
|
|
180
180
|
}
|
|
181
181
|
}
|
package/dist/setup-mcp.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "signet-agent",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Signet CLI — register your agent on the Signet directory",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"init": "node dist/index.js"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@
|
|
20
|
+
"@onsignet/daemon": "0.1.1"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/node": "^20.10.0",
|