@ouro.bot/cli 0.1.0-alpha.1176 → 0.1.0-alpha.1177
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.1177",
|
|
6
|
+
"changes": [
|
|
7
|
+
"A vault or local unlock-store error that is not a rejection of the saved unlock secret no longer asks a human to run `ouro vault unlock`. A locked or unavailable macOS login keychain, a bw or server hiccup, or an unclassified vault error at daemon startup degrades that agent (`vault:<agent>` in daemon health) and retries on its own, so `ouro up` repair stops offering an unlock prompt for them. Only the server rejecting the saved unlock secret, or no saved secret at all, still asks a human."
|
|
8
|
+
]
|
|
9
|
+
},
|
|
4
10
|
{
|
|
5
11
|
"version": "0.1.0-alpha.1176",
|
|
6
12
|
"changes": [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0"?>
|
|
2
2
|
<Container version="2">
|
|
3
3
|
<Name>ouro-butler</Name>
|
|
4
|
-
<Repository>ghcr.io/ourostack/ouroboros-butler:0.1.0-alpha.
|
|
4
|
+
<Repository>ghcr.io/ourostack/ouroboros-butler:0.1.0-alpha.1177</Repository>
|
|
5
5
|
<Registry>https://github.com/ourostack/ouroboros/pkgs/container/ouroboros-butler</Registry>
|
|
6
6
|
<Network>host</Network>
|
|
7
7
|
<Shell>sh</Shell>
|
|
@@ -265,6 +265,16 @@ function invalidPoolResult(agentName, lane, provider, model, pool) {
|
|
|
265
265
|
issue: (0, readiness_repair_1.vaultUnconfiguredIssue)(agentName),
|
|
266
266
|
};
|
|
267
267
|
}
|
|
268
|
+
if (pool.reason === "unavailable" && !isVaultAuthRejection(pool.error)) {
|
|
269
|
+
// Nothing says the saved unlock secret is wrong (a locked login keychain, a bw or server hiccup, an outage),
|
|
270
|
+
// so asking a human to unlock the vault would be wrong; the daemon retries on its own.
|
|
271
|
+
return {
|
|
272
|
+
ok: false,
|
|
273
|
+
error: `${lane} provider ${provider} model ${model} cannot read provider credentials from ${agentName}'s vault: ${pool.error}`,
|
|
274
|
+
fix: `The vault or this machine's local unlock store is temporarily unavailable; Ouro keeps retrying on its own. If it persists, run 'ouro doctor'.`,
|
|
275
|
+
vaultUnreachable: true,
|
|
276
|
+
};
|
|
277
|
+
}
|
|
268
278
|
if (pool.reason === "invalid") {
|
|
269
279
|
return {
|
|
270
280
|
ok: false,
|
|
@@ -278,6 +288,10 @@ function invalidPoolResult(agentName, lane, provider, model, pool) {
|
|
|
278
288
|
fix: vaultUnlockOrRecoverFix(agentName, `Then run 'ouro up' again. If the credential is missing or stale after unlock or recovery, run 'ouro auth --agent ${agentName} --provider ${provider}'.`),
|
|
279
289
|
};
|
|
280
290
|
}
|
|
291
|
+
/** The vault server said the saved unlock secret is wrong: the one case where a human must act. */
|
|
292
|
+
function isVaultAuthRejection(error) {
|
|
293
|
+
return /rejected the saved|saved vault unlock secret|username or password is incorrect|invalid master password/i.test(error);
|
|
294
|
+
}
|
|
281
295
|
function isVaultLockedError(error) {
|
|
282
296
|
const normalized = error.toLowerCase();
|
|
283
297
|
return /(?:ouro )?credential vault is locked|vault(?: is)? locked/.test(normalized);
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ouro.bot/cli",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.1177",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@ouro.bot/cli",
|
|
9
|
-
"version": "0.1.0-alpha.
|
|
9
|
+
"version": "0.1.0-alpha.1177",
|
|
10
10
|
"bundleDependencies": [
|
|
11
11
|
"@ouro.bot/friends"
|
|
12
12
|
],
|