@ouro.bot/cli 0.1.0-alpha.1177 → 0.1.0-alpha.1178
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 +6 -0
- package/deploy/unraid/sanctuary.ouro/bundle-meta.json +1 -1
- package/deploy/unraid/sanctuary.xml +1 -1
- package/dist/mailbox-ui/assets/index-DNSDr1Lb.js +1 -0
- package/dist/mailbox-ui/assets/index-DooL30tv.css +1 -0
- package/dist/mailbox-ui/assets/{vendor-tRKTU6Ih.js → vendor-D_wlGdJf.js} +10 -10
- package/dist/mailbox-ui/index.html +3 -3
- package/dist/repertoire/guardrails.js +1 -1
- package/dist/senses/teams.js +3 -3
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/dist/mailbox-ui/assets/index-CcfmfCyO.js +0 -1
- package/dist/mailbox-ui/assets/index-JVa7jDQI.css +0 -1
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
<meta name="color-scheme" content="dark" />
|
|
7
7
|
<title>Ouro Mailbox</title>
|
|
8
8
|
<meta name="description" content="The daemon-hosted shared orientation surface for agents alive on this machine." />
|
|
9
|
-
<script type="module" crossorigin src="/assets/index-
|
|
10
|
-
<link rel="modulepreload" crossorigin href="/assets/vendor-
|
|
11
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
9
|
+
<script type="module" crossorigin src="/assets/index-DNSDr1Lb.js"></script>
|
|
10
|
+
<link rel="modulepreload" crossorigin href="/assets/vendor-D_wlGdJf.js">
|
|
11
|
+
<link rel="stylesheet" crossorigin href="/assets/index-DooL30tv.css">
|
|
12
12
|
</head>
|
|
13
13
|
<body>
|
|
14
14
|
<div id="app"></div>
|
|
@@ -193,7 +193,7 @@ function psycheWriteAllowed(fileClass, _filePath, context) {
|
|
|
193
193
|
&& context.trustLevel === "family"
|
|
194
194
|
&& context.channel !== undefined && PSYCHE_IDENTITY_CHANNELS.has(context.channel)
|
|
195
195
|
&& context.isGroupChat !== true
|
|
196
|
-
// On Teams only an explicit one-to-one counts
|
|
196
|
+
// On Teams only an explicit one-to-one counts; an unknown conversation type proves nothing.
|
|
197
197
|
&& (context.channel !== "teams" || context.isGroupChat === false);
|
|
198
198
|
}
|
|
199
199
|
/** The line a successful write to an identity file carries back to the agent. */
|
package/dist/senses/teams.js
CHANGED
|
@@ -833,9 +833,9 @@ function parseTeamsQuotedReply(attachments, ids) {
|
|
|
833
833
|
return undefined;
|
|
834
834
|
}
|
|
835
835
|
// Context from the Teams activity that carries OAuth tokens and signin ability
|
|
836
|
-
/** Teams
|
|
836
|
+
/** Only Teams' explicit "personal" conversation type proves a one-to-one chat. */
|
|
837
837
|
function teamsIsGroupChat(conversationType) {
|
|
838
|
-
return conversationType
|
|
838
|
+
return conversationType === undefined ? undefined : conversationType !== "personal";
|
|
839
839
|
}
|
|
840
840
|
const OAUTH_SERVICE_LABELS = { graph: "Microsoft Graph", ado: "Azure DevOps", github: "GitHub" };
|
|
841
841
|
const OAUTH_UNAVAILABLE_TTL_MS = 60 * 60 * 1000;
|
|
@@ -934,7 +934,7 @@ async function handleTeamsMessage(text, stream, conversationId, teamsContext, se
|
|
|
934
934
|
channel: "teams",
|
|
935
935
|
});
|
|
936
936
|
// Pre-resolve friend for session path + slash commands (pipeline will re-use the cached result)
|
|
937
|
-
const resolvedContext = await resolver.resolve();
|
|
937
|
+
const resolvedContext = { ...await resolver.resolve(), isGroupChat: teamsContext?.isGroupChat };
|
|
938
938
|
const friendId = resolvedContext.friend.id;
|
|
939
939
|
// The owner's "how's it going?" is answered from the status digest with no model turn.
|
|
940
940
|
if (resolvedContext.friend.trustLevel === "family") {
|
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.1178",
|
|
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.1178",
|
|
10
10
|
"bundleDependencies": [
|
|
11
11
|
"@ouro.bot/friends"
|
|
12
12
|
],
|