openmates 0.27.0-alpha.68 → 0.27.0-alpha.69
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-BRNBYTW4.js → chunk-ORSPTA2W.js} +17 -1
- package/dist/{cli-DW9YpJSQ.d.ts → cli-BE11sFys.d.ts} +10 -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
|
@@ -6134,7 +6134,7 @@ async function prepareCliJevContext(client2, chatId, options, supplied = {}, tex
|
|
|
6134
6134
|
}).catch(() => {
|
|
6135
6135
|
}).finally(() => resolveCatalog([]));
|
|
6136
6136
|
await Promise.all([
|
|
6137
|
-
(discovery.verifiedProjectCandidates ? Promise.resolve(discovery.verifiedProjectCandidates) : discoverCliProjectCandidates(client2, options, Boolean(discovery.onProjectRouting))).then((value) => {
|
|
6137
|
+
(discovery.verifiedProjectCandidates ? Promise.resolve(discovery.verifiedProjectCandidates) : discovery.usePersonalRoutingDirectory ? client2.listPersonalProjectRoutingDirectory().then((rows2) => decodePersonalProjectCandidates(client2, rows2)) : discoverCliProjectCandidates(client2, options, Boolean(discovery.onProjectRouting))).then((value) => {
|
|
6138
6138
|
candidates = value;
|
|
6139
6139
|
discovery.onProjectRouting?.({ project_focus_candidates: (discovery.verifiedProjectCandidates ?? supplied.project_focus_candidates ?? value).slice(0, 40) });
|
|
6140
6140
|
}).catch((error) => {
|
|
@@ -15579,6 +15579,7 @@ var OpenMatesClient = class _OpenMatesClient {
|
|
|
15579
15579
|
let socketProjectCandidateRows = null;
|
|
15580
15580
|
let verifiedProjectCandidates = null;
|
|
15581
15581
|
let deferredProjectDirectory = false;
|
|
15582
|
+
let usePersonalRoutingDirectory = false;
|
|
15582
15583
|
let projectCandidatesReadyFromSendStartMs = null;
|
|
15583
15584
|
let socketMemoryReceipt = null;
|
|
15584
15585
|
const socketMemoryOptionsKey = () => JSON.stringify([
|
|
@@ -15611,6 +15612,7 @@ var OpenMatesClient = class _OpenMatesClient {
|
|
|
15611
15612
|
if (supported) {
|
|
15612
15613
|
const deferProjectDirectory = sdkMintedChatId && !teamId && !params.incognito && !params.projectId && shouldWaitForAi && memorySocket.ws.supportsServerCapability("personal_memory_snapshot_v1") && memorySocket.ws.supportsServerCapability("chat_turn_admit_v1") && memorySocket.ws.supportsServerCapability("chat_turn_context_v1");
|
|
15613
15614
|
deferredProjectDirectory = deferProjectDirectory;
|
|
15615
|
+
usePersonalRoutingDirectory = deferProjectDirectory && memorySocket.ws.supportsServerCapability("personal_project_routing_directory_v1");
|
|
15614
15616
|
traceSendTiming("snapshot_request");
|
|
15615
15617
|
const combined = combinedSupported && !deferProjectDirectory ? await memorySocket.ws.requestPersonalSendContextSnapshot(randomUUID9()) : null;
|
|
15616
15618
|
const snapshot2 = combined?.personal_memories ?? await memorySocket.ws.requestPersonalMemorySnapshot(randomUUID9());
|
|
@@ -15742,6 +15744,7 @@ var OpenMatesClient = class _OpenMatesClient {
|
|
|
15742
15744
|
sdkMintedChatId,
|
|
15743
15745
|
onRouting: publishRouting,
|
|
15744
15746
|
verifiedProjectCandidates: verifiedProjectCandidates ?? void 0,
|
|
15747
|
+
usePersonalRoutingDirectory,
|
|
15745
15748
|
onProjectRouting: publishProjectRoutingTimed,
|
|
15746
15749
|
onProjectRoutingError: rejectProjectRouting
|
|
15747
15750
|
})).then(
|
|
@@ -16044,6 +16047,7 @@ var OpenMatesClient = class _OpenMatesClient {
|
|
|
16044
16047
|
sdkMintedChatId,
|
|
16045
16048
|
onRouting: publishRouting,
|
|
16046
16049
|
verifiedProjectCandidates: verifiedProjectCandidates ?? void 0,
|
|
16050
|
+
usePersonalRoutingDirectory,
|
|
16047
16051
|
onProjectRouting: publishProjectRoutingTimed,
|
|
16048
16052
|
onProjectRoutingError: rejectProjectRouting
|
|
16049
16053
|
})), elapsedMs: Date.now() - contextStartedAt };
|
|
@@ -18822,6 +18826,18 @@ var OpenMatesClient = class _OpenMatesClient {
|
|
|
18822
18826
|
if (!response.ok) throw new Error(`Project list failed with HTTP ${response.status}`);
|
|
18823
18827
|
return response.data.projects ?? [];
|
|
18824
18828
|
}
|
|
18829
|
+
/** Fresh Personal-only encrypted routing directory; server verifies owner and current Project settings. */
|
|
18830
|
+
async listPersonalProjectRoutingDirectory() {
|
|
18831
|
+
this.requireSession();
|
|
18832
|
+
const response = await this.http.get(
|
|
18833
|
+
"/v1/projects/routing-directory",
|
|
18834
|
+
this.getCliRequestHeaders()
|
|
18835
|
+
);
|
|
18836
|
+
if (!response.ok) throw new Error(`Personal Project routing directory failed with HTTP ${response.status}`);
|
|
18837
|
+
const rows2 = response.data?.project_candidates;
|
|
18838
|
+
if (!Array.isArray(rows2) || rows2.length > 40) throw new Error("Personal Project routing directory is invalid.");
|
|
18839
|
+
return rows2;
|
|
18840
|
+
}
|
|
18825
18841
|
async getProject(projectId, options = {}) {
|
|
18826
18842
|
this.requireSession();
|
|
18827
18843
|
const response = await this.http.get(
|
|
@@ -689,6 +689,14 @@ interface CliJevContext {
|
|
|
689
689
|
related_task_candidates?: RelatedTaskCandidate[];
|
|
690
690
|
}
|
|
691
691
|
type FocusAuthoringDocument = ProjectFocusDocument;
|
|
692
|
+
interface EncryptedPersonalProjectCandidate {
|
|
693
|
+
project_id: string;
|
|
694
|
+
encrypted_project_key: string;
|
|
695
|
+
encrypted_name: string;
|
|
696
|
+
encrypted_description: string | null;
|
|
697
|
+
auto_selection: true;
|
|
698
|
+
focus_activation_policy: "delayed" | "immediate" | "approval";
|
|
699
|
+
}
|
|
692
700
|
|
|
693
701
|
/** Server-authorized cancellable Project activation; discovery never decrypts private context. */
|
|
694
702
|
|
|
@@ -3313,6 +3321,8 @@ declare class OpenMatesClient {
|
|
|
3313
3321
|
teamId?: string | null;
|
|
3314
3322
|
personal?: boolean;
|
|
3315
3323
|
}): Promise<ProjectRecord[]>;
|
|
3324
|
+
/** Fresh Personal-only encrypted routing directory; server verifies owner and current Project settings. */
|
|
3325
|
+
listPersonalProjectRoutingDirectory(): Promise<EncryptedPersonalProjectCandidate[]>;
|
|
3316
3326
|
getProject(projectId: string, options?: TeamContextOptions): Promise<ProjectDetail>;
|
|
3317
3327
|
createProject(input: Record<string, unknown>, options?: TeamContextOptions): Promise<Record<string, unknown>>;
|
|
3318
3328
|
getProjectSettings(projectId: string, options?: TeamContextOptions): Promise<ProjectSettingsRecord>;
|
package/dist/cli.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
export { ak as ImagesAiDetectionClassification, al as ImagesAiDetectionSummary, aK as assertTrustedAccountCommandAllowed, aL as assertTrustedAccountGuardEnvironment, aC as buildImagesAiDetectionSummary, aM as buildProjectDefaultFocus, aN as buildTravelConnectionsRequest, aD as classifyImagesAiDetection, aO as extractExplicitProjectMentions, aF as formatImagesAiDetectionLabel, aG as getExtForLang, aP as handleWiki, aQ as printWhoAmI, aR as readRootProjectInstructions, aS as renderProjectReadApprovalRequest, aT as renderProjectWriteApprovalRequest, aU as renderRemoteCommandEvent, aV as requireExactConfirmation, aW as resolveProjectContext, aJ as serializeToYaml, aX as shouldRequireTrustedAccountGuard, aY as waitForSafeE2ETotpWindow, aZ as waitForWorkflowRun } from './cli-
|
|
2
|
+
export { ak as ImagesAiDetectionClassification, al as ImagesAiDetectionSummary, aK as assertTrustedAccountCommandAllowed, aL as assertTrustedAccountGuardEnvironment, aC as buildImagesAiDetectionSummary, aM as buildProjectDefaultFocus, aN as buildTravelConnectionsRequest, aD as classifyImagesAiDetection, aO as extractExplicitProjectMentions, aF as formatImagesAiDetectionLabel, aG as getExtForLang, aP as handleWiki, aQ as printWhoAmI, aR as readRootProjectInstructions, aS as renderProjectReadApprovalRequest, aT as renderProjectWriteApprovalRequest, aU as renderRemoteCommandEvent, aV as requireExactConfirmation, aW as resolveProjectContext, aJ as serializeToYaml, aX as shouldRequireTrustedAccountGuard, aY as waitForSafeE2ETotpWindow, aZ as waitForWorkflowRun } from './cli-BE11sFys.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-ORSPTA2W.js";
|
|
25
25
|
import "./chunk-IWKP55ZB.js";
|
|
26
26
|
import "./chunk-F2U6KIMR.js";
|
|
27
27
|
import "./chunk-YMVXTMTD.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 DecryptedDraft, a9 as DecryptedEmbed, aa as DecryptedMemoryEntry, ab as DecryptedMessage, ac as DecryptedNewChatSuggestion, ad as DocsFile, ae as DocsFolder, af as DocsSearchResult, ag as DocsTree, ah as EncryptedDraft, ai as GiftCardBankTransferStatus, aj as INTEREST_TAG_IDS, ak as ImagesAiDetectionClassification, al as ImagesAiDetectionSummary, am as InterestTagId, an as MATE_NAMES, ao as MEMORY_TYPE_REGISTRY, ap as MemoryFieldDef, aq as MemoryTypeDef, ar as OpenMatesClient, as as OpenMatesClientOptions, at as SyncCache, au as TopicPreferencesPayload, av as TotpSetupStartResult, aw as WorkflowEdge, ax as WorkflowNodeRun, ay as WorkflowNodeType, az as WorkflowReturnedOutputReference, aA as WorkflowRunContentStorage, aB as WorkflowRunRouting, aC as buildImagesAiDetectionSummary, aD as classifyImagesAiDetection, aE as deriveAppUrl, aF as formatImagesAiDetectionLabel, aG as getExtForLang, aH as normalizeInterestTagIds, aI as reconcileAuthoritativeChats, aJ 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-BE11sFys.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 DecryptedDraft, a9 as DecryptedEmbed, aa as DecryptedMemoryEntry, ab as DecryptedMessage, ac as DecryptedNewChatSuggestion, ad as DocsFile, ae as DocsFolder, af as DocsSearchResult, ag as DocsTree, ah as EncryptedDraft, ai as GiftCardBankTransferStatus, aj as INTEREST_TAG_IDS, ak as ImagesAiDetectionClassification, al as ImagesAiDetectionSummary, am as InterestTagId, an as MATE_NAMES, ao as MEMORY_TYPE_REGISTRY, ap as MemoryFieldDef, aq as MemoryTypeDef, ar as OpenMatesClient, as as OpenMatesClientOptions, at as SyncCache, au as TopicPreferencesPayload, av as TotpSetupStartResult, aw as WorkflowEdge, ax as WorkflowNodeRun, ay as WorkflowNodeType, az as WorkflowReturnedOutputReference, aA as WorkflowRunContentStorage, aB as WorkflowRunRouting, aC as buildImagesAiDetectionSummary, aD as classifyImagesAiDetection, aE as deriveAppUrl, aF as formatImagesAiDetectionLabel, aG as getExtForLang, aH as normalizeInterestTagIds, aI as reconcileAuthoritativeChats, aJ as serializeToYaml } from './cli-BE11sFys.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": "28d9e0b260a7959fca182331a132c7a86a0730219d3352389b332ba0673fa0d9"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"name": "libggml-base.so.0",
|
|
24
24
|
"bytes": 1110088,
|
|
25
|
-
"sha256": "
|
|
25
|
+
"sha256": "28d9e0b260a7959fca182331a132c7a86a0730219d3352389b332ba0673fa0d9"
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
"name": "libggml-base.so.0.15.1",
|
|
29
29
|
"bytes": 1110088,
|
|
30
|
-
"sha256": "
|
|
30
|
+
"sha256": "28d9e0b260a7959fca182331a132c7a86a0730219d3352389b332ba0673fa0d9"
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
"name": "libggml-cpu.so",
|
|
34
34
|
"bytes": 869800,
|
|
35
|
-
"sha256": "
|
|
35
|
+
"sha256": "81ebe3a00e92fefdcb8989bc29ac830edae15e68f2ed5d264f9ef347650f05ab"
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
"name": "libggml-cpu.so.0",
|
|
39
39
|
"bytes": 869800,
|
|
40
|
-
"sha256": "
|
|
40
|
+
"sha256": "81ebe3a00e92fefdcb8989bc29ac830edae15e68f2ed5d264f9ef347650f05ab"
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
"name": "libggml-cpu.so.0.15.1",
|
|
44
44
|
"bytes": 869800,
|
|
45
|
-
"sha256": "
|
|
45
|
+
"sha256": "81ebe3a00e92fefdcb8989bc29ac830edae15e68f2ed5d264f9ef347650f05ab"
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
"name": "libggml.so",
|
|
49
49
|
"bytes": 1899104,
|
|
50
|
-
"sha256": "
|
|
50
|
+
"sha256": "086f5722d3f5f94f4ed423fbb38783775c376bd06cfe8486abfea130be382f9b"
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
53
|
"name": "libggml.so.0",
|
|
54
54
|
"bytes": 1899104,
|
|
55
|
-
"sha256": "
|
|
55
|
+
"sha256": "086f5722d3f5f94f4ed423fbb38783775c376bd06cfe8486abfea130be382f9b"
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
58
|
"name": "libggml.so.0.15.1",
|
|
59
59
|
"bytes": 1899104,
|
|
60
|
-
"sha256": "
|
|
60
|
+
"sha256": "086f5722d3f5f94f4ed423fbb38783775c376bd06cfe8486abfea130be382f9b"
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
63
|
"name": "openmates-pii-worker",
|