openmates 0.27.0-alpha.42 → 0.27.0-alpha.44
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/dist/{chunk-LQJXYWMD.js → chunk-FZQ37KXS.js} +76 -5
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/fixtures/privacy-runtime/linux-arm64/libggml-base.so +0 -0
- package/fixtures/privacy-runtime/linux-arm64/libggml-base.so.0 +0 -0
- package/fixtures/privacy-runtime/linux-arm64/libggml-base.so.0.15.1 +0 -0
- package/fixtures/privacy-runtime/linux-arm64/libggml-cpu.so +0 -0
- package/fixtures/privacy-runtime/linux-arm64/libggml-cpu.so.0 +0 -0
- package/fixtures/privacy-runtime/linux-arm64/libggml-cpu.so.0.15.1 +0 -0
- package/fixtures/privacy-runtime/linux-arm64/libggml.so +0 -0
- package/fixtures/privacy-runtime/linux-arm64/libggml.so.0 +0 -0
- package/fixtures/privacy-runtime/linux-arm64/libggml.so.0.15.1 +0 -0
- package/fixtures/privacy-runtime/linux-arm64/manifest.json +9 -9
- package/package.json +1 -1
|
@@ -29548,12 +29548,13 @@ var OpenMatesChats = class {
|
|
|
29548
29548
|
chatId,
|
|
29549
29549
|
1
|
|
29550
29550
|
);
|
|
29551
|
+
const teamSenderName = teamId ? session.user.username?.trim() || options.senderName?.trim() || "Team member" : null;
|
|
29551
29552
|
const inferenceHistory = [...history, {
|
|
29552
29553
|
role: "user",
|
|
29553
29554
|
content: finalMessage,
|
|
29554
|
-
...options.senderName ? { name: options.senderName } : {}
|
|
29555
|
+
...teamId ? { sender_name: teamSenderName } : options.senderName ? { name: options.senderName } : {}
|
|
29555
29556
|
}];
|
|
29556
|
-
const teamAiInvocation = teamId && finalMessage
|
|
29557
|
+
const teamAiInvocation = teamId && shouldWaitForTeamAi(finalMessage, teamId) ? { history: inferenceHistory } : void 0;
|
|
29557
29558
|
const inferenceRequest = {
|
|
29558
29559
|
messages: teamId ? teamAiInvocation?.history ?? [] : inferenceHistory,
|
|
29559
29560
|
model: options.model,
|
|
@@ -29562,9 +29563,9 @@ var OpenMatesChats = class {
|
|
|
29562
29563
|
};
|
|
29563
29564
|
const result = await this.client.request("/v1/sdk/chats", {
|
|
29564
29565
|
message: teamId ? void 0 : finalMessage,
|
|
29565
|
-
history,
|
|
29566
|
+
history: teamId ? [] : history,
|
|
29566
29567
|
save_to_account: true,
|
|
29567
|
-
title: options.title,
|
|
29568
|
+
title: teamId ? void 0 : options.title,
|
|
29568
29569
|
memory_ids: options.memoryIds ?? [],
|
|
29569
29570
|
model: options.model,
|
|
29570
29571
|
focus_mode: inferenceRequest.focus_mode,
|
|
@@ -29580,7 +29581,7 @@ var OpenMatesChats = class {
|
|
|
29580
29581
|
client_message_id: messageId,
|
|
29581
29582
|
chat_id: chatId,
|
|
29582
29583
|
encrypted_content: await encryptWithAesGcmCombined(finalMessage, chatKey),
|
|
29583
|
-
encrypted_sender_name: await encryptWithAesGcmCombined(options.senderName ?? "User", chatKey),
|
|
29584
|
+
encrypted_sender_name: await encryptWithAesGcmCombined(teamSenderName ?? options.senderName ?? "User", chatKey),
|
|
29584
29585
|
role: "user",
|
|
29585
29586
|
created_at: createdAt,
|
|
29586
29587
|
updated_at: createdAt
|
|
@@ -62201,6 +62202,76 @@ Only output the final Markdown table. Do NOT include explanations, notes, or any
|
|
|
62201
62202
|
action: {
|
|
62202
62203
|
text: "Action"
|
|
62203
62204
|
}
|
|
62205
|
+
},
|
|
62206
|
+
offline_ai_models: {
|
|
62207
|
+
title: {
|
|
62208
|
+
text: "Offline AI models"
|
|
62209
|
+
},
|
|
62210
|
+
offer: {
|
|
62211
|
+
text: "Want to download offline AI models (2.3GB) for reducing your costs & even better privacy protection?"
|
|
62212
|
+
},
|
|
62213
|
+
later: {
|
|
62214
|
+
text: "Later"
|
|
62215
|
+
},
|
|
62216
|
+
resume: {
|
|
62217
|
+
text: "Resume"
|
|
62218
|
+
},
|
|
62219
|
+
paused: {
|
|
62220
|
+
text: "Download paused. Resume when you are ready."
|
|
62221
|
+
},
|
|
62222
|
+
downloading: {
|
|
62223
|
+
text: "Downloading"
|
|
62224
|
+
},
|
|
62225
|
+
verifying: {
|
|
62226
|
+
text: "Verifying files"
|
|
62227
|
+
},
|
|
62228
|
+
waiting: {
|
|
62229
|
+
text: "Waiting for connection"
|
|
62230
|
+
},
|
|
62231
|
+
retrying: {
|
|
62232
|
+
text: "Retrying download"
|
|
62233
|
+
},
|
|
62234
|
+
progress: {
|
|
62235
|
+
text: "{model}: {status}. {downloaded} of {total}"
|
|
62236
|
+
},
|
|
62237
|
+
complete: {
|
|
62238
|
+
text: "Offline AI models downloaded."
|
|
62239
|
+
},
|
|
62240
|
+
online_speech: {
|
|
62241
|
+
text: "Use online speech"
|
|
62242
|
+
},
|
|
62243
|
+
local_transcription_failed: {
|
|
62244
|
+
text: "Local transcription failed. Your recording is kept so you can retry."
|
|
62245
|
+
},
|
|
62246
|
+
local_speech_failed: {
|
|
62247
|
+
text: "On-device speech failed. Retry or choose online speech."
|
|
62248
|
+
},
|
|
62249
|
+
settings_title: {
|
|
62250
|
+
text: "Offline models"
|
|
62251
|
+
},
|
|
62252
|
+
speech_to_text: {
|
|
62253
|
+
text: "Speech to text"
|
|
62254
|
+
},
|
|
62255
|
+
text_to_speech: {
|
|
62256
|
+
text: "Text to speech"
|
|
62257
|
+
},
|
|
62258
|
+
enhanced_anonymization: {
|
|
62259
|
+
text: "Enhanced anonymization"
|
|
62260
|
+
},
|
|
62261
|
+
ready: {
|
|
62262
|
+
text: "Downloaded"
|
|
62263
|
+
}
|
|
62264
|
+
},
|
|
62265
|
+
signed_out_inspiration: {
|
|
62266
|
+
dreams: {
|
|
62267
|
+
text: "Why does your brain create entire worlds while you sleep?"
|
|
62268
|
+
},
|
|
62269
|
+
history: {
|
|
62270
|
+
text: "What forgotten event quietly changed how people live today?"
|
|
62271
|
+
},
|
|
62272
|
+
activism: {
|
|
62273
|
+
text: "Which everyday choice has a bigger social impact than it seems?"
|
|
62274
|
+
}
|
|
62204
62275
|
}
|
|
62205
62276
|
},
|
|
62206
62277
|
apps: {
|
package/dist/cli.js
CHANGED
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
shouldRequireTrustedAccountGuard,
|
|
22
22
|
waitForSafeE2ETotpWindow,
|
|
23
23
|
waitForWorkflowRun
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-FZQ37KXS.js";
|
|
25
25
|
import "./chunk-B4UXKGH3.js";
|
|
26
26
|
import "./chunk-IWKP55ZB.js";
|
|
27
27
|
import "./chunk-FC27KZIW.js";
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -17,47 +17,47 @@
|
|
|
17
17
|
{
|
|
18
18
|
"name": "libggml-base.so",
|
|
19
19
|
"bytes": 1110088,
|
|
20
|
-
"sha256": "
|
|
20
|
+
"sha256": "2f6e5c56a03ff770b6028e0a567271e488c10bc60dde1f9132d8bfbc46c18a88"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"name": "libggml-base.so.0",
|
|
24
24
|
"bytes": 1110088,
|
|
25
|
-
"sha256": "
|
|
25
|
+
"sha256": "2f6e5c56a03ff770b6028e0a567271e488c10bc60dde1f9132d8bfbc46c18a88"
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
"name": "libggml-base.so.0.15.1",
|
|
29
29
|
"bytes": 1110088,
|
|
30
|
-
"sha256": "
|
|
30
|
+
"sha256": "2f6e5c56a03ff770b6028e0a567271e488c10bc60dde1f9132d8bfbc46c18a88"
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
"name": "libggml-cpu.so",
|
|
34
34
|
"bytes": 869800,
|
|
35
|
-
"sha256": "
|
|
35
|
+
"sha256": "eec42d11ac87a933c8babeedb04e9b03244e8d8cd2775f4a6d409609a05601a7"
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
"name": "libggml-cpu.so.0",
|
|
39
39
|
"bytes": 869800,
|
|
40
|
-
"sha256": "
|
|
40
|
+
"sha256": "eec42d11ac87a933c8babeedb04e9b03244e8d8cd2775f4a6d409609a05601a7"
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
"name": "libggml-cpu.so.0.15.1",
|
|
44
44
|
"bytes": 869800,
|
|
45
|
-
"sha256": "
|
|
45
|
+
"sha256": "eec42d11ac87a933c8babeedb04e9b03244e8d8cd2775f4a6d409609a05601a7"
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
"name": "libggml.so",
|
|
49
49
|
"bytes": 1899104,
|
|
50
|
-
"sha256": "
|
|
50
|
+
"sha256": "7745365b0e5c7e1baaee617810f2e60a09d5b69c7524202ddd8a83cf395fc1b7"
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
53
|
"name": "libggml.so.0",
|
|
54
54
|
"bytes": 1899104,
|
|
55
|
-
"sha256": "
|
|
55
|
+
"sha256": "7745365b0e5c7e1baaee617810f2e60a09d5b69c7524202ddd8a83cf395fc1b7"
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
58
|
"name": "libggml.so.0.15.1",
|
|
59
59
|
"bytes": 1899104,
|
|
60
|
-
"sha256": "
|
|
60
|
+
"sha256": "7745365b0e5c7e1baaee617810f2e60a09d5b69c7524202ddd8a83cf395fc1b7"
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
63
|
"name": "openmates-pii-worker",
|