@ouro.bot/cli 0.1.0-alpha.369 → 0.1.0-alpha.370
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.370",
|
|
6
|
+
"changes": [
|
|
7
|
+
"`ouro up` AI-assisted diagnosis prompts now accept `yes`, `YES`, and whitespace-padded affirmative answers, matching the deterministic repair prompts.",
|
|
8
|
+
"Repair prompt affirmative parsing now lives in one shared helper used by both interactive auth/vault repair and agentic diagnosis.",
|
|
9
|
+
"`@ouro.bot/cli` and the `ouro.bot` wrapper are version-synced for the repair prompt answer parsing release."
|
|
10
|
+
]
|
|
11
|
+
},
|
|
4
12
|
{
|
|
5
13
|
"version": "0.1.0-alpha.369",
|
|
6
14
|
"changes": [
|
|
@@ -152,7 +152,7 @@ async function runAgenticRepair(degraded, deps) {
|
|
|
152
152
|
}
|
|
153
153
|
// Offer agentic diagnosis
|
|
154
154
|
const answer = await deps.promptInput("would you like AI-assisted diagnosis? [y/n] ");
|
|
155
|
-
if (
|
|
155
|
+
if (!(0, interactive_repair_1.isAffirmativeAnswer)(answer)) {
|
|
156
156
|
// User declined — fall back to deterministic repair
|
|
157
157
|
(0, runtime_1.emitNervesEvent)({
|
|
158
158
|
level: "info",
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.hasRunnableInteractiveRepair = hasRunnableInteractiveRepair;
|
|
10
|
+
exports.isAffirmativeAnswer = isAffirmativeAnswer;
|
|
10
11
|
exports.runInteractiveRepair = runInteractiveRepair;
|
|
11
12
|
const runtime_1 = require("../../nerves/runtime");
|
|
12
13
|
const identity_1 = require("../identity");
|