openmates 0.14.3 → 0.14.4-alpha.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.
@@ -9534,6 +9534,20 @@ import { createInterface as createPromptInterface } from "readline/promises";
9534
9534
  import { homedir as homedir5 } from "os";
9535
9535
  import { dirname, join as join3, resolve as resolve3 } from "path";
9536
9536
 
9537
+ // src/support.ts
9538
+ var SUPPORT_URL = "https://openmates.org/#settings/support";
9539
+ var SUPPORT_TITLE = "Support OpenMates development";
9540
+ var SUPPORT_MESSAGE = "Financial support is voluntary and helps keep OpenMates maintained.";
9541
+ function renderSupportInfo() {
9542
+ return `${SUPPORT_TITLE}:
9543
+ ${SUPPORT_URL}
9544
+
9545
+ ${SUPPORT_MESSAGE}`;
9546
+ }
9547
+ function renderSupportInstallHint() {
9548
+ return `Optional: financially support OpenMates development at ${SUPPORT_URL}`;
9549
+ }
9550
+
9537
9551
  // src/serverPlanning.ts
9538
9552
  var CORE_WORKER_SERVICES = [
9539
9553
  "task-worker",
@@ -10909,6 +10923,7 @@ OpenMates installed at ${installPath}`);
10909
10923
  console.log(`
10910
10924
  CLI default API: ${cliUrls2.apiUrl}`);
10911
10925
  console.log("\nOptional: edit .env first to add LLM provider API keys. Source builds are available with --from-source.");
10926
+ console.log(renderSupportInstallHint());
10912
10927
  }
10913
10928
  return;
10914
10929
  }
@@ -10975,6 +10990,7 @@ OpenMates installed at ${installPath}`);
10975
10990
  console.log(`
10976
10991
  CLI default API: ${cliUrls.apiUrl}`);
10977
10992
  console.log("\nOptional: edit .env first to add LLM provider API keys. Without keys, the web app and backend still start, but AI model processing is unavailable.");
10993
+ console.log(renderSupportInstallHint());
10978
10994
  }
10979
10995
  }
10980
10996
  async function installContinuousUpdateService(flags) {
@@ -47901,6 +47917,10 @@ async function main() {
47901
47917
  await handleDocs(client, subcommand, rest, parsed.flags);
47902
47918
  return;
47903
47919
  }
47920
+ if (command === "support") {
47921
+ handleSupport(parsed.flags);
47922
+ return;
47923
+ }
47904
47924
  if (command === "update" || command === "upgrade") {
47905
47925
  handleSelfUpdate(command, parsed.flags);
47906
47926
  return;
@@ -47986,6 +48006,17 @@ async function main() {
47986
48006
  }
47987
48007
  throw new Error(`Unknown command '${command}'. Run 'openmates help'.`);
47988
48008
  }
48009
+ function handleSupport(flags) {
48010
+ if (flags.json === true) {
48011
+ printJson2({
48012
+ url: SUPPORT_URL,
48013
+ voluntary: true,
48014
+ message: SUPPORT_MESSAGE
48015
+ });
48016
+ return;
48017
+ }
48018
+ console.log(renderSupportInfo());
48019
+ }
47989
48020
  function handleSelfUpdate(command, flags) {
47990
48021
  const plan = buildSelfUpdatePlan(flags);
47991
48022
  if (flags.json === true) {
@@ -52909,6 +52940,7 @@ Commands:
52909
52940
  openmates feedback [--help] Assistant response feedback helpers
52910
52941
  openmates benchmark [--help] Run real model benchmarks with usage tagged as benchmark spend
52911
52942
  openmates remote-access [--help] Attach and search local Project sources
52943
+ openmates support Show voluntary financial support options
52912
52944
  openmates update Update the installed OpenMates CLI package
52913
52945
  openmates upgrade Alias for openmates update
52914
52946
  openmates server [--help] Server management (install, start, stop, ...)
@@ -53457,6 +53489,8 @@ export {
53457
53489
  MATE_NAMES,
53458
53490
  deriveAppUrl,
53459
53491
  OpenMatesClient,
53492
+ SUPPORT_URL,
53493
+ renderSupportInfo,
53460
53494
  defaultCloneBranchForVersion,
53461
53495
  ASSISTANT_FEEDBACK_THANKS,
53462
53496
  ASSISTANT_FEEDBACK_REPORT_TITLE,
package/dist/cli.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  getExtForLang,
4
4
  serializeToYaml
5
- } from "./chunk-CTMZND4H.js";
5
+ } from "./chunk-235JZJBC.js";
6
6
  import "./chunk-AXNRPVLE.js";
7
7
  export {
8
8
  getExtForLang,
package/dist/index.d.ts CHANGED
@@ -1428,6 +1428,9 @@ interface DocsSearchResult {
1428
1428
 
1429
1429
  declare function defaultCloneBranchForVersion(version: string): string | null;
1430
1430
 
1431
+ declare const SUPPORT_URL = "https://openmates.org/#settings/support";
1432
+ declare function renderSupportInfo(): string;
1433
+
1431
1434
  type AppSkillRunner = <T = unknown>(appId: string, skillId: string, input: unknown) => Promise<T>;
1432
1435
  type SkillInput = Record<string, unknown>;
1433
1436
  declare const APP_SKILL_METADATA: readonly [{
@@ -4499,4 +4502,4 @@ type AssistantFeedbackDecision = {
4499
4502
  };
4500
4503
  declare function buildAssistantFeedbackDecision(rating: number): AssistantFeedbackDecision;
4501
4504
 
4502
- export { APP_SKILL_METADATA, ASSISTANT_FEEDBACK_REPORT_TITLE, ASSISTANT_FEEDBACK_THANKS, type AssistantFeedbackDecision, type AuthMethodsStatus, type BackupCodesResult, type BankTransferOrderDetails, type BankTransferStatus, type CachedChat, type CachedNewChatSuggestion, type ChatCreateOptions, type ChatListOptions, type ChatListPage, type ChatResponse, type CliSignupResult, type DecryptedEmbed, type DecryptedMemoryEntry, type DecryptedMessage, type DecryptedNewChatSuggestion, type DocsFile, type DocsFolder, type DocsSearchResult, type DocsTree, type EncryptedChatMetadata, type FocusModeSelection, type GiftCardBankTransferStatus, INTEREST_TAG_IDS, type InterestTagId, MATE_NAMES, MEMORY_TYPE_REGISTRY, type MemoryFieldDef, type MemoryTypeDef, OpenMates, OpenMatesApiError, OpenMatesClient, type OpenMatesClientOptions, OpenMatesConfigError, type OpenMatesOptions, type OpenMatesSession, type ProjectSourceCapability, type ProjectSourceCreateInput, type ProjectSourceRecord, type ProjectSourceStatus, type ProjectSourceType, type SyncCache, type TopicPreferencesPayload, type TotpSetupStartResult, type WorkflowCapability, type WorkflowDetail, type WorkflowEdge, type WorkflowGraph, type WorkflowNode, type WorkflowNodeRun, type WorkflowNodeType, type WorkflowRunContentRetention, type WorkflowRunContentStorage, type WorkflowRunDetail, type WorkflowSummary, buildAssistantFeedbackDecision, defaultCloneBranchForVersion, deriveAppUrl, normalizeInterestTagIds };
4505
+ export { APP_SKILL_METADATA, ASSISTANT_FEEDBACK_REPORT_TITLE, ASSISTANT_FEEDBACK_THANKS, type AssistantFeedbackDecision, type AuthMethodsStatus, type BackupCodesResult, type BankTransferOrderDetails, type BankTransferStatus, type CachedChat, type CachedNewChatSuggestion, type ChatCreateOptions, type ChatListOptions, type ChatListPage, type ChatResponse, type CliSignupResult, type DecryptedEmbed, type DecryptedMemoryEntry, type DecryptedMessage, type DecryptedNewChatSuggestion, type DocsFile, type DocsFolder, type DocsSearchResult, type DocsTree, type EncryptedChatMetadata, type FocusModeSelection, type GiftCardBankTransferStatus, INTEREST_TAG_IDS, type InterestTagId, MATE_NAMES, MEMORY_TYPE_REGISTRY, type MemoryFieldDef, type MemoryTypeDef, OpenMates, OpenMatesApiError, OpenMatesClient, type OpenMatesClientOptions, OpenMatesConfigError, type OpenMatesOptions, type OpenMatesSession, type ProjectSourceCapability, type ProjectSourceCreateInput, type ProjectSourceRecord, type ProjectSourceStatus, type ProjectSourceType, SUPPORT_URL, type SyncCache, type TopicPreferencesPayload, type TotpSetupStartResult, type WorkflowCapability, type WorkflowDetail, type WorkflowEdge, type WorkflowGraph, type WorkflowNode, type WorkflowNodeRun, type WorkflowNodeType, type WorkflowRunContentRetention, type WorkflowRunContentStorage, type WorkflowRunDetail, type WorkflowSummary, buildAssistantFeedbackDecision, defaultCloneBranchForVersion, deriveAppUrl, normalizeInterestTagIds, renderSupportInfo };
package/dist/index.js CHANGED
@@ -5,6 +5,7 @@ import {
5
5
  MATE_NAMES,
6
6
  MEMORY_TYPE_REGISTRY,
7
7
  OpenMatesClient,
8
+ SUPPORT_URL,
8
9
  buildAssistantFeedbackDecision,
9
10
  buildChatShareUrl,
10
11
  buildEmbedShareUrl,
@@ -21,9 +22,10 @@ import {
21
22
  getExtForLang,
22
23
  hashItemKey,
23
24
  normalizeInterestTagIds,
25
+ renderSupportInfo,
24
26
  serializeToYaml,
25
27
  unwrapApiKeyMasterKey
26
- } from "./chunk-CTMZND4H.js";
28
+ } from "./chunk-235JZJBC.js";
27
29
  import "./chunk-AXNRPVLE.js";
28
30
 
29
31
  // src/generated/appSkills.ts
@@ -4610,10 +4612,12 @@ export {
4610
4612
  OpenMatesApiError,
4611
4613
  OpenMatesClient,
4612
4614
  OpenMatesConfigError,
4615
+ SUPPORT_URL,
4613
4616
  buildAssistantFeedbackDecision,
4614
4617
  defaultCloneBranchForVersion,
4615
4618
  deriveAppUrl,
4616
4619
  getExtForLang,
4617
4620
  normalizeInterestTagIds,
4621
+ renderSupportInfo,
4618
4622
  serializeToYaml
4619
4623
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openmates",
3
- "version": "0.14.3",
3
+ "version": "0.14.4-alpha.0",
4
4
  "description": "OpenMates CLI and SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",