@ouro.bot/cli 0.1.0-alpha.421 → 0.1.0-alpha.422

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,15 @@
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.422",
6
+ "changes": [
7
+ "`ouro auth` now streams provider-vault read progress before browser/token work begins, so a locked, slow, or remote vault never looks like a dead terminal after the initial access check.",
8
+ "Provider credential saves now stream the post-write provider snapshot reload, including vault item reads and parsing, instead of going silent after `refreshing local provider snapshot`.",
9
+ "Auth-flow tests cover the pre-auth vault read and real Bitwarden-backed post-save refresh progress so the visible credential path stays protected.",
10
+ "`@ouro.bot/cli` and the `ouro.bot` wrapper are version-synced for the final auth-flow vault progress sweep."
11
+ ]
12
+ },
4
13
  {
5
14
  "version": "0.1.0-alpha.421",
6
15
  "changes": [
@@ -387,7 +387,9 @@ async function runRuntimeAuthFlow(input, deps = {}) {
387
387
  meta: { agentName: input.agentName, provider: input.provider },
388
388
  });
389
389
  writeAuthProgress(input, `checking ${input.agentName}'s vault access...`);
390
- const vault = await (0, provider_credentials_1.refreshProviderCredentialPool)(input.agentName);
390
+ const vault = await (0, provider_credentials_1.refreshProviderCredentialPool)(input.agentName, {
391
+ onProgress: (message) => writeAuthProgress(input, message),
392
+ });
391
393
  if (!vault.ok && vault.reason === "unavailable") {
392
394
  const fix = (0, vault_unlock_1.isCredentialVaultNotConfiguredError)(vault.error)
393
395
  ? (0, vault_unlock_1.vaultCreateRecoverFix)(input.agentName, `Then retry 'ouro auth --agent ${input.agentName} --provider ${input.provider}'.`)
@@ -340,7 +340,9 @@ async function upsertProviderCredential(input) {
340
340
  notes: "Ouro provider credentials. The vault item password is a versioned JSON payload.",
341
341
  });
342
342
  input.onProgress?.(`refreshing local provider snapshot from ${input.agentName}'s vault...`);
343
- const refreshResult = await refreshProviderCredentialPool(input.agentName);
343
+ const refreshResult = await refreshProviderCredentialPool(input.agentName, {
344
+ onProgress: input.onProgress,
345
+ });
344
346
  if (!refreshResult.ok) {
345
347
  throw new Error(`credential stored in vault, but the local provider snapshot could not be refreshed: ${refreshResult.error}. ` +
346
348
  `Run 'ouro provider refresh --agent ${input.agentName}' after fixing vault access, then run 'ouro auth verify --agent ${input.agentName}'.`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ouro.bot/cli",
3
- "version": "0.1.0-alpha.421",
3
+ "version": "0.1.0-alpha.422",
4
4
  "main": "dist/heart/daemon/ouro-entry.js",
5
5
  "bin": {
6
6
  "cli": "dist/heart/daemon/ouro-bot-entry.js",