@agentvalet/register 0.4.19 → 0.4.20
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 +36 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1552,6 +1552,24 @@ async function registerAgentFlow(apiKey, ownerId) {
|
|
|
1552
1552
|
);
|
|
1553
1553
|
console.log(chalk7.dim(" Approve this agent in your dashboard to activate it."));
|
|
1554
1554
|
console.log("");
|
|
1555
|
+
if (shouldSetup) {
|
|
1556
|
+
if (detected.claudeCode) {
|
|
1557
|
+
console.log(chalk7.yellow(" \u26A0 Claude Code: project MCPs require trust on first run."));
|
|
1558
|
+
console.log(chalk7.dim(" In your Claude Code session, run: /mcp"));
|
|
1559
|
+
console.log(chalk7.dim(' Approve "agentvalet" to load the tools.'));
|
|
1560
|
+
console.log("");
|
|
1561
|
+
}
|
|
1562
|
+
if (detected.cursor) {
|
|
1563
|
+
console.log(chalk7.dim(" Cursor: restart Cursor (or reopen the workspace) to pick up the MCP."));
|
|
1564
|
+
}
|
|
1565
|
+
if (detected.factoryDroid) {
|
|
1566
|
+
console.log(chalk7.dim(" Factory Droid: restart Factory to pick up the MCP."));
|
|
1567
|
+
}
|
|
1568
|
+
if (detected.codex) {
|
|
1569
|
+
console.log(chalk7.dim(" Codex CLI: start a new codex session to pick up the MCP."));
|
|
1570
|
+
}
|
|
1571
|
+
console.log("");
|
|
1572
|
+
}
|
|
1555
1573
|
console.log(" Useful commands:");
|
|
1556
1574
|
console.log(chalk7.dim(" npx @agentvalet/register \u2014 register another agent"));
|
|
1557
1575
|
console.log(chalk7.dim(" npx @agentvalet/register refresh \u2014 refresh approved permissions"));
|
|
@@ -2178,6 +2196,24 @@ function installCommand() {
|
|
|
2178
2196
|
console.log(` Key path: ${chalk12.dim(AGENT_KEY_PATH)}`);
|
|
2179
2197
|
console.log(` Proxy: ${chalk12.dim(proxy_url)}`);
|
|
2180
2198
|
console.log("");
|
|
2199
|
+
if (opts.frameworks !== false) {
|
|
2200
|
+
const detected = detectFrameworks();
|
|
2201
|
+
if (detected.claudeCode) {
|
|
2202
|
+
console.log(chalk12.yellow(" \u26A0 Claude Code: project MCPs require trust on first run."));
|
|
2203
|
+
console.log(chalk12.dim(" In your Claude Code session, run: /mcp"));
|
|
2204
|
+
console.log(chalk12.dim(' Approve "agentvalet" to load the tools.'));
|
|
2205
|
+
console.log("");
|
|
2206
|
+
}
|
|
2207
|
+
if (detected.cursor) {
|
|
2208
|
+
console.log(chalk12.dim(" Cursor: restart Cursor (or reopen the workspace) to pick up the MCP."));
|
|
2209
|
+
}
|
|
2210
|
+
if (detected.factoryDroid) {
|
|
2211
|
+
console.log(chalk12.dim(" Factory Droid: restart Factory to pick up the MCP."));
|
|
2212
|
+
}
|
|
2213
|
+
if (detected.codex) {
|
|
2214
|
+
console.log(chalk12.dim(" Codex CLI: start a new codex session to pick up the MCP."));
|
|
2215
|
+
}
|
|
2216
|
+
}
|
|
2181
2217
|
console.log(` Dashboard: ${chalk12.cyan.underline("https://app.agentvalet.ai/agents/" + agent_id)}`);
|
|
2182
2218
|
console.log("");
|
|
2183
2219
|
process.exit(0);
|