@ouro.bot/cli 0.1.0-alpha.841 → 0.1.0-alpha.843
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,18 @@
|
|
|
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.843",
|
|
6
|
+
"changes": [
|
|
7
|
+
"Butler image: drop dependency source maps, type declarations and Markdown from node_modules (about 11,800 of 28,000 files). The root authority pins and hashes every package file at each gateway start, which took minutes on Unraid's array (D-036)."
|
|
8
|
+
]
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"version": "0.1.0-alpha.842",
|
|
12
|
+
"changes": [
|
|
13
|
+
"A2A: a verified friend's turn with the Sanctuary agent gets the same typed Sanctuary runtime the Telegram sense attaches, so the Butler's house tools work over A2A (every Unraid read had answered 'Sanctuary runtime is unavailable'). The relationship profile still decides which tools the peer may call."
|
|
14
|
+
]
|
|
15
|
+
},
|
|
4
16
|
{
|
|
5
17
|
"version": "0.1.0-alpha.841",
|
|
6
18
|
"changes": [
|
package/deploy/unraid/Dockerfile
CHANGED
|
@@ -25,6 +25,10 @@ RUN npm ci --omit=dev --legacy-peer-deps --workspaces=false --no-audit --no-fund
|
|
|
25
25
|
&& rm -rf node_modules/better-sqlite3/build \
|
|
26
26
|
&& test -x /opt/ouro/node_modules/.bin/bw \
|
|
27
27
|
&& ln -s /opt/ouro/node_modules/.bin/bw /usr/local/bin/bw
|
|
28
|
+
# The runtime never reads dependency source maps, type declarations or Markdown, and the
|
|
29
|
+
# root authority pins and hashes every package file each time the gateway starts, which
|
|
30
|
+
# took minutes on Unraid's array (D-036). Dropping them removes about 40% of the files.
|
|
31
|
+
RUN find /opt/ouro/node_modules -type f \( -name '*.map' -o -name '*.d.ts' -o -name '*.d.mts' -o -name '*.d.cts' -o -name '*.md' -o -name '*.markdown' \) -delete
|
|
28
32
|
COPY dist ./dist
|
|
29
33
|
COPY assets ./assets
|
|
30
34
|
COPY skills ./skills
|
|
@@ -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.843</Repository>
|
|
5
5
|
<Registry>https://github.com/ourostack/ouroboros/pkgs/container/ouroboros-butler</Registry>
|
|
6
6
|
<Network>host</Network>
|
|
7
7
|
<Shell>sh</Shell>
|
package/dist/a2a/server.js
CHANGED
|
@@ -48,6 +48,7 @@ const pin_store_1 = require("./pin-store");
|
|
|
48
48
|
const seen_ledger_1 = require("./seen-ledger");
|
|
49
49
|
const did_resolution_1 = require("./did-resolution");
|
|
50
50
|
const inbound_share_1 = require("./inbound-share");
|
|
51
|
+
const sanctuary_runtime_1 = require("../senses/sanctuary-runtime");
|
|
51
52
|
const sealed_chat_1 = require("./sealed-chat");
|
|
52
53
|
const relationship_authorization_1 = require("../repertoire/relationship-authorization");
|
|
53
54
|
const mission_result_wire_1 = require("./mission-result-wire");
|
|
@@ -158,7 +159,14 @@ async function defaultTurnRunner(input) {
|
|
|
158
159
|
externalId: input.peerAgentId,
|
|
159
160
|
displayName: input.peerName,
|
|
160
161
|
},
|
|
161
|
-
|
|
162
|
+
// The Butler's house tools read a typed Sanctuary runtime from the tool context; the
|
|
163
|
+
// Telegram sense attaches it, and a verified A2A friend's turn needs it too (without it
|
|
164
|
+
// every Unraid read answered "Sanctuary runtime is unavailable"). The relationship
|
|
165
|
+
// profile still decides which of those tools the peer may call.
|
|
166
|
+
toolContext: {
|
|
167
|
+
...(input.agentName === "sanctuary" ? (0, sanctuary_runtime_1.createSanctuaryToolContext)(input.agentName) : {}),
|
|
168
|
+
...(input.relationshipAuthorization ? { relationshipAuthorization: input.relationshipAuthorization } : {}),
|
|
169
|
+
},
|
|
162
170
|
});
|
|
163
171
|
return { response: result.response };
|
|
164
172
|
}
|
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.843",
|
|
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.843",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@anthropic-ai/sdk": "^0.78.0",
|
|
12
12
|
"@azure/identity": "^4.13.0",
|