@ouro.bot/cli 0.1.0-alpha.477 → 0.1.0-alpha.478

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,14 @@
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.478",
6
+ "changes": [
7
+ "`ouro mail backfill-indexes` now refreshes vault runtime credentials before resolving the hosted Mailroom reader, so the one-shot index repair works in a fresh CLI process instead of falsely reporting `runtime/config` missing.",
8
+ "Backfill CLI coverage now locks both the runtime-refresh path and the real failure shape, preventing future hosted-mail repair releases from depending on warmed in-process config caches.",
9
+ "`@ouro.bot/cli` and the `ouro.bot` wrapper stay version-synced for the hosted mail index-repair follow-up."
10
+ ]
11
+ },
4
12
  {
5
13
  "version": "0.1.0-alpha.477",
6
14
  "changes": [
@@ -3473,6 +3473,11 @@ async function executeMailBackfillIndexes(command, deps) {
3473
3473
  const progress = createHumanCommandProgress(deps, "mail index repair");
3474
3474
  try {
3475
3475
  progress.startPhase("resolving Mailroom store");
3476
+ const runtime = await (0, runtime_credentials_1.refreshRuntimeCredentialConfig)(command.agent, { preserveCachedOnFailure: true });
3477
+ if (!runtime.ok) {
3478
+ progress.end();
3479
+ throw new Error(`cannot read Mailroom config from ${runtime.itemPath}: ${runtime.error}`);
3480
+ }
3476
3481
  const resolved = (0, reader_1.resolveMailroomReader)(command.agent);
3477
3482
  if (!resolved.ok) {
3478
3483
  progress.end();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ouro.bot/cli",
3
- "version": "0.1.0-alpha.477",
3
+ "version": "0.1.0-alpha.478",
4
4
  "main": "dist/heart/daemon/ouro-entry.js",
5
5
  "bin": {
6
6
  "cli": "dist/heart/daemon/ouro-bot-entry.js",