@ouro.bot/cli 0.1.0-alpha.90 → 0.1.0-alpha.91
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,13 @@
|
|
|
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.91",
|
|
6
|
+
"changes": [
|
|
7
|
+
"Fixed `ouro changelog` so it reads the shipped object-shaped changelog format (`{ versions: [...] }`) instead of falling through to 'no changelog entries found' for valid runtime releases.",
|
|
8
|
+
"Added regression coverage for both populated and missing `versions` object-shaped changelog payloads so the CLI parser and coverage gate stay aligned."
|
|
9
|
+
]
|
|
10
|
+
},
|
|
4
11
|
{
|
|
5
12
|
"version": "0.1.0-alpha.90",
|
|
6
13
|
"changes": [
|
|
@@ -2189,7 +2189,8 @@ async function runOuroCli(args, deps = createDefaultOuroCliDeps()) {
|
|
|
2189
2189
|
? deps.getChangelogPath()
|
|
2190
2190
|
: (0, bundle_manifest_1.getChangelogPath)();
|
|
2191
2191
|
const raw = fs.readFileSync(changelogPath, "utf-8");
|
|
2192
|
-
const
|
|
2192
|
+
const parsed = JSON.parse(raw);
|
|
2193
|
+
const entries = Array.isArray(parsed) ? parsed : (parsed.versions ?? []);
|
|
2193
2194
|
let filtered = entries;
|
|
2194
2195
|
if (command.from) {
|
|
2195
2196
|
const fromVersion = command.from;
|