openmates 0.27.1 → 0.28.0

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.
@@ -456,6 +456,11 @@ var MIN_PII_TEXT_LENGTH = 6;
456
456
  var PII_TYPE_TO_CATEGORY = {
457
457
  EMAIL: "email_addresses",
458
458
  ADDRESS: "addresses",
459
+ PERSON_NAME: "names",
460
+ BANK_ACCOUNT: "iban_bank_account",
461
+ GOVERNMENT_ID: "government_ids",
462
+ DRIVERS_LICENSE: "drivers_licenses",
463
+ IMEI: "imei_numbers",
459
464
  PHONE: "phone_numbers",
460
465
  CREDIT_CARD: "credit_card_numbers",
461
466
  SSN: "social_security_numbers",
@@ -307,6 +307,7 @@ declare class OpenMatesWsClient {
307
307
  projectFileJobs?: boolean;
308
308
  remoteCommandJobs?: boolean;
309
309
  interactiveHuman?: boolean;
310
+ chatMetadataRecovery?: boolean;
310
311
  onForceLogout?: (payload: ForceLogoutPayload) => void | Promise<void>;
311
312
  });
312
313
  supportsServerCapability(capability: string): boolean;
@@ -422,6 +423,8 @@ declare class OpenMatesWsClient {
422
423
  messageId: string | null;
423
424
  taskId: string | null;
424
425
  content: string;
426
+ /** True only when content came from the completed response, not a recovery handoff. */
427
+ responseFinal: boolean;
425
428
  category: string | null;
426
429
  modelName: string | null;
427
430
  followUpSuggestions: string[];
@@ -2082,6 +2085,7 @@ interface ChatListItem {
2082
2085
  updatedAt: number | null;
2083
2086
  createdAt?: number | null;
2084
2087
  category: string | null;
2088
+ activeFocusId?: string;
2085
2089
  mateName: string | null;
2086
2090
  source?: "example";
2087
2091
  parentId?: string | null;
@@ -2547,6 +2551,9 @@ type InteractiveSessionAdmission = {
2547
2551
  user?: Record<string, unknown>;
2548
2552
  };
2549
2553
  declare class OpenMatesClient {
2554
+ private readonly metadataRecoveryBySocket;
2555
+ private readonly metadataRecoveryCaches;
2556
+ private readonly metadataRecoveryCallbacks;
2550
2557
  private readonly ownedMetadataSubscriptions;
2551
2558
  private readonly activeSubmittedChatTurns;
2552
2559
  private recoveryFailureRetry?;
@@ -3098,6 +3105,7 @@ declare class OpenMatesClient {
3098
3105
  getChatFollowUpSuggestions(chatId: string, options?: TeamContextOptions): Promise<string[]>;
3099
3106
  private recoveryReplayDependencies;
3100
3107
  private captureRecoveryOwner;
3108
+ private verifiedRecoveryRootType;
3101
3109
  private persistAvailableRecoveryOutputs;
3102
3110
  private replayAvailableRecoveryOutputs;
3103
3111
  /** Refresh canonical history after recovery without removing offline browsing data. */
@@ -3219,6 +3227,8 @@ declare class OpenMatesClient {
3219
3227
  }>;
3220
3228
  private persistEncryptedSystemMessage;
3221
3229
  private persistPendingTaskUpdateJobs;
3230
+ private readTerminalRecoveryResponse;
3231
+ private persistRecoveredTerminalEmbeds;
3222
3232
  private persistStreamedEmbeds;
3223
3233
  private persistPostProcessingMetadata;
3224
3234
  /**
@@ -3249,6 +3259,13 @@ declare class OpenMatesClient {
3249
3259
  } | null>;
3250
3260
  /** The same public form, availability, and pricing contract used by Apps on web. */
3251
3261
  getAppsWorkspaceSkillDetails(appId: string, skillId: string): Promise<unknown>;
3262
+ /** Interpret a natural-language Apps request without executing its chosen action. */
3263
+ interpretAppsWorkspaceRequest(payload: Record<string, unknown>): Promise<unknown>;
3264
+ /** Public inspiration is independent of the current account and wallet. */
3265
+ getAppsWorkspacePublicRecommendations(appId: string, language?: string): Promise<unknown>;
3266
+ getAppsWorkspaceLibrary(appId: string): Promise<unknown>;
3267
+ saveAppsWorkspaceSearch(appId: string, payload: Record<string, unknown>): Promise<unknown>;
3268
+ updateAppsWorkspaceSettings(appId: string, payload: Record<string, unknown>): Promise<unknown>;
3252
3269
  listAppsWorkspaceResults(appId: string, offset?: number, limit?: number): Promise<unknown>;
3253
3270
  listAppsWorkspaceWorkflows(appId: string, offset?: number, limit?: number): Promise<unknown>;
3254
3271
  getAppsWorkspaceResult(embedId: string): Promise<unknown>;
@@ -3282,7 +3299,7 @@ declare class OpenMatesClient {
3282
3299
  /**
3283
3300
  * Look up a booking URL for a flight using its booking_token.
3284
3301
  *
3285
- * Calls POST /v1/apps/travel/booking-link which resolves the SerpAPI
3302
+ * Calls POST /v1/apps/travel/booking-link which resolves the stored provider
3286
3303
  * booking_token to a direct airline/OTA booking URL. Costs 25 credits.
3287
3304
  *
3288
3305
  * @see TravelConnectionEmbedFullscreen.svelte — handleLoadBookingLink()
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-_GXig1Bk.js';
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-fJnu1wIs.js';
3
3
  import '@repo/pairing-crypto/direct-chat';
package/dist/cli.js CHANGED
@@ -21,10 +21,10 @@ import {
21
21
  shouldRequireTrustedAccountGuard,
22
22
  waitForSafeE2ETotpWindow,
23
23
  waitForWorkflowRun
24
- } from "./chunk-XG7MKIBB.js";
24
+ } from "./chunk-FN4LSYMI.js";
25
25
  import "./chunk-IWKP55ZB.js";
26
- import "./chunk-F2U6KIMR.js";
27
- import "./chunk-W5Q6FXNZ.js";
26
+ import "./chunk-5OCI636P.js";
27
+ import "./chunk-QRCAXXAL.js";
28
28
  import "./chunk-7EFG6NPD.js";
29
29
  import "./chunk-TMYEFC7M.js";
30
30
  import "./chunk-V2QAI5ET.js";