@ouro.bot/cli 0.1.0-alpha.676 → 0.1.0-alpha.678
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,18 @@
|
|
|
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.678",
|
|
6
|
+
"changes": [
|
|
7
|
+
"Register dev-tool MCP clients through the installed ouro command instead of repo dist, preventing Codex and Claude setup from pinning long-lived clients to stale ignored build artifacts."
|
|
8
|
+
]
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"version": "0.1.0-alpha.677",
|
|
12
|
+
"changes": [
|
|
13
|
+
"Support structured JSON output for ouro private status so the installed private-runtime CLI matches its advertised help surface alongside private decisions."
|
|
14
|
+
]
|
|
15
|
+
},
|
|
4
16
|
{
|
|
5
17
|
"version": "0.1.0-alpha.676",
|
|
6
18
|
"changes": [
|
|
@@ -6809,9 +6809,7 @@ async function runOuroCli(args, deps = (0, cli_defaults_1.createDefaultOuroCliDe
|
|
|
6809
6809
|
}
|
|
6810
6810
|
const sourceRoot = (0, identity_1.getRepoRoot)();
|
|
6811
6811
|
const runtimeMode = (0, runtime_mode_1.detectRuntimeMode)(sourceRoot);
|
|
6812
|
-
const baseMcpServeCommand =
|
|
6813
|
-
? `node ${path.join(sourceRoot, "dist", "heart", "daemon", "ouro-bot-entry.js")} mcp-serve --agent ${setupAgent}`
|
|
6814
|
-
: `ouro mcp-serve --agent ${setupAgent}`;
|
|
6812
|
+
const baseMcpServeCommand = `ouro mcp-serve --agent ${setupAgent}`;
|
|
6815
6813
|
const mcpServeCommand = `${mcpServePrefix}${baseMcpServeCommand}`;
|
|
6816
6814
|
if (tool === "claude-code") {
|
|
6817
6815
|
// 1. Register MCP server with Claude Code
|
|
@@ -7719,14 +7717,17 @@ async function runOuroCli(args, deps = (0, cli_defaults_1.createDefaultOuroCliDe
|
|
|
7719
7717
|
catch { /* no habits — heartbeat unknown */ }
|
|
7720
7718
|
// Attention count
|
|
7721
7719
|
const activeObligations = listActiveReturnObligations(command.agent);
|
|
7722
|
-
const
|
|
7720
|
+
const statusPayload = {
|
|
7723
7721
|
agentName: command.agent,
|
|
7724
7722
|
runtimeState,
|
|
7725
7723
|
recordSummary,
|
|
7726
7724
|
heartbeat,
|
|
7727
7725
|
attentionCount: activeObligations.length,
|
|
7728
7726
|
now: Date.now(),
|
|
7729
|
-
}
|
|
7727
|
+
};
|
|
7728
|
+
const statusOutput = command.json
|
|
7729
|
+
? `${JSON.stringify(statusPayload, null, 2)}\n`
|
|
7730
|
+
: buildInnerStatusOutput(statusPayload);
|
|
7730
7731
|
const message = command.legacyAlias === "inner"
|
|
7731
7732
|
? [`legacy alias: use \`ouro private status --agent ${command.agent}\``, statusOutput].join("\n")
|
|
7732
7733
|
: statusOutput;
|
|
@@ -346,8 +346,8 @@ const SUBCOMMAND_HELP = {
|
|
|
346
346
|
},
|
|
347
347
|
"private status": {
|
|
348
348
|
description: "Show private-runtime status from local agent state",
|
|
349
|
-
usage: "ouro private status [--agent <name>]",
|
|
350
|
-
example: "ouro private status --agent ouroboros",
|
|
349
|
+
usage: "ouro private status [--agent <name>] [--json]",
|
|
350
|
+
example: "ouro private status --agent ouroboros --json",
|
|
351
351
|
},
|
|
352
352
|
"auth verify": {
|
|
353
353
|
description: "Verify agent provider credentials without changing provider/model lanes",
|
|
@@ -119,7 +119,7 @@ function usage() {
|
|
|
119
119
|
" ouro friend update <id> --trust <level> [--agent <name>]",
|
|
120
120
|
" ouro thoughts [--last <n>] [--json] [--follow] [--agent <name>]",
|
|
121
121
|
" ouro private decisions [--agent <name>] [--limit <n>] [--json]",
|
|
122
|
-
" ouro private status [--agent <name>]",
|
|
122
|
+
" ouro private status [--agent <name>] [--json]",
|
|
123
123
|
" ouro work card|gauntlet|sentinel [refresh] [--agent <name>] [--format text|json|--json]",
|
|
124
124
|
" ouro nerves-review [--agent <name>] [--process <name>] [--component <substr>] [--event <substr>] [--level <level>] [--since <duration>] [--limit <n>] [--json]",
|
|
125
125
|
" ouro friend link <agent> --friend <id> --provider <p> --external-id <eid>",
|
|
@@ -1642,13 +1642,19 @@ function parsePrivateCommand(args) {
|
|
|
1642
1642
|
const [subcommand] = args;
|
|
1643
1643
|
if (subcommand === "status") {
|
|
1644
1644
|
const { agent, rest } = extractAgentFlag(args.slice(1));
|
|
1645
|
-
|
|
1646
|
-
|
|
1645
|
+
let json = false;
|
|
1646
|
+
for (const token of rest) {
|
|
1647
|
+
if (token === "--json") {
|
|
1648
|
+
json = true;
|
|
1649
|
+
}
|
|
1650
|
+
else {
|
|
1651
|
+
throw new Error("Usage: ouro private status [--agent <name>] [--json]");
|
|
1652
|
+
}
|
|
1647
1653
|
}
|
|
1648
|
-
return { kind: "private.status", ...(agent ? { agent } : {}) };
|
|
1654
|
+
return { kind: "private.status", ...(agent ? { agent } : {}), json };
|
|
1649
1655
|
}
|
|
1650
1656
|
if (subcommand !== "decisions") {
|
|
1651
|
-
throw new Error("Usage: ouro private decisions [--agent <name>] [--limit <n>] [--json] OR ouro private status [--agent <name>]");
|
|
1657
|
+
throw new Error("Usage: ouro private decisions [--agent <name>] [--limit <n>] [--json] OR ouro private status [--agent <name>] [--json]");
|
|
1652
1658
|
}
|
|
1653
1659
|
const { agent, rest } = extractAgentFlag(args.slice(1));
|
|
1654
1660
|
let limit = 20;
|