@ouro.bot/cli 0.1.0-alpha.129 → 0.1.0-alpha.130
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 +7 -0
- package/dist/heart/core.js +5 -17
- package/dist/heart/daemon/daemon-cli.js +1 -1
- package/package.json +1 -1
package/changelog.json
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
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.130",
|
|
6
|
+
"changes": [
|
|
7
|
+
"Removed delegation adherence gate on final_answer: agents can now deliver answers regardless of delegation suggestions. Fixes infinite rejection loop.",
|
|
8
|
+
"CLI help: ouro auth -h now correctly shows auth-specific help instead of triggering top-level help."
|
|
9
|
+
]
|
|
10
|
+
},
|
|
4
11
|
{
|
|
5
12
|
"version": "0.1.0-alpha.129",
|
|
6
13
|
"changes": [
|
package/dist/heart/core.js
CHANGED
|
@@ -237,23 +237,11 @@ function isExternalStateQuery(toolName, args) {
|
|
|
237
237
|
const cmd = String(args.command ?? "");
|
|
238
238
|
return /\bgh\s+(pr|run|api|issue)\b/.test(cmd) || /\bnpm\s+(view|info|show)\b/.test(cmd);
|
|
239
239
|
}
|
|
240
|
-
function getFinalAnswerRetryError(mustResolveBeforeHandoff, intent, sawSteeringFollowUp,
|
|
241
|
-
//
|
|
242
|
-
//
|
|
243
|
-
//
|
|
244
|
-
//
|
|
245
|
-
if (delegationDecision?.target === "delegate-inward" && !sawSendMessageSelf && !sawGoInward && !sawQuerySession && intent !== "complete" && intent !== "blocked") {
|
|
246
|
-
(0, runtime_1.emitNervesEvent)({
|
|
247
|
-
event: "engine.delegation_adherence_rejected",
|
|
248
|
-
component: "engine",
|
|
249
|
-
message: "delegation adherence check rejected final_answer",
|
|
250
|
-
meta: {
|
|
251
|
-
target: delegationDecision.target,
|
|
252
|
-
reasons: delegationDecision.reasons,
|
|
253
|
-
},
|
|
254
|
-
});
|
|
255
|
-
return "you're reaching for a final answer, but part of you knows this needs more thought. take it inward -- go_inward will let you think privately, or send_message(self) if you just want to leave yourself a note.";
|
|
256
|
-
}
|
|
240
|
+
function getFinalAnswerRetryError(mustResolveBeforeHandoff, intent, sawSteeringFollowUp, _delegationDecision, sawSendMessageSelf, sawGoInward, _sawQuerySession, currentObligation, innerJob, sawExternalStateQuery) {
|
|
241
|
+
// Delegation adherence removed: the delegation decision is surfaced in the
|
|
242
|
+
// system prompt as a suggestion. Hard-gating final_answer caused infinite
|
|
243
|
+
// rejection loops where the agent couldn't respond to the user at all.
|
|
244
|
+
// The agent is free to follow or ignore the delegation hint.
|
|
257
245
|
// 2. Pending obligation not addressed
|
|
258
246
|
if (innerJob?.obligationStatus === "pending" && !sawSendMessageSelf && !sawGoInward) {
|
|
259
247
|
return "you're still holding something from an earlier conversation -- someone is waiting for your answer. finish the thought first, or go_inward to keep working on it privately.";
|
|
@@ -1714,7 +1714,7 @@ function executeReminderCommand(command, taskMod) {
|
|
|
1714
1714
|
}
|
|
1715
1715
|
}
|
|
1716
1716
|
async function runOuroCli(args, deps = createDefaultOuroCliDeps()) {
|
|
1717
|
-
if (args.
|
|
1717
|
+
if (args.length === 1 && (args[0] === "--help" || args[0] === "-h")) {
|
|
1718
1718
|
const text = usage();
|
|
1719
1719
|
deps.writeStdout(text);
|
|
1720
1720
|
return text;
|