@ouro.bot/cli 0.1.0-alpha.111 → 0.1.0-alpha.112

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.112",
6
+ "changes": [
7
+ "`ouro up` no longer prints the 'ouro updated to X (was Y)' message twice when the update flow re-execs from a newly installed version."
8
+ ]
9
+ },
4
10
  {
5
11
  "version": "0.1.0-alpha.111",
6
12
  "changes": [
@@ -1884,9 +1884,12 @@ async function runOuroCli(args, deps = createDefaultOuroCliDeps()) {
1884
1884
  // hooks overwrite it. This detects when npx downloaded a newer CLI.
1885
1885
  const previousCliVersion = readFirstBundleMetaVersion(bundlesRoot);
1886
1886
  const updateSummary = await (0, update_hooks_1.applyPendingUpdates)(bundlesRoot, currentVersion);
1887
- // Notify about CLI binary update (npx downloaded a new version)
1887
+ // Notify about CLI binary update (npx downloaded a new version).
1888
+ // Skip when the symlink already points to the running version — that
1889
+ // means path 1 (checkForCliUpdate + reExecFromNewVersion) already
1890
+ // printed the update message before re-exec.
1888
1891
  /* v8 ignore start -- CLI update detection: tested via daemon-cli-version-detect.test.ts @preserve */
1889
- if (previousCliVersion && previousCliVersion !== currentVersion) {
1892
+ if (previousCliVersion && previousCliVersion !== currentVersion && linkedVersionBeforeUp !== currentVersion) {
1890
1893
  deps.writeStdout(`ouro updated to ${currentVersion} (was ${previousCliVersion})`);
1891
1894
  const changelogCommand = (0, ouro_version_manager_1.buildChangelogCommand)(previousCliVersion, currentVersion);
1892
1895
  /* v8 ignore next -- buildChangelogCommand is non-null when previous/current runtime versions differ @preserve */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ouro.bot/cli",
3
- "version": "0.1.0-alpha.111",
3
+ "version": "0.1.0-alpha.112",
4
4
  "main": "dist/heart/daemon/ouro-entry.js",
5
5
  "bin": {
6
6
  "cli": "dist/heart/daemon/ouro-bot-entry.js",