openmates 0.18.0-alpha.36 → 0.18.0-alpha.38

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.
@@ -48931,6 +48931,91 @@ var plumberMessageEmailPhonePrivacyChat = {
48931
48931
  }
48932
48932
  };
48933
48933
 
48934
+ // ../ui/src/demo_chats/data/example_chats/private-plumber-email.ts
48935
+ var privatePlumberEmailChat = {
48936
+ chat_id: "example-private-plumber-email",
48937
+ slug: "private-plumber-email",
48938
+ title: "example_chats.private_plumber_email.title",
48939
+ summary: "example_chats.private_plumber_email.summary",
48940
+ icon: "wrench",
48941
+ category: "maker_prototyping",
48942
+ keywords: ["privacy", "email", "plumber", "sensitive data"],
48943
+ follow_up_suggestions: ["example_chats.private_plumber_email.follow_up_1", "example_chats.private_plumber_email.follow_up_2", "example_chats.private_plumber_email.follow_up_3", "example_chats.private_plumber_email.follow_up_4", "example_chats.private_plumber_email.follow_up_5", "example_chats.private_plumber_email.follow_up_6"],
48944
+ messages: [
48945
+ {
48946
+ "id": "89ec72fe-10b2-4cb7-851d-cca49b67217b",
48947
+ "role": "user",
48948
+ "content": "example_chats.private_plumber_email.message_1",
48949
+ "created_at": 1789056323,
48950
+ "pii_mappings": [
48951
+ {
48952
+ "placeholder": "[EMAIL_1_com]",
48953
+ "original": "hello@example.com",
48954
+ "type": "EMAIL"
48955
+ },
48956
+ {
48957
+ "placeholder": "[PHONE_1_123]",
48958
+ "original": "+44 7700 900123",
48959
+ "type": "PHONE"
48960
+ }
48961
+ ]
48962
+ },
48963
+ {
48964
+ "id": "e741aad1-017b-5fbd-a6a9-a82a6c9cb027",
48965
+ "role": "assistant",
48966
+ "content": "example_chats.private_plumber_email.message_2",
48967
+ "created_at": 1789056336,
48968
+ "user_message_id": "89ec72fe-10b2-4cb7-851d-cca49b67217b",
48969
+ "response_credits": 14,
48970
+ "category": "maker_prototyping",
48971
+ "model_name": "Gemini 3.5 Flash-Lite"
48972
+ }
48973
+ ],
48974
+ embeds: [
48975
+ {
48976
+ "embed_id": "f5b9420e-f3cb-4457-9385-27edeacc96fb",
48977
+ "type": "mail",
48978
+ "content": `type: mail
48979
+ app_id: mail
48980
+ skill_id: email
48981
+ receiver: plumber@example.com
48982
+ subject: Inquiry regarding kitchen tap repair / availability
48983
+ content: "Hi there,\\n\\nI hope you're having a good week. \\n\\nMy kitchen tap has been dripping for the past three days, and I'd love to get it looked at before it wastes too much water. Could you let me know what your availability looks like over the next few days, and if you might be able to provide an estimated cost for a repair or replacement?\\n\\nYou can reach me by email at [EMAIL_1_com] or by phone at [PHONE_1_123]. \\n\\nThanks so much for your time and help!\\n\\nBest regards,"
48984
+ footer: ""
48985
+ embed_ref: inquiry-regarding-kitchen-tap-repair-availabilit-f5b942
48986
+ status: finished`,
48987
+ "parent_embed_id": null,
48988
+ "embed_ids": null
48989
+ }
48990
+ ],
48991
+ usage_entries: [
48992
+ {
48993
+ "id": "example-private-plumber-email-usage-1",
48994
+ "type": "skill_execution",
48995
+ "source": "chat",
48996
+ "app_id": "ai",
48997
+ "skill_id": "ask",
48998
+ "model_used": "google/gemini-3.5-flash-lite",
48999
+ "credits": 14,
49000
+ "input_tokens": 14348,
49001
+ "output_tokens": 217,
49002
+ "user_input_tokens": 57,
49003
+ "system_prompt_tokens": 13389,
49004
+ "server_provider": "Google AI Studio",
49005
+ "server_region": "US",
49006
+ "chat_id": "example-private-plumber-email",
49007
+ "message_id": "89ec72fe-10b2-4cb7-851d-cca49b67217b",
49008
+ "created_at": 1789056329,
49009
+ "updated_at": 1789056329,
49010
+ "tool_inference_iterations": 0
49011
+ }
49012
+ ],
49013
+ metadata: {
49014
+ featured: true,
49015
+ order: 126
49016
+ }
49017
+ };
49018
+
48934
49019
  // ../ui/src/demo_chats/exampleChatData.ts
48935
49020
  var ALL_EXAMPLE_CHATS = [
48936
49021
  giganticAirplanesChat,
@@ -49027,7 +49112,8 @@ var ALL_EXAMPLE_CHATS = [
49027
49112
  openMeteoWeatherNotebookChat,
49028
49113
  audioGenerateOpenmatesSuccessChimeChat,
49029
49114
  audioSpeakOpenmatesWelcomeMessageChat,
49030
- plumberMessageEmailPhonePrivacyChat
49115
+ plumberMessageEmailPhonePrivacyChat,
49116
+ privatePlumberEmailChat
49031
49117
  ].sort((a, b) => a.metadata.order - b.metadata.order);
49032
49118
 
49033
49119
  // ../ui/src/demo_chats/exampleChatFiles.ts
@@ -59015,6 +59101,38 @@ Would you like to start executing on any specific pillar of this plan\u2014such
59015
59101
  text: '```json\n{"type": "app_skill_use", "embed_id": "15932e27-c3b3-4649-b611-dcce16c64941", "app_id": "images", "skill_id": "generate"}\n```\n\nI\'m generating that abstract hero background for you now. It will feature those soft blue and mint gradients with subtle grid lines to give it that clean, privacy-focused productivity feel.\n\nWhile we wait, here\'s a design tip for landing pages: since this background has a lot of whitespace, it\'s perfect for a **high-contrast headline** (like dark navy or charcoal) to ensure [accessibility](wiki:Web_accessibility) and readability.\n\nI\'ll let you know as soon as it\'s ready! \n\nIn the meantime, would you like to explore some [minimalist typography](wiki:Typography) styles that would pair well with this aesthetic?'
59016
59102
  }
59017
59103
  },
59104
+ private_plumber_email: {
59105
+ title: {
59106
+ text: "Draft a plumber email privately"
59107
+ },
59108
+ summary: {
59109
+ text: "Draft a friendly repair enquiry while keeping your email address and phone number hidden from the AI."
59110
+ },
59111
+ message_1: {
59112
+ text: "My kitchen tap has been dripping for three days. Could you draft a friendly email to a plumber asking about availability and an estimated repair cost? Include my email, [EMAIL_1_com], and phone number, [PHONE_1_123], so they can contact me."
59113
+ },
59114
+ message_2: {
59115
+ text: '```json\n{"type": "mail", "embed_id": "f5b9420e-f3cb-4457-9385-27edeacc96fb"}\n```\n\n***\n\n**Anticipate Next Steps:**\n1. Would you like to create a [reminder](/#settings/apps/reminder) to check for their reply or turn off your water main temporarily if the drip worsens?\n2. If you\'re planning to look at it yourself while waiting, I can guide you through inspecting the cartridge or washer.'
59116
+ },
59117
+ follow_up_1: {
59118
+ text: "Set a reminder to follow up with the plumber if I don\u2019t hear back in two days"
59119
+ },
59120
+ follow_up_2: {
59121
+ text: "Ask the plumber for a rough time estimate for the repair"
59122
+ },
59123
+ follow_up_3: {
59124
+ text: "Check local plumber reviews before choosing one to call"
59125
+ },
59126
+ follow_up_4: {
59127
+ text: "Confirm if the dripping could cause water damage if ignored"
59128
+ },
59129
+ follow_up_5: {
59130
+ text: "Compare emergency plumbing service rates in my area"
59131
+ },
59132
+ follow_up_6: {
59133
+ text: "Write down the plumber\u2019s response for future reference"
59134
+ }
59135
+ },
59018
59136
  product_launch_synth_loop: {
59019
59137
  title: {
59020
59138
  text: "Product Launch Synth Loop"
package/dist/cli.js CHANGED
@@ -12,7 +12,7 @@ import {
12
12
  resolveProjectContext,
13
13
  serializeToYaml,
14
14
  shouldRequireTrustedAccountGuard
15
- } from "./chunk-EBSOZCOX.js";
15
+ } from "./chunk-VUCGBEOO.js";
16
16
  import "./chunk-IWKP55ZB.js";
17
17
  import "./chunk-BBKJZ23O.js";
18
18
  export {
package/dist/index.js CHANGED
@@ -42,7 +42,7 @@ import {
42
42
  selectAssistantMessagesForSpeech,
43
43
  serializeToYaml,
44
44
  summarizeAssistantSpeech
45
- } from "./chunk-EBSOZCOX.js";
45
+ } from "./chunk-VUCGBEOO.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.36",
3
+ "version": "0.18.0-alpha.38",
4
4
  "description": "OpenMates CLI and SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",