@volter/teams 0.1.50 → 0.1.51
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/browser-channel.d.ts +1 -1
- package/package.json +1 -1
- package/session-follow.mjs +1 -1
package/browser-channel.d.ts
CHANGED
|
@@ -54,7 +54,7 @@ export function sendBrowserTurn(channel: BrowserChannel, text: string, options?:
|
|
|
54
54
|
|
|
55
55
|
export interface MailHistoryEntry {
|
|
56
56
|
id: string; from: string; fromName: string; to: string; text: string; at: number;
|
|
57
|
-
direction: 'in' | 'out'; inReplyTo: string | null; delivery: string;
|
|
57
|
+
subject?: string | null; direction: 'in' | 'out'; inReplyTo: string | null; delivery: string;
|
|
58
58
|
fromActor?: MailActor; toActor?: MailActor;
|
|
59
59
|
}
|
|
60
60
|
/** The existing native identity resolved by supercode, not the return mailbox. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volter/teams",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.51",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Volter Teams, the neutral team plane: machine identity and daemon core, the local door and server link, admission from machine grants, product doors, and the Teams server's neutral routes (company RFC 0008).",
|
|
6
6
|
"license": "MIT",
|
package/session-follow.mjs
CHANGED
|
@@ -151,7 +151,7 @@ export function withMail(transcript, rows, { agentName = 'This session', agentId
|
|
|
151
151
|
const mail = rows.map(row => ({ id: `mail:${row.id}`, role: 'notice', text: row.text, ts: row.at, truncated: false,
|
|
152
152
|
mail: { id: row.id, from: nameOf(row.fromActor), to: row.toActor ? nameOf(row.toActor) : row.direction === 'in' ? agentName : 'Another session',
|
|
153
153
|
image: row.fromActor?.kind === 'agent' ? picture(row.fromActor.self ? agentId : row.fromActor.id) : `https://brand.volter.ai/bot/svg?seed=${encodeURIComponent(row.fromActor?.id || row.from)}&size=24&radius=4`,
|
|
154
|
-
via: row.fromActor?.via, direction: row.direction, inReplyTo: row.inReplyTo } }));
|
|
154
|
+
subject: row.subject || undefined, via: row.fromActor?.via, direction: row.direction, inReplyTo: row.inReplyTo } }));
|
|
155
155
|
const result = transcript.filter(entry => !entry.mail || !rows.some(row => row.id === entry.mail.id || row.id.startsWith(entry.mail.id)));
|
|
156
156
|
// Keep native tool/result ordering intact (some native entries have no time).
|
|
157
157
|
for (const entry of mail.sort((a, b) => a.ts - b.ts)) {
|