@ouro.bot/cli 0.1.0-alpha.1149 → 0.1.0-alpha.1150
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.1150",
|
|
6
|
+
"changes": [
|
|
7
|
+
"Make a machine with no terminal host report Shepherd as not attached, not as an error, so the app-client route passes health under launchd; accept a session's project-session id wherever a session id is taken."
|
|
8
|
+
]
|
|
9
|
+
},
|
|
4
10
|
{
|
|
5
11
|
"version": "0.1.0-alpha.1149",
|
|
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.1150</Repository>
|
|
5
5
|
<Registry>https://github.com/ourostack/ouroboros/pkgs/container/ouroboros-butler</Registry>
|
|
6
6
|
<Network>host</Network>
|
|
7
7
|
<Shell>sh</Shell>
|
|
@@ -1068,7 +1068,8 @@ class DaemonSenseManager {
|
|
|
1068
1068
|
shepherd: {
|
|
1069
1069
|
configured: context.facts.shepherd.configured,
|
|
1070
1070
|
optional: context.facts.shepherd.optional,
|
|
1071
|
-
|
|
1071
|
+
// A terminal host this machine never had is not a crashed sense, so a skipped start must not read as an error.
|
|
1072
|
+
...(context.facts.shepherd.optional && !context.facts.shepherd.configured ? {} : runtime.get(agent)?.shepherd ?? {}),
|
|
1072
1073
|
},
|
|
1073
1074
|
"app-sessions": {
|
|
1074
1075
|
configured: context.facts["app-sessions"].configured,
|
|
@@ -87,15 +87,15 @@ async function ask(frame, settle, waitMs, options) {
|
|
|
87
87
|
return { ok: true, frame: last, error: null };
|
|
88
88
|
return { ok: false, frame: last ?? null, error: last && verdict(last) === "fail" ? reasonOf(last) : "the app did not answer in time" };
|
|
89
89
|
}
|
|
90
|
-
/** A session by its id, or a unique start of
|
|
90
|
+
/** A session by its id or its project-session (workspace) id, or a unique start of either; the first eight characters are enough. */
|
|
91
91
|
function findSession(rows, value) {
|
|
92
92
|
const wanted = str(value)?.trim() ?? "";
|
|
93
93
|
if (!wanted)
|
|
94
94
|
throw new Error("name a session: its id, or the start of it, from list_sessions_and_chats");
|
|
95
|
-
const exact = rows.find(row => row.id === wanted);
|
|
95
|
+
const exact = rows.find(row => row.id === wanted) ?? rows.find(row => row.workspaceId === wanted);
|
|
96
96
|
if (exact)
|
|
97
97
|
return exact;
|
|
98
|
-
const matches = rows.filter(row => row.id.startsWith(wanted));
|
|
98
|
+
const matches = rows.filter(row => row.id.startsWith(wanted) || row.workspaceId?.startsWith(wanted));
|
|
99
99
|
if (matches.length === 1)
|
|
100
100
|
return matches[0];
|
|
101
101
|
throw new Error(matches.length ? `'${wanted}' matches ${matches.length} sessions; give more of the id` : `no session '${wanted}' in the Copilot app (list_sessions_and_chats shows them)`);
|
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.1150",
|
|
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.1150",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@anthropic-ai/sdk": "^0.78.0",
|
|
12
12
|
"@ouro.bot/friends": "0.1.0-alpha.18",
|