@ouro.bot/cli 0.1.0-alpha.926 → 0.1.0-alpha.927
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.927",
|
|
6
|
+
"changes": [
|
|
7
|
+
"Keep the managed session-attention listener alive under cmuxOnly by validating its native entry with the configured machine-scoped cmux socket authority, without exposing credentials in command arguments."
|
|
8
|
+
]
|
|
9
|
+
},
|
|
4
10
|
{
|
|
5
11
|
"version": "0.1.0-alpha.926",
|
|
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.927</Repository>
|
|
5
5
|
<Registry>https://github.com/ourostack/ouroboros/pkgs/container/ouroboros-butler</Registry>
|
|
6
6
|
<Network>host</Network>
|
|
7
7
|
<Shell>sh</Shell>
|
|
@@ -248,7 +248,15 @@ async function startManagedShepherdAttention(options) {
|
|
|
248
248
|
const app = await startShepherdAttention(options);
|
|
249
249
|
try {
|
|
250
250
|
(0, attention_sidebar_1.installAttentionSidebar)(path.join(os.homedir(), ".config/cmux/sidebars"), app.url, options.agent);
|
|
251
|
-
const
|
|
251
|
+
const { socketPath, auth } = options.cmuxConnection;
|
|
252
|
+
const validated = (0, node_child_process_1.spawnSync)("cmux", ["--socket", socketPath, "sidebar", "validate", `ouro-attention-${options.agent}`], {
|
|
253
|
+
encoding: "utf8",
|
|
254
|
+
env: {
|
|
255
|
+
...process.env,
|
|
256
|
+
CMUX_SOCKET_CAPABILITY: auth.kind === "capability" ? auth.token : undefined,
|
|
257
|
+
CMUX_SOCKET_PASSWORD: auth.kind === "password" ? auth.password : undefined,
|
|
258
|
+
},
|
|
259
|
+
});
|
|
252
260
|
if (validated.error || validated.status !== 0)
|
|
253
261
|
throw new Error(`Could not validate Ouro's native entry: ${validated.error?.message ?? validated.stderr}`);
|
|
254
262
|
return app;
|
|
@@ -67,7 +67,7 @@ Promise.resolve().then(() => __importStar(require("../heart/runtime-credentials"
|
|
|
67
67
|
const { DEFAULT_DAEMON_SOCKET_PATH } = await Promise.resolve().then(() => __importStar(require("../heart/daemon/socket-client")));
|
|
68
68
|
const { frontendSocketPathForDaemon } = await Promise.resolve().then(() => __importStar(require("../heart/frontend-socket")));
|
|
69
69
|
try {
|
|
70
|
-
attention = await startManagedShepherdAttention({ agent: agentName, socketPath: frontendSocketPathForDaemon(DEFAULT_DAEMON_SOCKET_PATH) });
|
|
70
|
+
attention = await startManagedShepherdAttention({ agent: agentName, socketPath: frontendSocketPathForDaemon(DEFAULT_DAEMON_SOCKET_PATH), cmuxConnection: connection.connection });
|
|
71
71
|
}
|
|
72
72
|
catch (error) {
|
|
73
73
|
(0, runtime_1.emitNervesEvent)({ level: "warn", component: "senses", event: "senses.shepherd_attention_unavailable", message: "native session attention is unavailable; Shepherd supervision remains running", meta: { agentName, error: String(error) } });
|
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.927",
|
|
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.927",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@anthropic-ai/sdk": "^0.78.0",
|
|
12
12
|
"@azure/identity": "^4.13.0",
|