openmates 0.27.0-alpha.71 → 0.27.0-alpha.72
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-CMVRXE7E.js → chunk-OKRQDZQG.js} +130 -43
- package/dist/{cli-E1HPrz7H.d.ts → cli-wcJZA4bI.d.ts} +1 -0
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +2 -2
- 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
|
@@ -15403,7 +15403,27 @@ var OpenMatesClient = class _OpenMatesClient {
|
|
|
15403
15403
|
}
|
|
15404
15404
|
return [];
|
|
15405
15405
|
}
|
|
15406
|
-
|
|
15406
|
+
recoveryReplayDependencies(pages) {
|
|
15407
|
+
const bySubject = /* @__PURE__ */ new Map();
|
|
15408
|
+
const identities = /* @__PURE__ */ new Map();
|
|
15409
|
+
for (const page of pages) {
|
|
15410
|
+
if (page.length > 100) throw new Error("Recovery output discovery exceeded the bounded batch size.");
|
|
15411
|
+
for (const output of page) {
|
|
15412
|
+
const identity3 = recoveryOutputIdentity(output);
|
|
15413
|
+
const previous = identities.get(output.record_id);
|
|
15414
|
+
if (previous !== void 0) {
|
|
15415
|
+
if (previous !== identity3) throw new Error("Recovery dependency changed identity during discovery.");
|
|
15416
|
+
continue;
|
|
15417
|
+
}
|
|
15418
|
+
identities.set(output.record_id, identity3);
|
|
15419
|
+
const group = bySubject.get(output.subject_id) ?? [];
|
|
15420
|
+
group.push(output);
|
|
15421
|
+
bySubject.set(output.subject_id, group);
|
|
15422
|
+
}
|
|
15423
|
+
}
|
|
15424
|
+
return { bySubject, acknowledged: /* @__PURE__ */ new Map(), visiting: /* @__PURE__ */ new Set() };
|
|
15425
|
+
}
|
|
15426
|
+
async persistAvailableRecoveryOutputs(ws, ownerId2, cache, outputs, teamId, dependencies = this.recoveryReplayDependencies([outputs])) {
|
|
15407
15427
|
if (outputs.length > 100) throw new Error("Recovery output discovery exceeded the bounded batch size.");
|
|
15408
15428
|
const order = { message: 0, embed: 1, diff: 2, summary: 3, checkpoint: 4 };
|
|
15409
15429
|
const ordered = [...outputs].sort((a, b) => order[a.output_kind] - order[b.output_kind] || (a.output_kind === "message" && b.output_kind === "message" ? (a.message_role === "user" ? 0 : 1) - (b.message_role === "user" ? 0 : 1) : 0) || a.output_version - b.output_version);
|
|
@@ -15494,6 +15514,15 @@ var OpenMatesClient = class _OpenMatesClient {
|
|
|
15494
15514
|
}
|
|
15495
15515
|
};
|
|
15496
15516
|
for (const output of ordered) {
|
|
15517
|
+
const identity3 = recoveryOutputIdentity(output);
|
|
15518
|
+
const committed = dependencies.acknowledged.get(output.record_id);
|
|
15519
|
+
if (committed !== void 0) {
|
|
15520
|
+
if (committed !== identity3) throw new Error("Acknowledged recovery dependency changed identity.");
|
|
15521
|
+
continue;
|
|
15522
|
+
}
|
|
15523
|
+
if (dependencies.visiting.has(output.record_id) || dependencies.visiting.size >= 32) {
|
|
15524
|
+
throw new Error("Recovery embed dependency is cyclic or exceeds the bounded depth.");
|
|
15525
|
+
}
|
|
15497
15526
|
if (output.root_hashed_team_id !== void 0 && output.root_hashed_team_id !== (teamId ? computeSHA256(teamId) : null)) {
|
|
15498
15527
|
throw new Error(`Recovery output ${output.record_id} Team key context is unavailable; output remains pending.`);
|
|
15499
15528
|
}
|
|
@@ -15523,6 +15552,7 @@ var OpenMatesClient = class _OpenMatesClient {
|
|
|
15523
15552
|
} catch (error) {
|
|
15524
15553
|
if (!(error instanceof WebSocketProtocolError) || error.code !== "recovery_output_not_found") throw error;
|
|
15525
15554
|
await reconcileAcknowledgedEmbed(output, rootKey);
|
|
15555
|
+
dependencies.acknowledged.set(output.record_id, identity3);
|
|
15526
15556
|
acknowledged += 1;
|
|
15527
15557
|
continue;
|
|
15528
15558
|
}
|
|
@@ -15660,7 +15690,7 @@ var OpenMatesClient = class _OpenMatesClient {
|
|
|
15660
15690
|
} else {
|
|
15661
15691
|
if (content.embed_id !== output.subject_id) throw new Error("Recovery embed identity mismatch.");
|
|
15662
15692
|
const embedPath = `/v1/embeds/chats/${encodeURIComponent(output.target_chat_id)}/embeds/${encodeURIComponent(output.subject_id)}` + (teamId ? `?team_id=${encodeURIComponent(teamId)}` : "");
|
|
15663
|
-
|
|
15693
|
+
let canonicalBefore = await this.http.get(
|
|
15664
15694
|
embedPath,
|
|
15665
15695
|
this.getCliRequestHeaders()
|
|
15666
15696
|
);
|
|
@@ -15678,7 +15708,77 @@ var OpenMatesClient = class _OpenMatesClient {
|
|
|
15678
15708
|
} else if (output.output_kind === "diff" || canonicalBefore.status !== 404) {
|
|
15679
15709
|
throw new Error(`Canonical recovery embed read failed (HTTP ${canonicalBefore.status}); output remains pending.`);
|
|
15680
15710
|
}
|
|
15711
|
+
if (output.output_kind === "diff") {
|
|
15712
|
+
if (content.version_number !== output.output_version) throw new Error("Recovery diff version mismatch.");
|
|
15713
|
+
if (output.output_version === 1 && (typeof content.snapshot !== "string" || typeof content.patch === "string") || output.output_version > 1 && typeof content.patch !== "string") {
|
|
15714
|
+
throw new Error("Recovery diff lacked its required snapshot or patch.");
|
|
15715
|
+
}
|
|
15716
|
+
} else {
|
|
15717
|
+
if (content.version_number !== void 0 && content.version_number !== output.output_version) throw new Error("Recovery embed version mismatch.");
|
|
15718
|
+
if (typeof content.content !== "string" || typeof content.type !== "string" || typeof content.message_id !== "string") {
|
|
15719
|
+
throw new Error("Recovery embed content was invalid.");
|
|
15720
|
+
}
|
|
15721
|
+
}
|
|
15722
|
+
let parentPage = null;
|
|
15723
|
+
if (parentId) {
|
|
15724
|
+
const parentPath = `/v1/embeds/chats/${encodeURIComponent(output.target_chat_id)}/embeds/${encodeURIComponent(parentId)}` + (teamId ? `?team_id=${encodeURIComponent(teamId)}` : "");
|
|
15725
|
+
parentPage = await this.http.get(parentPath, this.getCliRequestHeaders());
|
|
15726
|
+
if (!parentPage.ok && parentPage.status === 404) {
|
|
15727
|
+
const parent = (dependencies.bySubject.get(parentId) ?? []).filter((candidate) => candidate.output_kind === "embed" && candidate.root_chat_id === output.root_chat_id && candidate.target_chat_id === output.target_chat_id && candidate.turn_id === output.turn_id && candidate.chat_key_version === output.chat_key_version && (candidate.root_hashed_team_id ?? null) === (output.root_hashed_team_id ?? null)).sort((a, b) => a.output_version - b.output_version)[0];
|
|
15728
|
+
if (parent) {
|
|
15729
|
+
dependencies.visiting.add(output.record_id);
|
|
15730
|
+
try {
|
|
15731
|
+
acknowledged += await this.persistAvailableRecoveryOutputs(ws, ownerId2, cache, [parent], teamId, dependencies);
|
|
15732
|
+
} finally {
|
|
15733
|
+
dependencies.visiting.delete(output.record_id);
|
|
15734
|
+
}
|
|
15735
|
+
parentPage = await this.http.get(parentPath, this.getCliRequestHeaders());
|
|
15736
|
+
canonicalBefore = await this.http.get(embedPath, this.getCliRequestHeaders());
|
|
15737
|
+
if (canonicalBefore.ok) {
|
|
15738
|
+
const canonical = canonicalBefore.data?.embed;
|
|
15739
|
+
if (!canonical || canonical.hashed_chat_id !== computeSHA256(output.target_chat_id) || (canonical.parent_embed_id ?? null) !== parentId) {
|
|
15740
|
+
throw new Error("Canonical recovery embed parent identity was invalid.");
|
|
15741
|
+
}
|
|
15742
|
+
} else if (output.output_kind === "diff" || canonicalBefore.status !== 404) {
|
|
15743
|
+
throw new Error(`Canonical recovery embed read failed (HTTP ${canonicalBefore.status}); output remains pending.`);
|
|
15744
|
+
}
|
|
15745
|
+
}
|
|
15746
|
+
}
|
|
15747
|
+
if (!parentPage.ok || parentPage.data?.embed?.hashed_chat_id !== computeSHA256(output.target_chat_id)) {
|
|
15748
|
+
throw new Error("Canonical recovery parent embed key scope was unavailable.");
|
|
15749
|
+
}
|
|
15750
|
+
if (parentPage.data.embed.parent_embed_id) {
|
|
15751
|
+
throw new Error("Canonical recovery nested parent key inheritance is unavailable.");
|
|
15752
|
+
}
|
|
15753
|
+
}
|
|
15754
|
+
const keySubject = parentId || output.subject_id;
|
|
15681
15755
|
const embedKey = await deriveEmbedKeyFromChatKey(childKey, parentId || output.subject_id);
|
|
15756
|
+
const hashedKeySubject = computeSHA256(keySubject);
|
|
15757
|
+
const hashedTargetChat = computeSHA256(output.target_chat_id);
|
|
15758
|
+
const verifiedKeyTypes = async (rows2) => {
|
|
15759
|
+
const types = /* @__PURE__ */ new Set();
|
|
15760
|
+
for (const row3 of rows2) {
|
|
15761
|
+
const type = row3.key_type;
|
|
15762
|
+
if (type !== "master" && type !== "chat") continue;
|
|
15763
|
+
if (row3.hashed_embed_id !== hashedKeySubject || type === "chat" && row3.hashed_chat_id !== hashedTargetChat || typeof row3.encrypted_embed_key !== "string" || !row3.encrypted_embed_key) {
|
|
15764
|
+
throw new Error("Canonical recovery embed key wrapper identity was invalid.");
|
|
15765
|
+
}
|
|
15766
|
+
const unwrapped = await decryptBytesWithAesGcm(
|
|
15767
|
+
row3.encrypted_embed_key,
|
|
15768
|
+
type === "master" ? masterKey : childKey
|
|
15769
|
+
);
|
|
15770
|
+
if (!unwrapped || !Buffer.from(unwrapped).equals(Buffer.from(embedKey))) {
|
|
15771
|
+
throw new Error("Canonical recovery embed key wrapper does not match the sealed output.");
|
|
15772
|
+
}
|
|
15773
|
+
if (types.has(type)) throw new Error("Canonical recovery embed key wrappers were duplicated.");
|
|
15774
|
+
types.add(type);
|
|
15775
|
+
}
|
|
15776
|
+
return types;
|
|
15777
|
+
};
|
|
15778
|
+
const parentKeyTypes = parentPage ? await verifiedKeyTypes(parentPage.data?.embed_keys ?? []) : null;
|
|
15779
|
+
if (parentKeyTypes && parentKeyTypes.size === 0) {
|
|
15780
|
+
throw new Error("Canonical recovery parent embed key scope was unavailable.");
|
|
15781
|
+
}
|
|
15682
15782
|
const hashedUserId = computeSHA256(ownerId2);
|
|
15683
15783
|
let canonicalDigest;
|
|
15684
15784
|
let canonicalSource = output.output_kind === "diff" ? "version_row" : "head";
|
|
@@ -15864,39 +15964,16 @@ var OpenMatesClient = class _OpenMatesClient {
|
|
|
15864
15964
|
throw new Error(`Canonical recovery embed read failed (HTTP ${existing.status}); output remains pending.`);
|
|
15865
15965
|
}
|
|
15866
15966
|
}
|
|
15867
|
-
const keySubject = parentId || output.subject_id;
|
|
15868
15967
|
const keyPath = `/v1/embeds/chats/${encodeURIComponent(output.target_chat_id)}/embeds/${encodeURIComponent(keySubject)}` + (teamId ? `?team_id=${encodeURIComponent(teamId)}` : "");
|
|
15869
15968
|
const bootstrapRootKeys = output.output_kind === "embed" && !parentId && !canonicalBefore.ok && canonicalBefore.status === 404;
|
|
15870
|
-
const keyPage = bootstrapRootKeys ? null : keySubject === output.subject_id && canonicalBefore.ok ? canonicalBefore : await this.http.get(
|
|
15969
|
+
const keyPage = bootstrapRootKeys ? null : keySubject === output.subject_id && canonicalBefore.ok ? canonicalBefore : parentPage ?? await this.http.get(
|
|
15871
15970
|
keyPath,
|
|
15872
15971
|
this.getCliRequestHeaders()
|
|
15873
15972
|
);
|
|
15874
15973
|
if (keyPage && (!keyPage.ok || keyPage.data?.embed?.hashed_chat_id !== computeSHA256(output.target_chat_id))) {
|
|
15875
15974
|
throw new Error("Canonical recovery parent embed key scope was unavailable.");
|
|
15876
15975
|
}
|
|
15877
|
-
const
|
|
15878
|
-
const hashedTargetChat = computeSHA256(output.target_chat_id);
|
|
15879
|
-
const verifiedKeyTypes = async (rows2) => {
|
|
15880
|
-
const types = /* @__PURE__ */ new Set();
|
|
15881
|
-
for (const row3 of rows2) {
|
|
15882
|
-
const type = row3.key_type;
|
|
15883
|
-
if (type !== "master" && type !== "chat") continue;
|
|
15884
|
-
if (row3.hashed_embed_id !== hashedKeySubject || type === "chat" && row3.hashed_chat_id !== hashedTargetChat || typeof row3.encrypted_embed_key !== "string" || !row3.encrypted_embed_key) {
|
|
15885
|
-
throw new Error("Canonical recovery embed key wrapper identity was invalid.");
|
|
15886
|
-
}
|
|
15887
|
-
const unwrapped = await decryptBytesWithAesGcm(
|
|
15888
|
-
row3.encrypted_embed_key,
|
|
15889
|
-
type === "master" ? masterKey : childKey
|
|
15890
|
-
);
|
|
15891
|
-
if (!unwrapped || !Buffer.from(unwrapped).equals(Buffer.from(embedKey))) {
|
|
15892
|
-
throw new Error("Canonical recovery embed key wrapper does not match the sealed output.");
|
|
15893
|
-
}
|
|
15894
|
-
if (types.has(type)) throw new Error("Canonical recovery embed key wrappers were duplicated.");
|
|
15895
|
-
types.add(type);
|
|
15896
|
-
}
|
|
15897
|
-
return types;
|
|
15898
|
-
};
|
|
15899
|
-
const existingTypes = await verifiedKeyTypes(keyPage?.data?.embed_keys ?? []);
|
|
15976
|
+
const existingTypes = parentKeyTypes ?? await verifiedKeyTypes(keyPage?.data?.embed_keys ?? []);
|
|
15900
15977
|
const keys2 = [
|
|
15901
15978
|
{
|
|
15902
15979
|
hashed_embed_id: hashedKeySubject,
|
|
@@ -15977,11 +16054,12 @@ var OpenMatesClient = class _OpenMatesClient {
|
|
|
15977
16054
|
await reconcileAcknowledgedEmbed(output, rootKey, content);
|
|
15978
16055
|
}
|
|
15979
16056
|
}
|
|
16057
|
+
dependencies.acknowledged.set(output.record_id, identity3);
|
|
15980
16058
|
acknowledged += 1;
|
|
15981
16059
|
}
|
|
15982
16060
|
return acknowledged;
|
|
15983
16061
|
}
|
|
15984
|
-
async replayAvailableRecoveryOutputs(ws, ownerId2, outputs, currentCache, currentTeamId) {
|
|
16062
|
+
async replayAvailableRecoveryOutputs(ws, ownerId2, outputs, currentCache, currentTeamId, dependencies) {
|
|
15985
16063
|
if (outputs.length === 0) return 0;
|
|
15986
16064
|
const teamIdsByHash = /* @__PURE__ */ new Map();
|
|
15987
16065
|
if (currentTeamId) teamIdsByHash.set(computeSHA256(currentTeamId), currentTeamId);
|
|
@@ -16023,7 +16101,7 @@ var OpenMatesClient = class _OpenMatesClient {
|
|
|
16023
16101
|
chatKeyWrappers: []
|
|
16024
16102
|
};
|
|
16025
16103
|
try {
|
|
16026
|
-
acknowledged += await this.persistAvailableRecoveryOutputs(ws, ownerId2, cache, group, teamId);
|
|
16104
|
+
acknowledged += await this.persistAvailableRecoveryOutputs(ws, ownerId2, cache, group, teamId, dependencies);
|
|
16027
16105
|
} finally {
|
|
16028
16106
|
this.invalidateSyncedHistory(teamId);
|
|
16029
16107
|
}
|
|
@@ -16044,11 +16122,12 @@ var OpenMatesClient = class _OpenMatesClient {
|
|
|
16044
16122
|
this.session?.sessionId ?? null,
|
|
16045
16123
|
computeSHA256(Buffer.from(this.getMasterKeyBytes()).toString("base64"))
|
|
16046
16124
|
])) : "";
|
|
16125
|
+
const dependencies = this.recoveryReplayDependencies(pages);
|
|
16047
16126
|
let acknowledged = 0;
|
|
16048
16127
|
for (const page of pages) {
|
|
16049
16128
|
signal?.throwIfAborted();
|
|
16050
16129
|
if (!onPending && !verifiedInSync) {
|
|
16051
|
-
acknowledged += await this.replayAvailableRecoveryOutputs(ws, ownerId2, page, cache, teamId);
|
|
16130
|
+
acknowledged += await this.replayAvailableRecoveryOutputs(ws, ownerId2, page, cache, teamId, dependencies);
|
|
16052
16131
|
continue;
|
|
16053
16132
|
}
|
|
16054
16133
|
for (const output of page) {
|
|
@@ -16066,16 +16145,26 @@ var OpenMatesClient = class _OpenMatesClient {
|
|
|
16066
16145
|
onPending?.();
|
|
16067
16146
|
continue;
|
|
16068
16147
|
}
|
|
16148
|
+
const committedBefore = new Set(dependencies.acknowledged.keys());
|
|
16069
16149
|
try {
|
|
16070
|
-
const recovered = await this.replayAvailableRecoveryOutputs(ws, ownerId2, [output], cache, teamId);
|
|
16150
|
+
const recovered = await this.replayAvailableRecoveryOutputs(ws, ownerId2, [output], cache, teamId, dependencies);
|
|
16071
16151
|
acknowledged += recovered;
|
|
16072
16152
|
if (recovered > 0) {
|
|
16073
16153
|
verifiedInSync?.set(output.record_id, identity3);
|
|
16154
|
+
for (const [recordId, committedIdentity] of dependencies.acknowledged) {
|
|
16155
|
+
verifiedInSync?.set(recordId, committedIdentity);
|
|
16156
|
+
}
|
|
16074
16157
|
if (retry && retryOperation) retry.succeeded(retryScope, output, retryOperation);
|
|
16075
16158
|
}
|
|
16076
16159
|
} catch (error) {
|
|
16077
16160
|
signal?.throwIfAborted();
|
|
16078
16161
|
if (!onPending) throw error;
|
|
16162
|
+
for (const [recordId, committedIdentity] of dependencies.acknowledged) {
|
|
16163
|
+
if (!committedBefore.has(recordId)) {
|
|
16164
|
+
acknowledged += 1;
|
|
16165
|
+
verifiedInSync?.set(recordId, committedIdentity);
|
|
16166
|
+
}
|
|
16167
|
+
}
|
|
16079
16168
|
if (retry && retryOperation) retry.failed(retryScope, output, readiness, retryOperation);
|
|
16080
16169
|
onPending();
|
|
16081
16170
|
}
|
|
@@ -16084,18 +16173,16 @@ var OpenMatesClient = class _OpenMatesClient {
|
|
|
16084
16173
|
return acknowledged;
|
|
16085
16174
|
}
|
|
16086
16175
|
async replayCurrentTurnRecoveryOutputPages(ws, ownerId2, pages, cache, teamId, chatId) {
|
|
16087
|
-
|
|
16088
|
-
|
|
16089
|
-
|
|
16090
|
-
|
|
16091
|
-
|
|
16092
|
-
|
|
16093
|
-
|
|
16094
|
-
|
|
16095
|
-
|
|
16096
|
-
|
|
16097
|
-
});
|
|
16098
|
-
}
|
|
16176
|
+
const isActive = (output) => output.root_chat_id === chatId || output.target_chat_id === chatId;
|
|
16177
|
+
const active = pages.map((page) => page.filter(isActive));
|
|
16178
|
+
const unrelated = pages.map((page) => page.filter((output) => !isActive(output)));
|
|
16179
|
+
if (active.some((page) => page.length > 0)) {
|
|
16180
|
+
await this.replayRecoveryOutputPages(ws, ownerId2, active, cache, teamId);
|
|
16181
|
+
clearSyncCache(teamId);
|
|
16182
|
+
}
|
|
16183
|
+
if (unrelated.some((page) => page.length > 0)) {
|
|
16184
|
+
await this.replayRecoveryOutputPages(ws, ownerId2, unrelated, cache, teamId, () => {
|
|
16185
|
+
});
|
|
16099
16186
|
}
|
|
16100
16187
|
}
|
|
16101
16188
|
async sendMessage(params) {
|
|
@@ -3088,6 +3088,7 @@ declare class OpenMatesClient {
|
|
|
3088
3088
|
* Mirrors: chat_actions_store.ts / FollowUpSuggestions.svelte (web app)
|
|
3089
3089
|
*/
|
|
3090
3090
|
getChatFollowUpSuggestions(chatId: string, options?: TeamContextOptions): Promise<string[]>;
|
|
3091
|
+
private recoveryReplayDependencies;
|
|
3091
3092
|
private persistAvailableRecoveryOutputs;
|
|
3092
3093
|
private replayAvailableRecoveryOutputs;
|
|
3093
3094
|
/** Refresh canonical history after recovery without removing offline browsing data. */
|
package/dist/cli.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
export { al as ImagesAiDetectionClassification, am as ImagesAiDetectionSummary, aL as assertTrustedAccountCommandAllowed, aM as assertTrustedAccountGuardEnvironment, aD as buildImagesAiDetectionSummary, aN as buildProjectDefaultFocus, aO as buildTravelConnectionsRequest, aE as classifyImagesAiDetection, aP as extractExplicitProjectMentions, aG as formatImagesAiDetectionLabel, aH as getExtForLang, aQ as handleWiki, aR as printWhoAmI, aS as readRootProjectInstructions, aT as renderProjectReadApprovalRequest, aU as renderProjectWriteApprovalRequest, aV as renderRemoteCommandEvent, aW as requireExactConfirmation, aX as resolveProjectContext, aK as serializeToYaml, aY as shouldRequireTrustedAccountGuard, aZ as waitForSafeE2ETotpWindow, a_ as waitForWorkflowRun } from './cli-
|
|
2
|
+
export { al as ImagesAiDetectionClassification, am as ImagesAiDetectionSummary, aL as assertTrustedAccountCommandAllowed, aM as assertTrustedAccountGuardEnvironment, aD as buildImagesAiDetectionSummary, aN as buildProjectDefaultFocus, aO as buildTravelConnectionsRequest, aE as classifyImagesAiDetection, aP as extractExplicitProjectMentions, aG as formatImagesAiDetectionLabel, aH as getExtForLang, aQ as handleWiki, aR as printWhoAmI, aS as readRootProjectInstructions, aT as renderProjectReadApprovalRequest, aU as renderProjectWriteApprovalRequest, aV as renderRemoteCommandEvent, aW as requireExactConfirmation, aX as resolveProjectContext, aK as serializeToYaml, aY as shouldRequireTrustedAccountGuard, aZ as waitForSafeE2ETotpWindow, a_ as waitForWorkflowRun } from './cli-wcJZA4bI.js';
|
|
3
3
|
import '@repo/pairing-crypto/direct-chat';
|
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-OKRQDZQG.js";
|
|
25
25
|
import "./chunk-IWKP55ZB.js";
|
|
26
26
|
import "./chunk-F2U6KIMR.js";
|
|
27
27
|
import "./chunk-W5Q6FXNZ.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { O as OpenMatesSession, U as UserPlanStatus, a as UserPlanRecord, b as UserPlanVerificationStatus, c as UserPlanLearningType, d as UserPlanLearningTargetKind, e as UserPlanLearningStatus, f as UserPlanLearningLevel, g as UserPlanLearningRecord, h as UserPlanCriterionRecord, i as UserPlanVerificationRecord, j as UserPlanCreateInput, k as UserPlanUpdateInput, B as BuyerAddress, P as ProjectItemRecord, T as TaskCreateOptions, l as TaskUpdateOptions, m as UserPlanLearningCreateTasksInput, n as UserPlanLearningCreateTasksResult, o as UserTaskStatus, E as ExternalChatContext, p as TaskPriorityLevel, D as DecryptedUserTask, q as DecryptedTaskActivityEntry, r as TaskActivityCreateOptions, s as UserTaskReorderInput, W as WorkflowSummary, t as WorkflowCapability, u as WorkflowDetail, v as WorkflowAuthoringWarning, w as WorkflowInputStartParams, x as WorkflowInputSessionResult, y as WorkflowInputSessionDetail, z as WorkflowInputEvent, A as WorkflowGraph, C as WorkflowRunContentRetention, F as WorkflowRunOnceOptions, G as WorkflowRunDetail, H as WorkflowRunOptions, I as WorkflowNode, J as WorkflowRunCancellationResult, K as WorkflowTemplateProjectionUpsertParams, L as WorkflowTemplateProjectionResult, M as PublicWorkflowTemplateProjection, N as WorkflowTemplateProjectionRevocationResult, Q as WorkflowTemplateBindingCompletionParams, R as WorkflowTemplateBindingCompletionResult, S as WorkflowTemplateShortUrlParams, V as WorkflowTemplateShortUrlResult, X as ShortUrlRevokeResult, Y as WorkflowTemplateImportPayload, Z as ImportedWorkflowTemplate, _ as WikipediaLearningBundle } from './cli-
|
|
2
|
-
export { $ as AuthMethodsStatus, a0 as AuthoritativeChatReconciliation, a1 as BackupCodesResult, a2 as BankTransferOrderDetails, a3 as BankTransferStatus, a4 as CachedChat, a5 as CachedNewChatSuggestion, a6 as ChatListPage, a7 as CliSignupResult, a8 as CliTurnMetadata, a9 as DecryptedDraft, aa as DecryptedEmbed, ab as DecryptedMemoryEntry, ac as DecryptedMessage, ad as DecryptedNewChatSuggestion, ae as DocsFile, af as DocsFolder, ag as DocsSearchResult, ah as DocsTree, ai as EncryptedDraft, aj as GiftCardBankTransferStatus, ak as INTEREST_TAG_IDS, al as ImagesAiDetectionClassification, am as ImagesAiDetectionSummary, an as InterestTagId, ao as MATE_NAMES, ap as MEMORY_TYPE_REGISTRY, aq as MemoryFieldDef, ar as MemoryTypeDef, as as OpenMatesClient, at as OpenMatesClientOptions, au as SyncCache, av as TopicPreferencesPayload, aw as TotpSetupStartResult, ax as WorkflowEdge, ay as WorkflowNodeRun, az as WorkflowNodeType, aA as WorkflowReturnedOutputReference, aB as WorkflowRunContentStorage, aC as WorkflowRunRouting, aD as buildImagesAiDetectionSummary, aE as classifyImagesAiDetection, aF as deriveAppUrl, aG as formatImagesAiDetectionLabel, aH as getExtForLang, aI as normalizeInterestTagIds, aJ as reconcileAuthoritativeChats, aK as serializeToYaml } from './cli-
|
|
1
|
+
import { O as OpenMatesSession, U as UserPlanStatus, a as UserPlanRecord, b as UserPlanVerificationStatus, c as UserPlanLearningType, d as UserPlanLearningTargetKind, e as UserPlanLearningStatus, f as UserPlanLearningLevel, g as UserPlanLearningRecord, h as UserPlanCriterionRecord, i as UserPlanVerificationRecord, j as UserPlanCreateInput, k as UserPlanUpdateInput, B as BuyerAddress, P as ProjectItemRecord, T as TaskCreateOptions, l as TaskUpdateOptions, m as UserPlanLearningCreateTasksInput, n as UserPlanLearningCreateTasksResult, o as UserTaskStatus, E as ExternalChatContext, p as TaskPriorityLevel, D as DecryptedUserTask, q as DecryptedTaskActivityEntry, r as TaskActivityCreateOptions, s as UserTaskReorderInput, W as WorkflowSummary, t as WorkflowCapability, u as WorkflowDetail, v as WorkflowAuthoringWarning, w as WorkflowInputStartParams, x as WorkflowInputSessionResult, y as WorkflowInputSessionDetail, z as WorkflowInputEvent, A as WorkflowGraph, C as WorkflowRunContentRetention, F as WorkflowRunOnceOptions, G as WorkflowRunDetail, H as WorkflowRunOptions, I as WorkflowNode, J as WorkflowRunCancellationResult, K as WorkflowTemplateProjectionUpsertParams, L as WorkflowTemplateProjectionResult, M as PublicWorkflowTemplateProjection, N as WorkflowTemplateProjectionRevocationResult, Q as WorkflowTemplateBindingCompletionParams, R as WorkflowTemplateBindingCompletionResult, S as WorkflowTemplateShortUrlParams, V as WorkflowTemplateShortUrlResult, X as ShortUrlRevokeResult, Y as WorkflowTemplateImportPayload, Z as ImportedWorkflowTemplate, _ as WikipediaLearningBundle } from './cli-wcJZA4bI.js';
|
|
2
|
+
export { $ as AuthMethodsStatus, a0 as AuthoritativeChatReconciliation, a1 as BackupCodesResult, a2 as BankTransferOrderDetails, a3 as BankTransferStatus, a4 as CachedChat, a5 as CachedNewChatSuggestion, a6 as ChatListPage, a7 as CliSignupResult, a8 as CliTurnMetadata, a9 as DecryptedDraft, aa as DecryptedEmbed, ab as DecryptedMemoryEntry, ac as DecryptedMessage, ad as DecryptedNewChatSuggestion, ae as DocsFile, af as DocsFolder, ag as DocsSearchResult, ah as DocsTree, ai as EncryptedDraft, aj as GiftCardBankTransferStatus, ak as INTEREST_TAG_IDS, al as ImagesAiDetectionClassification, am as ImagesAiDetectionSummary, an as InterestTagId, ao as MATE_NAMES, ap as MEMORY_TYPE_REGISTRY, aq as MemoryFieldDef, ar as MemoryTypeDef, as as OpenMatesClient, at as OpenMatesClientOptions, au as SyncCache, av as TopicPreferencesPayload, aw as TotpSetupStartResult, ax as WorkflowEdge, ay as WorkflowNodeRun, az as WorkflowNodeType, aA as WorkflowReturnedOutputReference, aB as WorkflowRunContentStorage, aC as WorkflowRunRouting, aD as buildImagesAiDetectionSummary, aE as classifyImagesAiDetection, aF as deriveAppUrl, aG as formatImagesAiDetectionLabel, aH as getExtForLang, aI as normalizeInterestTagIds, aJ as reconcileAuthoritativeChats, aK as serializeToYaml } from './cli-wcJZA4bI.js';
|
|
3
3
|
import { DirectChatKeyPair } from '@repo/pairing-crypto/direct-chat';
|
|
4
4
|
|
|
5
5
|
type ChatModelSelection = "auto" | (string & {});
|
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": "a8eb52f32b43cbcab1531738942d81687856e131a98d4a2f7f67cb8cd515d208"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"name": "libggml-base.so.0",
|
|
24
24
|
"bytes": 1110088,
|
|
25
|
-
"sha256": "
|
|
25
|
+
"sha256": "a8eb52f32b43cbcab1531738942d81687856e131a98d4a2f7f67cb8cd515d208"
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
"name": "libggml-base.so.0.15.1",
|
|
29
29
|
"bytes": 1110088,
|
|
30
|
-
"sha256": "
|
|
30
|
+
"sha256": "a8eb52f32b43cbcab1531738942d81687856e131a98d4a2f7f67cb8cd515d208"
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
"name": "libggml-cpu.so",
|
|
34
34
|
"bytes": 869800,
|
|
35
|
-
"sha256": "
|
|
35
|
+
"sha256": "2142f2f777e8deaa94dbb517bd78fef5a01f4a6a44a0f0b6cee33434c57aa6ad"
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
"name": "libggml-cpu.so.0",
|
|
39
39
|
"bytes": 869800,
|
|
40
|
-
"sha256": "
|
|
40
|
+
"sha256": "2142f2f777e8deaa94dbb517bd78fef5a01f4a6a44a0f0b6cee33434c57aa6ad"
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
"name": "libggml-cpu.so.0.15.1",
|
|
44
44
|
"bytes": 869800,
|
|
45
|
-
"sha256": "
|
|
45
|
+
"sha256": "2142f2f777e8deaa94dbb517bd78fef5a01f4a6a44a0f0b6cee33434c57aa6ad"
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
"name": "libggml.so",
|
|
49
49
|
"bytes": 1899104,
|
|
50
|
-
"sha256": "
|
|
50
|
+
"sha256": "c3907e6b8eecbbf9af8defe70bf0457719bf0c8fabf05cfbe41b0e98eba60a72"
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
53
|
"name": "libggml.so.0",
|
|
54
54
|
"bytes": 1899104,
|
|
55
|
-
"sha256": "
|
|
55
|
+
"sha256": "c3907e6b8eecbbf9af8defe70bf0457719bf0c8fabf05cfbe41b0e98eba60a72"
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
58
|
"name": "libggml.so.0.15.1",
|
|
59
59
|
"bytes": 1899104,
|
|
60
|
-
"sha256": "
|
|
60
|
+
"sha256": "c3907e6b8eecbbf9af8defe70bf0457719bf0c8fabf05cfbe41b0e98eba60a72"
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
63
|
"name": "openmates-pii-worker",
|