@ouro.bot/cli 0.1.0-alpha.606 → 0.1.0-alpha.608
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/changelog.json
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_note": "This changelog is maintained as part of the PR/version-bump workflow. Agent-curated, not auto-generated. Agents read this file directly via read_file to understand what changed between versions.",
|
|
3
3
|
"versions": [
|
|
4
|
+
{
|
|
5
|
+
"version": "0.1.0-alpha.608",
|
|
6
|
+
"changes": [
|
|
7
|
+
"Carry agent context through MCP CLI commands."
|
|
8
|
+
]
|
|
9
|
+
},
|
|
4
10
|
{
|
|
5
11
|
"version": "0.1.0-alpha.606",
|
|
6
12
|
"changes": [
|
|
@@ -1237,7 +1237,7 @@ function parseMcpCommand(args) {
|
|
|
1237
1237
|
if (!sub)
|
|
1238
1238
|
throw new Error(`Usage\n${usage()}`);
|
|
1239
1239
|
if (sub === "list")
|
|
1240
|
-
return { kind: "mcp.list" };
|
|
1240
|
+
return { kind: "mcp.list", ...(agent ? { agent } : {}) };
|
|
1241
1241
|
if (sub === "call") {
|
|
1242
1242
|
const server = rest[0];
|
|
1243
1243
|
const tool = rest[1];
|
|
@@ -1245,7 +1245,7 @@ function parseMcpCommand(args) {
|
|
|
1245
1245
|
throw new Error(`Usage\n${usage()}`);
|
|
1246
1246
|
const argsIdx = rest.indexOf("--args");
|
|
1247
1247
|
const mcpArgs = argsIdx !== -1 && rest[argsIdx + 1] ? rest[argsIdx + 1] : undefined;
|
|
1248
|
-
return { kind: "mcp.call", server, tool, ...(mcpArgs ? { args: mcpArgs } : {}) };
|
|
1248
|
+
return { kind: "mcp.call", server, tool, ...(mcpArgs ? { args: mcpArgs } : {}), ...(agent ? { agent } : {}) };
|
|
1249
1249
|
}
|
|
1250
1250
|
if (sub === "canary") {
|
|
1251
1251
|
let socketOverride;
|
|
@@ -1240,6 +1240,7 @@ class OuroDaemon {
|
|
|
1240
1240
|
};
|
|
1241
1241
|
}
|
|
1242
1242
|
case "mcp.list": {
|
|
1243
|
+
(0, identity_1.setAgentName)(command.agent ?? "slugger");
|
|
1243
1244
|
const mcpManager = await (0, mcp_manager_1.getSharedMcpManager)();
|
|
1244
1245
|
if (!mcpManager) {
|
|
1245
1246
|
return { ok: true, data: [], message: "no MCP servers configured" };
|
|
@@ -1247,6 +1248,7 @@ class OuroDaemon {
|
|
|
1247
1248
|
return { ok: true, data: mcpManager.listAllTools() };
|
|
1248
1249
|
}
|
|
1249
1250
|
case "mcp.call": {
|
|
1251
|
+
(0, identity_1.setAgentName)(command.agent ?? "slugger");
|
|
1250
1252
|
const mcpCallManager = await (0, mcp_manager_1.getSharedMcpManager)();
|
|
1251
1253
|
if (!mcpCallManager) {
|
|
1252
1254
|
return { ok: false, error: "no MCP servers configured" };
|