@ouro.bot/cli 0.1.0-alpha.724 → 0.1.0-alpha.726
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 +18 -0
- package/dist/heart/active-work.js +10 -3
- package/dist/heart/core.js +343 -77
- package/dist/heart/daemon/cli-exec.js +72 -14
- package/dist/heart/daemon/cli-help.js +13 -2
- package/dist/heart/daemon/cli-parse.js +82 -1
- package/dist/heart/daemon/daemon.js +286 -33
- package/dist/heart/daemon/doctor.js +21 -6
- package/dist/heart/daemon/habit-private-wake.js +6 -1
- package/dist/heart/habits/habit-cancel.js +810 -0
- package/dist/heart/habits/habit-lifecycle.js +1327 -0
- package/dist/heart/habits/habit-migration.js +28 -23
- package/dist/heart/habits/habit-parser.js +72 -8
- package/dist/heart/habits/habit-runtime-state.js +3 -24
- package/dist/heart/habits/habit-scheduler.js +268 -50
- package/dist/heart/habits/habit-session.js +16 -0
- package/dist/heart/hatch/hatch-flow.js +6 -4
- package/dist/heart/mailbox/readers/runtime-readers.js +26 -27
- package/dist/heart/orientation-frame.js +58 -1
- package/dist/heart/provider-attempt.js +4 -1
- package/dist/heart/providers/anthropic.js +23 -2
- package/dist/heart/start-of-turn-packet.js +14 -11
- package/dist/heart/streaming.js +565 -185
- package/dist/mind/obligation-steering.js +15 -9
- package/dist/mind/prompt.js +58 -26
- package/dist/nerves/coverage/run-artifacts.js +55 -35
- package/dist/nerves/review/cli.js +2 -2
- package/dist/nerves/review/core.js +14 -7
- package/dist/repertoire/tools-base.js +2 -0
- package/dist/repertoire/tools-habits.js +103 -0
- package/dist/repertoire/tools.js +18 -3
- package/dist/rsvp/cli.js +126 -20
- package/dist/rsvp/diagnostics.js +12 -2
- package/dist/rsvp/habit-policy.js +7 -0
- package/dist/rsvp/habit-stage.js +19 -4
- package/dist/rsvp/native-habit-runner.js +151 -11
- package/dist/rsvp/outbound-state.js +360 -0
- package/dist/senses/bluebubbles/client.js +90 -17
- package/dist/senses/bluebubbles/inbound-log.js +1 -0
- package/dist/senses/bluebubbles/index.js +662 -425
- package/dist/senses/bluebubbles/model.js +57 -13
- package/dist/senses/bluebubbles/mutation-log.js +21 -10
- package/dist/senses/bluebubbles/reaction-policy.js +55 -0
- package/dist/senses/bluebubbles/semantic-receipts.js +1818 -0
- package/dist/senses/cli/tui-store.js +1 -0
- package/dist/senses/cli.js +1 -0
- package/dist/senses/habit-lifecycle-guard.js +24 -0
- package/dist/senses/ingress-evidence.js +2 -0
- package/dist/senses/pipeline.js +90 -24
- package/dist/senses/private-runtime-worker.js +21 -20
- package/dist/senses/private-runtime.js +79 -29
- package/dist/senses/shared-turn.js +1 -0
- package/dist/senses/teams.js +1 -0
- package/package.json +6 -1
package/changelog.json
CHANGED
|
@@ -1,6 +1,24 @@
|
|
|
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.726",
|
|
6
|
+
"changes": [
|
|
7
|
+
"Isolate published release-smoke subprocesses from the operator home so bootstrap verification cannot mutate a live Ouro installation."
|
|
8
|
+
]
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"version": "0.1.0-alpha.725",
|
|
12
|
+
"changes": [
|
|
13
|
+
"Fix reaction orientation, grounded habit cancellation, send fencing, and streamed Unicode.",
|
|
14
|
+
"Harden actor authorization, semantic receipt quarantine, and ownership commit ordering.",
|
|
15
|
+
"Prevent final-only narration leaks, cancelled-habit resurrection, and hidden incident Nerves evidence.",
|
|
16
|
+
"Align both package entry points on the Node 22 runtime floor.",
|
|
17
|
+
"Drop cached actor, trust, tool, and prior-work prompt state when refresh fails.",
|
|
18
|
+
"Keep BlueBubbles events audit-only when message direction is missing or malformed, before actor authority or recovery can be created.",
|
|
19
|
+
"Classify sends by full overlap with cancellation and suppress provider prose after settle becomes authoritative."
|
|
20
|
+
]
|
|
21
|
+
},
|
|
4
22
|
{
|
|
5
23
|
"version": "0.1.0-alpha.724",
|
|
6
24
|
"changes": [
|
|
@@ -14,6 +14,7 @@ const obligations_1 = require("../arc/obligations");
|
|
|
14
14
|
const session_activity_1 = require("./session-activity");
|
|
15
15
|
const target_resolution_1 = require("./target-resolution");
|
|
16
16
|
const config_1 = require("./config");
|
|
17
|
+
const orientation_frame_1 = require("./orientation-frame");
|
|
17
18
|
const RECENT_ACTIVE_OBLIGATION_WINDOW_MS = 60 * 60 * 1000;
|
|
18
19
|
function activityPriority(source) {
|
|
19
20
|
return source === "friend-facing" ? 0 : 1;
|
|
@@ -872,9 +873,12 @@ function formatActiveWorkFrame(frame, options) {
|
|
|
872
873
|
lines.push(`this work relates to bridge ${frame.bridgeSuggestion.bridgeId} -- i should connect ${formatSessionLabel(frame.bridgeSuggestion.targetSession)} to it.`);
|
|
873
874
|
}
|
|
874
875
|
}
|
|
875
|
-
|
|
876
|
+
const rendered = lines.join("\n");
|
|
877
|
+
return typeof options?.resumePriorWork === "boolean"
|
|
878
|
+
? (0, orientation_frame_1.labelPriorWorkSurface)(rendered, options.resumePriorWork)
|
|
879
|
+
: rendered;
|
|
876
880
|
}
|
|
877
|
-
function formatLiveWorldStateCheckpoint(frame) {
|
|
881
|
+
function formatLiveWorldStateCheckpoint(frame, options) {
|
|
878
882
|
const primaryObligation = findPrimaryOpenObligation(frame);
|
|
879
883
|
const activeLane = formatActiveLane(frame, primaryObligation) ?? "no explicit live lane";
|
|
880
884
|
const currentArtifact = formatCurrentArtifact(frame, primaryObligation) ?? "no artifact yet";
|
|
@@ -899,7 +903,10 @@ function formatLiveWorldStateCheckpoint(frame) {
|
|
|
899
903
|
lines.push("other active sessions:");
|
|
900
904
|
lines.push(...otherActiveSessions);
|
|
901
905
|
}
|
|
902
|
-
|
|
906
|
+
const rendered = lines.join("\n");
|
|
907
|
+
return typeof options?.resumePriorWork === "boolean"
|
|
908
|
+
? (0, orientation_frame_1.labelPriorWorkSurface)(rendered, options.resumePriorWork)
|
|
909
|
+
: rendered;
|
|
903
910
|
}
|
|
904
911
|
function snapshotActiveWork(frame) {
|
|
905
912
|
return {
|