openmates 0.16.0-alpha.5 → 0.16.0-alpha.7

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.
@@ -21607,6 +21607,13 @@ var OpenMatesPlans = class {
21607
21607
  return response.entries ?? [];
21608
21608
  }
21609
21609
  async getRawPlan(planId) {
21610
+ try {
21611
+ const response = await this.client.get(`/v1/user-plans/${encodeURIComponent(planId)}`);
21612
+ if (!response.plan) throw new OpenMatesApiError(500, { detail: "User plan response missing plan" });
21613
+ return response.plan;
21614
+ } catch (error) {
21615
+ if (!(error instanceof OpenMatesApiError) || error.status !== 404) throw error;
21616
+ }
21610
21617
  const plans = await this.listRaw({ activeOnly: false });
21611
21618
  const plan = plans.find((candidate) => candidate.plan_id === planId || candidate.plan_id?.startsWith(planId));
21612
21619
  if (!plan) throw new OpenMatesApiError(404, { detail: "Plan not found" });
@@ -45170,63 +45177,63 @@ notebook:
45170
45177
  }
45171
45178
  };
45172
45179
 
45173
- // ../ui/src/demo_chats/data/example_chats/audio-generate-confirmation-tick.ts
45174
- var audioGenerateConfirmationTickChat = {
45175
- chat_id: "example-audio-generate-confirmation-tick",
45176
- slug: "audio-generate-confirmation-tick",
45177
- title: "example_chats.audio_generate_confirmation_tick.title",
45178
- summary: "example_chats.audio_generate_confirmation_tick.summary",
45180
+ // ../ui/src/demo_chats/data/example_chats/audio-generate-product-success-chime.ts
45181
+ var audioGenerateProductSuccessChimeChat = {
45182
+ chat_id: "example-audio-generate-product-success-chime",
45183
+ slug: "audio-generate-product-success-chime",
45184
+ title: "example_chats.audio_generate_product_success_chime.title",
45185
+ summary: "example_chats.audio_generate_product_success_chime.summary",
45179
45186
  icon: "volume2",
45180
45187
  category: "design",
45181
- keywords: ["audio generation", "sound effects", "ElevenLabs", "notification sound", "OpenMates apps"],
45182
- follow_up_suggestions: ["example_chats.audio_generate_confirmation_tick.follow_up_1", "example_chats.audio_generate_confirmation_tick.follow_up_2", "example_chats.audio_generate_confirmation_tick.follow_up_3", "example_chats.audio_generate_confirmation_tick.follow_up_4", "example_chats.audio_generate_confirmation_tick.follow_up_5", "example_chats.audio_generate_confirmation_tick.follow_up_6"],
45188
+ keywords: ["audio generation", "sound effects", "ElevenLabs", "product sound", "OpenMates apps"],
45189
+ follow_up_suggestions: [],
45183
45190
  messages: [
45184
45191
  {
45185
- "id": "db51b1d4-7db8-4ee9-ab5c-fbb6530f0589",
45186
- "role": "user",
45187
- "content": "example_chats.audio_generate_confirmation_tick.message_1",
45188
- "created_at": 1786382134
45192
+ id: "0fe80324-42f5-4b87-9e11-0b0d8f36c9d5",
45193
+ role: "user",
45194
+ content: "example_chats.audio_generate_product_success_chime.message_1",
45195
+ created_at: 1786382134
45189
45196
  },
45190
45197
  {
45191
- "id": "588e6dde-60f9-53a7-912b-a59a64ed49a1",
45192
- "role": "assistant",
45193
- "content": "example_chats.audio_generate_confirmation_tick.message_2",
45194
- "created_at": 1786382154,
45195
- "user_message_id": "db51b1d4-7db8-4ee9-ab5c-fbb6530f0589",
45196
- "response_credits": 17,
45197
- "category": "general_knowledge",
45198
- "model_name": "Gemini 3.5 Flash-Lite"
45198
+ id: "87bb2a45-d06b-4afa-8a4d-d2f4173647b8",
45199
+ role: "assistant",
45200
+ content: "example_chats.audio_generate_product_success_chime.message_2",
45201
+ created_at: 1786382154,
45202
+ user_message_id: "0fe80324-42f5-4b87-9e11-0b0d8f36c9d5",
45203
+ response_credits: 17,
45204
+ category: "general_knowledge",
45205
+ model_name: "Gemini 3.5 Flash-Lite"
45199
45206
  }
45200
45207
  ],
45201
45208
  embeds: [
45202
45209
  {
45203
- "embed_id": "c2a44760-1aff-403c-b163-c49b4186db53",
45204
- "type": "app_skill_use",
45205
- "content": 'app_id: audio\nskill_id: generate\nresults[1]{id,status,prompt,generation_type,provider,model,mime_type,duration_seconds,byte_length,credits_charged,error}:\n 1,finished,"crisp, friendly confirmation tick sound effect for a successful task completion, short, clean, pleasant notification pop",sound_effect,ElevenLabs,eleven_text_to_sound_v2,audio/mpeg,1.0,17180,2,null\nresult_count: 1\nstatus: finished\nembed_ref: generate-BnC\nprompt: "crisp, friendly confirmation tick sound effect for a successful task completion, short, clean, pleasant notification pop"\nprovider: ElevenLabs\nduration_seconds: 1',
45206
- "parent_embed_id": null,
45207
- "embed_ids": null
45210
+ embed_id: "8d96310e-a05a-41e8-a687-08ce2ce1ce9a",
45211
+ type: "app_skill_use",
45212
+ content: 'app_id: audio\nskill_id: generate\ntype: audio\nstatus: finished\nprompt: "Create a short, friendly success chime for an OpenMates workflow finishing"\ngeneration_type: sound_effect\nprovider: ElevenLabs\nmodel: eleven_text_to_sound_v2\nmime_type: audio/mpeg\nduration_seconds: 0.679\nbyte_length: 3531\npreviewAudioUrl: /store-examples/audio-generate-product-success-chime.mp3\nfiles:\n original:\n size_bytes: 3531\n format: mp3\n mime_type: audio/mpeg\n duration_seconds: 0.679\ngenerated_at: "2026-08-11T02:30:00.000000+00:00"\nwatermarking: Static public fixture',
45213
+ parent_embed_id: null,
45214
+ embed_ids: null
45208
45215
  }
45209
45216
  ],
45210
45217
  usage_entries: [
45211
45218
  {
45212
- "id": "example-audio-generate-confirmation-tick-usage-1",
45213
- "type": "skill_execution",
45214
- "source": "chat",
45215
- "app_id": "ai",
45216
- "skill_id": "ask",
45217
- "model_used": "google/gemini-3.5-flash-lite",
45218
- "credits": 17,
45219
- "input_tokens": 18477,
45220
- "output_tokens": 107,
45221
- "user_input_tokens": 185,
45222
- "system_prompt_tokens": 8516,
45223
- "server_provider": "Google AI Studio",
45224
- "server_region": "US",
45225
- "chat_id": "example-audio-generate-confirmation-tick",
45226
- "message_id": "db51b1d4-7db8-4ee9-ab5c-fbb6530f0589",
45227
- "created_at": 1786382147,
45228
- "updated_at": 1786382147,
45229
- "tool_inference_iterations": 1
45219
+ id: "example-audio-generate-product-success-chime-usage-1",
45220
+ type: "skill_execution",
45221
+ source: "chat",
45222
+ app_id: "ai",
45223
+ skill_id: "ask",
45224
+ model_used: "google/gemini-3.5-flash-lite",
45225
+ credits: 17,
45226
+ input_tokens: 18477,
45227
+ output_tokens: 107,
45228
+ user_input_tokens: 185,
45229
+ system_prompt_tokens: 8516,
45230
+ server_provider: "Google AI Studio",
45231
+ server_region: "US",
45232
+ chat_id: "example-audio-generate-product-success-chime",
45233
+ message_id: "0fe80324-42f5-4b87-9e11-0b0d8f36c9d5",
45234
+ created_at: 1786382147,
45235
+ updated_at: 1786382147,
45236
+ tool_inference_iterations: 1
45230
45237
  }
45231
45238
  ],
45232
45239
  metadata: {
@@ -45236,63 +45243,63 @@ var audioGenerateConfirmationTickChat = {
45236
45243
  }
45237
45244
  };
45238
45245
 
45239
- // ../ui/src/demo_chats/data/example_chats/audio-speak-welcome-message.ts
45240
- var audioSpeakWelcomeMessageChat = {
45241
- chat_id: "example-audio-speak-welcome-message",
45242
- slug: "audio-speak-welcome-message",
45243
- title: "example_chats.audio_speak_welcome_message.title",
45244
- summary: "example_chats.audio_speak_welcome_message.summary",
45246
+ // ../ui/src/demo_chats/data/example_chats/audio-speak-friendly-welcome-message.ts
45247
+ var audioSpeakFriendlyWelcomeMessageChat = {
45248
+ chat_id: "example-audio-speak-friendly-welcome-message",
45249
+ slug: "audio-speak-friendly-welcome-message",
45250
+ title: "example_chats.audio_speak_friendly_welcome_message.title",
45251
+ summary: "example_chats.audio_speak_friendly_welcome_message.summary",
45245
45252
  icon: "volume2",
45246
45253
  category: "design",
45247
45254
  keywords: ["text to speech", "ElevenLabs", "speech generation", "voice narration", "OpenMates apps"],
45248
- follow_up_suggestions: ["example_chats.audio_speak_welcome_message.follow_up_1", "example_chats.audio_speak_welcome_message.follow_up_2", "example_chats.audio_speak_welcome_message.follow_up_3", "example_chats.audio_speak_welcome_message.follow_up_4", "example_chats.audio_speak_welcome_message.follow_up_5", "example_chats.audio_speak_welcome_message.follow_up_6"],
45255
+ follow_up_suggestions: [],
45249
45256
  messages: [
45250
45257
  {
45251
- "id": "31b4d8c3-2275-4d4a-9524-afa4db0ce1fa",
45252
- "role": "user",
45253
- "content": "example_chats.audio_speak_welcome_message.message_1",
45254
- "created_at": 1786382241
45258
+ id: "b39cb42f-ec3e-45ec-9339-801b54c7cb03",
45259
+ role: "user",
45260
+ content: "example_chats.audio_speak_friendly_welcome_message.message_1",
45261
+ created_at: 1786382241
45255
45262
  },
45256
45263
  {
45257
- "id": "788e47e2-6f0b-5a4b-9230-b906f6da09b3",
45258
- "role": "assistant",
45259
- "content": "example_chats.audio_speak_welcome_message.message_2",
45260
- "created_at": 1786382255,
45261
- "user_message_id": "31b4d8c3-2275-4d4a-9524-afa4db0ce1fa",
45262
- "response_credits": 18,
45263
- "category": "onboarding_support",
45264
- "model_name": "Gemini 3.5 Flash-Lite"
45264
+ id: "892c94f0-2c44-4d72-9c92-f27db186a103",
45265
+ role: "assistant",
45266
+ content: "example_chats.audio_speak_friendly_welcome_message.message_2",
45267
+ created_at: 1786382255,
45268
+ user_message_id: "b39cb42f-ec3e-45ec-9339-801b54c7cb03",
45269
+ response_credits: 18,
45270
+ category: "onboarding_support",
45271
+ model_name: "Gemini 3.5 Flash-Lite"
45265
45272
  }
45266
45273
  ],
45267
45274
  embeds: [
45268
45275
  {
45269
- "embed_id": "96260d6f-9258-4de5-bfcd-f579951e93f5",
45270
- "type": "app_skill_use",
45271
- "content": "app_id: audio\nskill_id: speak\nresults[1]{id,status,text_preview,generation_type,voice,accent,style,provider,model,mime_type,duration_seconds,byte_length,credits_charged,error}:\n 1,finished,Welcome back to OpenMates. Your morning briefing is ready.,speech,warm_neutral,en_us,natural,ElevenLabs,eleven_flash_v2_5,audio/mpeg,3.631,58140,3,null\nresult_count: 1\nstatus: finished\nembed_ref: speak-rNM\ntext: Welcome back to OpenMates. Your morning briefing is ready.",
45272
- "parent_embed_id": null,
45273
- "embed_ids": null
45276
+ embed_id: "463ace0f-02f9-43c2-94ee-cf385162bb75",
45277
+ type: "app_skill_use",
45278
+ content: 'app_id: audio\nskill_id: speak\ntype: audio\nstatus: finished\nprompt: "Say this as a warm, natural welcome message: Welcome back to OpenMates. Your workspace is ready whenever you are."\ntext_preview: "Welcome back to OpenMates. Your workspace is ready whenever you are."\ntext: "Welcome back to OpenMates. Your workspace is ready whenever you are."\ngeneration_type: speech\nvoice: warm_neutral\nprovider: ElevenLabs\nmodel: eleven_flash_v2_5\nmime_type: audio/mpeg\nduration_seconds: 4.968\nbyte_length: 28413\npreviewAudioUrl: /store-examples/audio-speak-friendly-welcome-message.mp3\nfiles:\n original:\n size_bytes: 28413\n format: mp3\n mime_type: audio/mpeg\n duration_seconds: 4.968\ngenerated_at: "2026-08-11T02:30:00.000000+00:00"\nwatermarking: Static public fixture',
45279
+ parent_embed_id: null,
45280
+ embed_ids: null
45274
45281
  }
45275
45282
  ],
45276
45283
  usage_entries: [
45277
45284
  {
45278
- "id": "example-audio-speak-welcome-message-usage-1",
45279
- "type": "skill_execution",
45280
- "source": "chat",
45281
- "app_id": "ai",
45282
- "skill_id": "ask",
45283
- "model_used": "google/gemini-3.5-flash-lite",
45284
- "credits": 18,
45285
- "input_tokens": 19599,
45286
- "output_tokens": 69,
45287
- "user_input_tokens": 181,
45288
- "system_prompt_tokens": 9066,
45289
- "server_provider": "Google AI Studio",
45290
- "server_region": "US",
45291
- "chat_id": "example-audio-speak-welcome-message",
45292
- "message_id": "31b4d8c3-2275-4d4a-9524-afa4db0ce1fa",
45293
- "created_at": 1786382249,
45294
- "updated_at": 1786382249,
45295
- "tool_inference_iterations": 1
45285
+ id: "example-audio-speak-friendly-welcome-message-usage-1",
45286
+ type: "skill_execution",
45287
+ source: "chat",
45288
+ app_id: "ai",
45289
+ skill_id: "ask",
45290
+ model_used: "google/gemini-3.5-flash-lite",
45291
+ credits: 18,
45292
+ input_tokens: 19599,
45293
+ output_tokens: 69,
45294
+ user_input_tokens: 181,
45295
+ system_prompt_tokens: 9066,
45296
+ server_provider: "Google AI Studio",
45297
+ server_region: "US",
45298
+ chat_id: "example-audio-speak-friendly-welcome-message",
45299
+ message_id: "b39cb42f-ec3e-45ec-9339-801b54c7cb03",
45300
+ created_at: 1786382249,
45301
+ updated_at: 1786382249,
45302
+ tool_inference_iterations: 1
45296
45303
  }
45297
45304
  ],
45298
45305
  metadata: {
@@ -45406,8 +45413,8 @@ var ALL_EXAMPLE_CHATS = [
45406
45413
  deutschlandticketTrainFareBreakdownChat,
45407
45414
  berlinMitteWorkFriendlyRestaurantsChat,
45408
45415
  openMeteoWeatherNotebookChat,
45409
- audioGenerateConfirmationTickChat,
45410
- audioSpeakWelcomeMessageChat
45416
+ audioGenerateProductSuccessChimeChat,
45417
+ audioSpeakFriendlyWelcomeMessageChat
45411
45418
  ].sort((a, b) => a.metadata.order - b.metadata.order);
45412
45419
 
45413
45420
  // ../ui/src/i18n/locales/en.json
@@ -53347,68 +53354,32 @@ Only output the final Markdown table. Do NOT include explanations, notes, or any
53347
53354
  text: "[images-search] Show me more photos of the Orion spacecraft"
53348
53355
  }
53349
53356
  },
53350
- audio_generate_confirmation_tick: {
53357
+ audio_generate_product_success_chime: {
53351
53358
  title: {
53352
- text: "Generate a Confirmation Tick Sound"
53359
+ text: "Audio Generate Product Success Chime"
53353
53360
  },
53354
53361
  summary: {
53355
- text: "Create a short success-notification sound effect with the Audio Generate app skill."
53362
+ text: "Create a short product success chime with the Audio Generate app skill."
53356
53363
  },
53357
53364
  message_1: {
53358
- text: "@skill:audio:generate Create a crisp, friendly confirmation tick sound effect for a completed OpenMates task. Keep it short, clean, and suitable for a success notification."
53365
+ text: "Create a short, friendly success chime for an OpenMates workflow finishing. Keep it clean, modern, and subtle enough for a product notification."
53359
53366
  },
53360
53367
  message_2: {
53361
- text: '```json\n{"type":"app_skill_use","embed_id":"c2a44760-1aff-403c-b163-c49b4186db53","app_id":"audio","skill_id":"generate"}\n```\n\nI have generated a crisp and friendly confirmation tick sound effect for your OpenMates task completion.\n\nTask Confirmation Sound\n\nWould you like me to help you configure this audio notification for a specific task workflow, or explore other UI sound effects?'
53362
- },
53363
- follow_up_1: {
53364
- text: "Play the generated confirmation sound"
53365
- },
53366
- follow_up_2: {
53367
- text: "Explain how to assign sounds to tasks"
53368
- },
53369
- follow_up_3: {
53370
- text: "Preview other UI sound effects"
53371
- },
53372
- follow_up_4: {
53373
- text: "List common UI sound design principles"
53374
- },
53375
- follow_up_5: {
53376
- text: "Search for cheerful notification tones"
53377
- },
53378
- follow_up_6: {
53379
- text: "Compare short vs long notification sounds"
53368
+ text: '```json\n{"type":"app_skill_use","embed_id":"8d96310e-a05a-41e8-a687-08ce2ce1ce9a","app_id":"audio","skill_id":"generate"}\n```\n\nI created a short, friendly product success chime you can use as a subtle workflow-complete notification.'
53380
53369
  }
53381
53370
  },
53382
- audio_speak_welcome_message: {
53371
+ audio_speak_friendly_welcome_message: {
53383
53372
  title: {
53384
- text: "Generate a Spoken Welcome Message"
53373
+ text: "Audio Speak Friendly Welcome Message"
53385
53374
  },
53386
53375
  summary: {
53387
- text: "Turn a short welcome line into natural speech with the Audio Speak app skill."
53376
+ text: "Turn a short welcome line into a friendly spoken message with the Audio Speak app skill."
53388
53377
  },
53389
53378
  message_1: {
53390
- text: "@skill:audio:speak Say this as warm, natural narration: Welcome back to OpenMates. Your morning briefing is ready."
53379
+ text: "Say this as a warm, natural welcome message: Welcome back to OpenMates. Your workspace is ready whenever you are."
53391
53380
  },
53392
53381
  message_2: {
53393
- text: '```json\n{"type":"app_skill_use","embed_id":"96260d6f-9258-4de5-bfcd-f579951e93f5","app_id":"audio","skill_id":"speak"}\n```\n\nWelcome back to OpenMates! Your morning briefing has been generated as audio. \n\nWould you like me to read through the highlights of your briefing here, or explore any specific updates?'
53394
- },
53395
- follow_up_1: {
53396
- text: "Play the morning briefing audio now"
53397
- },
53398
- follow_up_2: {
53399
- text: "What topics does the briefing cover today"
53400
- },
53401
- follow_up_3: {
53402
- text: "Summarize the briefing highlights here"
53403
- },
53404
- follow_up_4: {
53405
- text: "Are there any urgent reminders I should know"
53406
- },
53407
- follow_up_5: {
53408
- text: "Read aloud the latest updates"
53409
- },
53410
- follow_up_6: {
53411
- text: "How can I customize my morning briefing"
53382
+ text: '```json\n{"type":"app_skill_use","embed_id":"463ace0f-02f9-43c2-94ee-cf385162bb75","app_id":"audio","skill_id":"speak"}\n```\n\nI generated the welcome line as a friendly spoken audio message.'
53412
53383
  }
53413
53384
  },
53414
53385
  audio_transcribe_voice_note: {
package/dist/cli.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  requireExactConfirmation,
9
9
  resolveProjectContext,
10
10
  serializeToYaml
11
- } from "./chunk-UUPKYTJ7.js";
11
+ } from "./chunk-Y2VI2HJI.js";
12
12
  import "./chunk-IWKP55ZB.js";
13
13
  import "./chunk-MLWBMJEN.js";
14
14
  export {
package/dist/index.js CHANGED
@@ -39,7 +39,7 @@ import {
39
39
  renderPlanList,
40
40
  renderSupportInfo,
41
41
  serializeToYaml
42
- } from "./chunk-UUPKYTJ7.js";
42
+ } from "./chunk-Y2VI2HJI.js";
43
43
  import "./chunk-IWKP55ZB.js";
44
44
  import "./chunk-MLWBMJEN.js";
45
45
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openmates",
3
- "version": "0.16.0-alpha.5",
3
+ "version": "0.16.0-alpha.7",
4
4
  "description": "OpenMates CLI and SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",