openmates 0.18.0-alpha.46 → 0.18.0-alpha.48

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.
@@ -612,7 +612,7 @@ var DEFAULT_STANDALONE_PREFIX = "TASK";
612
612
  var PRIORITY_LEVELS = ["none", "low", "medium", "high", "urgent"];
613
613
  var LABEL_INDEX_INFO = "openmates-task-label-index-v1";
614
614
  var EXTERNAL_CHAT_INDEX_INFO = "openmates-task-external-chat-index-v1";
615
- var EXTERNAL_CHAT_PROVIDERS = ["codex", "opencode"];
615
+ var EXTERNAL_CHAT_PROVIDERS = ["codex"];
616
616
  var BLOCKED_REASON_CODES = [
617
617
  "needs_user_input",
618
618
  "waiting_for_approval",
@@ -645,7 +645,7 @@ function parseExternalChatRef(value) {
645
645
  const provider = value.slice(0, separator2).trim().toLowerCase();
646
646
  const id = value.slice(separator2 + 1).trim();
647
647
  if (separator2 <= 0 || !id) throw new Error("--external-chat requires provider:id.");
648
- if (!EXTERNAL_CHAT_PROVIDERS.includes(provider)) throw new Error(`Unsupported external chat provider '${provider}'. Use codex; opencode is retained for legacy records.`);
648
+ if (!EXTERNAL_CHAT_PROVIDERS.includes(provider)) throw new Error(`Unsupported external chat provider '${provider}'. Use codex.`);
649
649
  return { provider, id };
650
650
  }
651
651
  function externalChatLookupHash(masterKey, context) {
@@ -669,7 +669,6 @@ function parseAssignee(value) {
669
669
  if (!normalized || normalized === "user") return { assigneeType: "user", assigneeIdentity: null, assigneeHash: null };
670
670
  if (normalized === "openmates") return { assigneeType: "openmates", assigneeIdentity: "openmates", assigneeHash: null };
671
671
  if (normalized === "external_ai" || normalized === "codex") return { assigneeType: "external_ai", assigneeIdentity: "codex", assigneeHash: null };
672
- if (normalized === "opencode") return { assigneeType: "external_ai", assigneeIdentity: "opencode", assigneeHash: null };
673
672
  if (normalized === "unassigned") return { assigneeType: "unassigned", assigneeIdentity: null, assigneeHash: null };
674
673
  return { assigneeType: "user", assigneeIdentity: null, assigneeHash: value };
675
674
  }
@@ -1077,7 +1076,7 @@ function renderTaskActivityList(entries) {
1077
1076
  }
1078
1077
  function taskIdentityDisplayName(identity) {
1079
1078
  if (identity === "openmates") return "OpenMates";
1080
- if (identity === "opencode") return "OpenCode";
1079
+ if (identity === "codex") return "Codex";
1081
1080
  return null;
1082
1081
  }
1083
1082
  function renderTaskBoard(tasks, width = process.stdout.columns || 100) {
@@ -2251,7 +2250,7 @@ var CONNECTION_TIMEOUT_MS = 1e4;
2251
2250
  var MAX_RESPONSE_BYTES = 4 * 1024 * 1024;
2252
2251
  var THREAD_ID = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
2253
2252
  function codexResumeArguments(context) {
2254
- if (context.provider !== "codex") throw new Error("Legacy OpenCode links are read-only. Connect this Task to a Codex thread explicitly.");
2253
+ if (context.provider !== "codex") throw new Error("Codex connection requires the codex provider.");
2255
2254
  if (!THREAD_ID.test(context.id)) throw new Error("Codex connection requires a valid thread UUID.");
2256
2255
  return ["resume", context.id];
2257
2256
  }
@@ -2338,7 +2337,7 @@ async function resumeCodexTask(context) {
2338
2337
  }
2339
2338
  function taskOwnerConflict(owner) {
2340
2339
  const title = JSON.stringify(owner.title || "Untitled chat");
2341
- const location = owner.provider === "openmates" ? `OpenMates chat ID: ${owner.id}. View: openmates chats show ${owner.id}` : `${owner.provider === "codex" ? "Codex" : "OpenCode"} chat ID: ${owner.id}`;
2340
+ const location = owner.provider === "openmates" ? `OpenMates chat ID: ${owner.id}. View: openmates chats show ${owner.id}` : `Codex chat ID: ${owner.id}`;
2342
2341
  return `Task is already linked to ${title}. ${location}. Release that link before claiming the task in another chat.`;
2343
2342
  }
2344
2343
  function assertCodexClaimCaller(threadId, currentThread = process.env.CODEX_THREAD_ID) {
@@ -11040,7 +11039,7 @@ var OpenMatesClient = class _OpenMatesClient {
11040
11039
  let memoryMetadataKeys = [];
11041
11040
  if (!params.incognito) {
11042
11041
  try {
11043
- availableMemories = await this.listMemories({ teamId });
11042
+ availableMemories = params.memorySnapshot ?? await this.listMemories({ teamId });
11044
11043
  memoryCountsLoaded = true;
11045
11044
  memoryMetadataKeys = [
11046
11045
  ...new Set(
@@ -14773,9 +14772,9 @@ var OpenMatesClient = class _OpenMatesClient {
14773
14772
  // -------------------------------------------------------------------------
14774
14773
  /**
14775
14774
  * List all memories for the current user, decrypted.
14776
- * Fetches from the GDPR export endpoint and decrypts each entry with the master key.
14775
+ * Fetches from the owner-scoped memory surface and decrypts each entry with the master key.
14777
14776
  */
14778
- async sdkGetMemories(teamId) {
14777
+ async sdkGetTeamMemories(teamId) {
14779
14778
  const response = await this.http.get(
14780
14779
  `/v1/teams/${encodeURIComponent(teamId)}/memories`,
14781
14780
  this.getCliRequestHeaders()
@@ -14783,13 +14782,27 @@ var OpenMatesClient = class _OpenMatesClient {
14783
14782
  if (!response.ok) throw new Error(`Team memory list failed with HTTP ${response.status}`);
14784
14783
  return response.data.memories ?? [];
14785
14784
  }
14785
+ async sdkGetPersonalMemories() {
14786
+ const response = await this.http.get(
14787
+ "/v1/sdk/memories",
14788
+ this.getCliRequestHeaders()
14789
+ );
14790
+ if (response.ok) return response.data.memories ?? [];
14791
+ if (response.status !== 404 && response.status !== 501) {
14792
+ throw Object.assign(
14793
+ new Error(`Personal memory list failed with HTTP ${response.status}`),
14794
+ { status: response.status, retryAfterMs: response.retryAfterMs }
14795
+ );
14796
+ }
14797
+ const legacy = await this.settingsGet(
14798
+ "/v1/settings/export-account-data?include_usage=false&include_invoices=false"
14799
+ );
14800
+ return legacy.data?.app_settings_memories ?? [];
14801
+ }
14786
14802
  async listMemories(options = {}) {
14787
14803
  const masterKey = this.getMasterKeyBytes();
14788
14804
  const teamId = this.resolveTeamContext(options);
14789
- const data = teamId ? { data: { app_settings_memories: await this.sdkGetMemories(teamId) } } : await this.settingsGet(
14790
- "/v1/settings/export-account-data?include_usage=false&include_invoices=false"
14791
- );
14792
- const rawEntries = data.data?.app_settings_memories ?? [];
14805
+ const rawEntries = teamId ? await this.sdkGetTeamMemories(teamId) : await this.sdkGetPersonalMemories();
14793
14806
  const results = [];
14794
14807
  for (const raw of rawEntries) {
14795
14808
  const encryptedJson = typeof raw.encrypted_item_json === "string" ? raw.encrypted_item_json : null;
@@ -15379,7 +15392,7 @@ Required: ${schema.required.join(", ")}`
15379
15392
  *
15380
15393
  * Mirrors: mentionSearchService.ts data sources
15381
15394
  */
15382
- async buildMentionContext() {
15395
+ async buildMentionContext(options = {}) {
15383
15396
  let apps = [];
15384
15397
  try {
15385
15398
  const data = await this.listApps();
@@ -15388,7 +15401,7 @@ Required: ${schema.required.join(", ")}`
15388
15401
  }
15389
15402
  let memoryEntries = [];
15390
15403
  try {
15391
- const memories = await this.listMemories();
15404
+ const memories = options.memorySnapshot ?? await this.listMemories();
15392
15405
  memoryEntries = memories.map((m) => ({
15393
15406
  id: m.id,
15394
15407
  app_id: m.app_id,
@@ -29163,8 +29176,7 @@ var INTEGRATION_ENV_KEYS = /* @__PURE__ */ new Set([
29163
29176
  "PREVIEW_ALLOWED_REFERERS",
29164
29177
  "REPORT_ISSUE_EMAIL",
29165
29178
  "ADMIN_NOTIFY_EMAIL",
29166
- "DAILY_MEETING_NOTIFY_EMAIL",
29167
- "OPENCODE_WEB_BASE_URL"
29179
+ "DAILY_MEETING_NOTIFY_EMAIL"
29168
29180
  ]);
29169
29181
  function envKeyCategory(key) {
29170
29182
  if (OBSERVABILITY_ENV_PREFIXES.some((prefix) => key.startsWith(prefix))) return "observability";
@@ -30731,7 +30743,7 @@ function beginEngineeringRuntimeOperation(installPath, operationType, services)
30731
30743
  const manager = join11(installPath, "scripts", "engineering_control_plane.py");
30732
30744
  const sharedConfig = join11(homedir6(), ".config", "openmates", "engineering-control-plane.env");
30733
30745
  if (!existsSync11(manager) || !existsSync11(sharedConfig)) return null;
30734
- const requestedBy = process.env.OPENCODE_SESSION_ID || `openmates-cli:${process.pid}`;
30746
+ const requestedBy = process.env.CODEX_THREAD_ID || `openmates-cli:${process.pid}`;
30735
30747
  const args = [
30736
30748
  manager,
30737
30749
  "operation",
@@ -77243,15 +77255,6 @@ async function main() {
77243
77255
  await enforceTrustedAccount(client);
77244
77256
  }
77245
77257
  const redactor = new OutputRedactor();
77246
- const piiDetectionEnabled = parsed.flags["no-pii-detection"] !== true;
77247
- if (piiDetectionEnabled && shouldInitializeRedactor(command, subcommand)) {
77248
- try {
77249
- const memories = client.hasSession() ? await client.listMemories() : [];
77250
- redactor.initializeFromMemories(memories);
77251
- } catch {
77252
- redactor.initializeFromMemories([]);
77253
- }
77254
- }
77255
77258
  if (!command) {
77256
77259
  if (parsed.flags.version !== void 0) {
77257
77260
  handleCliVersion(parsed.flags);
@@ -77590,32 +77593,32 @@ var TRUST_GUARD_EXEMPT_COMMANDS = /* @__PURE__ */ new Set([
77590
77593
  "upgrade"
77591
77594
  ]);
77592
77595
  var TRUST_GUARD_BLOCKED_COMMANDS = /* @__PURE__ */ new Set(["signup", "e2e"]);
77593
- var TRUST_GUARD_PROFILE = "opencode-personal";
77596
+ var TRUST_GUARD_PROFILE = "codex-personal";
77594
77597
  var TRUST_GUARD_API_URL = "https://api.dev.openmates.org";
77595
77598
  function shouldRequireTrustedAccountGuard(command) {
77596
77599
  return !command || !TRUST_GUARD_EXEMPT_COMMANDS.has(command);
77597
77600
  }
77598
77601
  function assertTrustedAccountCommandAllowed(command) {
77599
77602
  if (command && TRUST_GUARD_BLOCKED_COMMANDS.has(command)) {
77600
- throw new Error(`The '${command}' command is disabled for the trusted OpenCode CLI profile.`);
77603
+ throw new Error(`The '${command}' command is disabled for the trusted Codex CLI profile.`);
77601
77604
  }
77602
77605
  }
77603
77606
  function assertTrustedAccountGuardEnvironment(flags, environment = process.env) {
77604
77607
  if (flags.profile !== void 0 && flags.profile !== TRUST_GUARD_PROFILE) {
77605
- throw new Error(`Trusted OpenCode CLI commands cannot override profile ${TRUST_GUARD_PROFILE}.`);
77608
+ throw new Error(`Trusted Codex CLI commands cannot override profile ${TRUST_GUARD_PROFILE}.`);
77606
77609
  }
77607
77610
  if (environment.OPENMATES_PROFILE !== TRUST_GUARD_PROFILE) {
77608
- throw new Error(`Trusted OpenCode CLI commands require OPENMATES_PROFILE=${TRUST_GUARD_PROFILE}.`);
77611
+ throw new Error(`Trusted Codex CLI commands require OPENMATES_PROFILE=${TRUST_GUARD_PROFILE}.`);
77609
77612
  }
77610
77613
  if (environment.OPENMATES_STATE_DIR) {
77611
- throw new Error("Trusted OpenCode CLI commands cannot override OPENMATES_STATE_DIR.");
77614
+ throw new Error("Trusted Codex CLI commands cannot override OPENMATES_STATE_DIR.");
77612
77615
  }
77613
77616
  if (environment.OPENMATES_API_URL?.replace(/\/$/, "") !== TRUST_GUARD_API_URL) {
77614
- throw new Error(`Trusted OpenCode CLI commands require ${TRUST_GUARD_API_URL}.`);
77617
+ throw new Error(`Trusted Codex CLI commands require ${TRUST_GUARD_API_URL}.`);
77615
77618
  }
77616
77619
  const requestedApiUrl = flags["api-url"];
77617
77620
  if (typeof requestedApiUrl === "string" && requestedApiUrl.replace(/\/$/, "") !== TRUST_GUARD_API_URL) {
77618
- throw new Error("Trusted OpenCode CLI commands cannot override the configured dev API URL.");
77621
+ throw new Error("Trusted Codex CLI commands cannot override the configured dev API URL.");
77619
77622
  }
77620
77623
  }
77621
77624
  function accountIdFromWhoAmI(user) {
@@ -80953,9 +80956,6 @@ async function createEncryptedRemoteAccessProject(client, masterKey, name, conte
80953
80956
  encrypted: payload
80954
80957
  };
80955
80958
  }
80956
- function shouldInitializeRedactor(command, subcommand) {
80957
- return command === "chats" && ["new", "send", "answer-interactive", "incognito"].includes(subcommand ?? "");
80958
- }
80959
80959
  function parseJsonFlag(value, flagName) {
80960
80960
  try {
80961
80961
  return JSON.parse(value);
@@ -86370,6 +86370,25 @@ ${String(response.assistant ?? "")}
86370
86370
  }
86371
86371
  }
86372
86372
  async function sendMessageStreaming(client, params, redactor) {
86373
+ let memorySnapshot = [];
86374
+ const needsMemorySnapshot = client.hasSession() && (params.incognito !== true || params.piiDetection !== false || params.message.includes("@"));
86375
+ if (needsMemorySnapshot) {
86376
+ try {
86377
+ memorySnapshot = await client.listMemories({
86378
+ teamId: params.teamId,
86379
+ personal: params.personal
86380
+ });
86381
+ } catch (error) {
86382
+ if (params.autoApproveMemories && params.incognito !== true) {
86383
+ const message = error instanceof Error ? error.message : String(error);
86384
+ throw new Error(`Failed to load memories for auto-approval: ${message}`);
86385
+ }
86386
+ memorySnapshot = [];
86387
+ }
86388
+ }
86389
+ if (params.piiDetection !== false && redactor) {
86390
+ redactor.initializeFromMemories(memorySnapshot);
86391
+ }
86373
86392
  let headerPrinted = false;
86374
86393
  let typingShown = false;
86375
86394
  const renderedEmbedIds = /* @__PURE__ */ new Set();
@@ -86490,7 +86509,7 @@ async function sendMessageStreaming(client, params, redactor) {
86490
86509
  (query, language, limit) => client.searchWikipediaTitles(query, language, limit)
86491
86510
  );
86492
86511
  resolvedWikipediaMentions = wikipediaResult.resolved;
86493
- const mentionCtx = await client.buildMentionContext();
86512
+ const mentionCtx = await client.buildMentionContext({ memorySnapshot });
86494
86513
  const parsed = parseMentions(wikipediaResult.processedMessage, mentionCtx);
86495
86514
  finalMessage = parsed.processedMessage;
86496
86515
  const unresolvedMentions = parsed.unresolved.filter(
@@ -86727,6 +86746,7 @@ async function sendMessageStreaming(client, params, redactor) {
86727
86746
  autoApproveMemories: params.autoApproveMemories,
86728
86747
  taskUpdateJobs: params.taskUpdateJobs,
86729
86748
  responseTimeoutMs: params.responseTimeoutMs,
86749
+ memorySnapshot,
86730
86750
  preparedEmbeds: preparedEmbeds.length > 0 ? preparedEmbeds : void 0,
86731
86751
  piiMappings: piiResult.mappings.map((mapping) => ({
86732
86752
  placeholder: mapping.placeholder,
@@ -88710,7 +88730,7 @@ function printPlansHelp() {
88710
88730
  openmates plans dependencies list <plan-id|short-id> [--json]
88711
88731
  openmates plans dependencies add|remove <plan-id|short-id> --target plan:<id>|task:<id> [--recovery-root <external-root>] [--json]
88712
88732
  openmates plans assumptions list <plan-id|short-id> [--json]
88713
- openmates plans assumptions create|update <plan-id|short-id> [--assumption <id>] [--text <text>] [--sub-chat opencode:<session>] [--proof-embed <id>|--proof-file <path[:start[:end]]>|--proof-url <https-url>] [--json]
88733
+ openmates plans assumptions create|update <plan-id|short-id> [--assumption <id>] [--text <text>] [--sub-chat <chat-id>] [--proof-embed <id>|--proof-file <path[:start[:end]]>|--proof-url <https-url>] [--json]
88714
88734
  openmates plans revisions list|submit-for-review|status|diff <plan-id|short-id> [--json]
88715
88735
  openmates plans success-criteria add|edit|remove <plan-id|short-id> --criterion <id> --text <criterion> [--type <type>] [--required] [--json]
88716
88736
  openmates plans criteria add|edit|remove <plan-id|short-id> --criterion <id> --text <criterion> [--type <type>] [--required] [--json]
@@ -561,7 +561,7 @@ interface TaskUpdateOptions {
561
561
  slug?: string;
562
562
  }
563
563
  interface ExternalChatRef {
564
- provider: "codex" | "opencode";
564
+ provider: "codex";
565
565
  id: string;
566
566
  }
567
567
  interface ExternalChatContext extends ExternalChatRef {
@@ -875,7 +875,7 @@ interface WorkflowNodeRun {
875
875
  }
876
876
  type UserTaskStatus = "backlog" | "todo" | "in_progress" | "blocked" | "done";
877
877
  type UserTaskAssigneeType = "user" | "openmates" | "external_ai" | "unassigned";
878
- type UserTaskAssigneeIdentity = "openmates" | "codex" | "opencode";
878
+ type UserTaskAssigneeIdentity = "openmates" | "codex";
879
879
  type ProjectSourceType = "local_folder" | "local_git_repository" | "remote_folder" | "remote_git_repository";
880
880
  type ProjectSourceCapability = "read" | "search" | "import" | "write_request";
881
881
  type ProjectSourceStatus = "connected" | "offline" | "permission_required" | "revoked";
@@ -1008,7 +1008,7 @@ interface UserTaskRecord {
1008
1008
  assignee_identity?: UserTaskAssigneeIdentity | null;
1009
1009
  assignee_hash?: string | null;
1010
1010
  primary_chat_id?: string | null;
1011
- external_chat_provider?: "codex" | "opencode" | null;
1011
+ external_chat_provider?: "codex" | null;
1012
1012
  external_chat_lookup_hash?: string | null;
1013
1013
  encrypted_external_chat_id?: string | null;
1014
1014
  encrypted_external_chat_title?: string | null;
@@ -2287,6 +2287,12 @@ declare class OpenMatesClient {
2287
2287
  benchmarkMetadata?: BenchmarkMetadata;
2288
2288
  /** Full plaintext history for incognito benchmark turns. */
2289
2289
  messageHistory?: BenchmarkHistoryMessage[];
2290
+ /**
2291
+ * Decrypted memories already loaded by the command preparing this turn.
2292
+ * Reusing this snapshot keeps PII redaction, mention resolution, memory
2293
+ * metadata, and approval on one consistent owner-scoped read.
2294
+ */
2295
+ memorySnapshot?: DecryptedMemoryEntry[];
2290
2296
  /** Account-wide Learning Mode context when already known by the caller. */
2291
2297
  learningMode?: LearningModeContext;
2292
2298
  /** Start collecting before send for latency-sensitive benchmark turns. */
@@ -2555,7 +2561,7 @@ declare class OpenMatesClient {
2555
2561
  chatId?: string;
2556
2562
  projectId?: string;
2557
2563
  labelHashes?: string[];
2558
- externalChatProvider?: "codex" | "opencode";
2564
+ externalChatProvider?: "codex";
2559
2565
  externalChatLookupHash?: string;
2560
2566
  priority?: number;
2561
2567
  limit?: number;
@@ -2760,9 +2766,10 @@ declare class OpenMatesClient {
2760
2766
  private _getPublicInspirations;
2761
2767
  /**
2762
2768
  * List all memories for the current user, decrypted.
2763
- * Fetches from the GDPR export endpoint and decrypts each entry with the master key.
2769
+ * Fetches from the owner-scoped memory surface and decrypts each entry with the master key.
2764
2770
  */
2765
- private sdkGetMemories;
2771
+ private sdkGetTeamMemories;
2772
+ private sdkGetPersonalMemories;
2766
2773
  listMemories(options?: TeamContextOptions): Promise<DecryptedMemoryEntry[]>;
2767
2774
  /**
2768
2775
  * Create a new memory entry with schema validation.
@@ -2881,7 +2888,9 @@ declare class OpenMatesClient {
2881
2888
  *
2882
2889
  * Mirrors: mentionSearchService.ts data sources
2883
2890
  */
2884
- buildMentionContext(): Promise<MentionContext>;
2891
+ buildMentionContext(options?: {
2892
+ memorySnapshot?: DecryptedMemoryEntry[];
2893
+ }): Promise<MentionContext>;
2885
2894
  private normalizePath;
2886
2895
  private downloadPaymentPdf;
2887
2896
  private ensureEmailEncryptionKey;
package/dist/cli.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- export { ae as ImagesAiDetectionClassification, af as ImagesAiDetectionSummary, aD as assertTrustedAccountCommandAllowed, aE as assertTrustedAccountGuardEnvironment, av as buildImagesAiDetectionSummary, aF as buildTravelConnectionsRequest, aw as classifyImagesAiDetection, ay as formatImagesAiDetectionLabel, az as getExtForLang, aG as printWhoAmI, aH as requireExactConfirmation, aI as resolveProjectContext, aC as serializeToYaml, aJ as shouldRequireTrustedAccountGuard, aK as waitForWorkflowRun } from './cli-R8wBnwBN.js';
2
+ export { ae as ImagesAiDetectionClassification, af as ImagesAiDetectionSummary, aD as assertTrustedAccountCommandAllowed, aE as assertTrustedAccountGuardEnvironment, av as buildImagesAiDetectionSummary, aF as buildTravelConnectionsRequest, aw as classifyImagesAiDetection, ay as formatImagesAiDetectionLabel, az as getExtForLang, aG as printWhoAmI, aH as requireExactConfirmation, aI as resolveProjectContext, aC as serializeToYaml, aJ as shouldRequireTrustedAccountGuard, aK as waitForWorkflowRun } from './cli-IZIs_CNO.js';
package/dist/cli.js CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  serializeToYaml,
14
14
  shouldRequireTrustedAccountGuard,
15
15
  waitForWorkflowRun
16
- } from "./chunk-WQNH4XI6.js";
16
+ } from "./chunk-F2VPQ3VR.js";
17
17
  import "./chunk-IWKP55ZB.js";
18
18
  import "./chunk-BBKJZ23O.js";
19
19
  export {
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { 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, 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 WorkflowInputStartParams, w as WorkflowInputSessionResult, x as WorkflowInputSessionDetail, y as WorkflowInputEvent, z as WorkflowGraph, A as WorkflowRunContentRetention, B as WorkflowRunDetail, C as WorkflowNode, F as WorkflowRunCancellationResult, G as WorkflowTemplateProjectionUpsertParams, H as WorkflowTemplateProjectionResult, I as PublicWorkflowTemplateProjection, J as WorkflowTemplateProjectionRevocationResult, K as WorkflowTemplateBindingCompletionParams, L as WorkflowTemplateBindingCompletionResult, M as WorkflowTemplateShortUrlParams, N as WorkflowTemplateShortUrlResult, S as ShortUrlRevokeResult, O as WorkflowTemplateImportPayload, Q as ImportedWorkflowTemplate } from './cli-R8wBnwBN.js';
2
- export { R as AuthMethodsStatus, V as AuthoritativeChatReconciliation, X as BackupCodesResult, Y as BankTransferOrderDetails, Z as BankTransferStatus, _ as CachedChat, $ as CachedNewChatSuggestion, a0 as ChatListPage, a1 as CliSignupResult, a2 as DecryptedDraft, a3 as DecryptedEmbed, a4 as DecryptedMemoryEntry, a5 as DecryptedMessage, a6 as DecryptedNewChatSuggestion, a7 as DocsFile, a8 as DocsFolder, a9 as DocsSearchResult, aa as DocsTree, ab as EncryptedDraft, ac as GiftCardBankTransferStatus, ad as INTEREST_TAG_IDS, ae as ImagesAiDetectionClassification, af as ImagesAiDetectionSummary, ag as InterestTagId, ah as MATE_NAMES, ai as MEMORY_TYPE_REGISTRY, aj as MemoryFieldDef, ak as MemoryTypeDef, al as OpenMatesClient, am as OpenMatesClientOptions, an as OpenMatesSession, ao as SyncCache, ap as TopicPreferencesPayload, aq as TotpSetupStartResult, ar as WorkflowEdge, as as WorkflowNodeRun, at as WorkflowNodeType, au as WorkflowRunContentStorage, av as buildImagesAiDetectionSummary, aw as classifyImagesAiDetection, ax as deriveAppUrl, ay as formatImagesAiDetectionLabel, az as getExtForLang, aA as normalizeInterestTagIds, aB as reconcileAuthoritativeChats, aC as serializeToYaml } from './cli-R8wBnwBN.js';
1
+ import { 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, 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 WorkflowInputStartParams, w as WorkflowInputSessionResult, x as WorkflowInputSessionDetail, y as WorkflowInputEvent, z as WorkflowGraph, A as WorkflowRunContentRetention, B as WorkflowRunDetail, C as WorkflowNode, F as WorkflowRunCancellationResult, G as WorkflowTemplateProjectionUpsertParams, H as WorkflowTemplateProjectionResult, I as PublicWorkflowTemplateProjection, J as WorkflowTemplateProjectionRevocationResult, K as WorkflowTemplateBindingCompletionParams, L as WorkflowTemplateBindingCompletionResult, M as WorkflowTemplateShortUrlParams, N as WorkflowTemplateShortUrlResult, S as ShortUrlRevokeResult, O as WorkflowTemplateImportPayload, Q as ImportedWorkflowTemplate } from './cli-IZIs_CNO.js';
2
+ export { R as AuthMethodsStatus, V as AuthoritativeChatReconciliation, X as BackupCodesResult, Y as BankTransferOrderDetails, Z as BankTransferStatus, _ as CachedChat, $ as CachedNewChatSuggestion, a0 as ChatListPage, a1 as CliSignupResult, a2 as DecryptedDraft, a3 as DecryptedEmbed, a4 as DecryptedMemoryEntry, a5 as DecryptedMessage, a6 as DecryptedNewChatSuggestion, a7 as DocsFile, a8 as DocsFolder, a9 as DocsSearchResult, aa as DocsTree, ab as EncryptedDraft, ac as GiftCardBankTransferStatus, ad as INTEREST_TAG_IDS, ae as ImagesAiDetectionClassification, af as ImagesAiDetectionSummary, ag as InterestTagId, ah as MATE_NAMES, ai as MEMORY_TYPE_REGISTRY, aj as MemoryFieldDef, ak as MemoryTypeDef, al as OpenMatesClient, am as OpenMatesClientOptions, an as OpenMatesSession, ao as SyncCache, ap as TopicPreferencesPayload, aq as TotpSetupStartResult, ar as WorkflowEdge, as as WorkflowNodeRun, at as WorkflowNodeType, au as WorkflowRunContentStorage, av as buildImagesAiDetectionSummary, aw as classifyImagesAiDetection, ax as deriveAppUrl, ay as formatImagesAiDetectionLabel, az as getExtForLang, aA as normalizeInterestTagIds, aB as reconcileAuthoritativeChats, aC as serializeToYaml } from './cli-IZIs_CNO.js';
3
3
 
4
4
  interface ProjectedAssistantSpeechSegment {
5
5
  sequence: number;
package/dist/index.js CHANGED
@@ -42,7 +42,7 @@ import {
42
42
  selectAssistantMessagesForSpeech,
43
43
  serializeToYaml,
44
44
  summarizeAssistantSpeech
45
- } from "./chunk-WQNH4XI6.js";
45
+ } from "./chunk-F2VPQ3VR.js";
46
46
  import "./chunk-IWKP55ZB.js";
47
47
  import "./chunk-BBKJZ23O.js";
48
48
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openmates",
3
- "version": "0.18.0-alpha.46",
3
+ "version": "0.18.0-alpha.48",
4
4
  "description": "OpenMates CLI and SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",