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.
- package/dist/{chunk-UUPKYTJ7.js → chunk-Y2VI2HJI.js} +104 -133
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -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-
|
|
45174
|
-
var
|
|
45175
|
-
chat_id: "example-audio-generate-
|
|
45176
|
-
slug: "audio-generate-
|
|
45177
|
-
title: "example_chats.
|
|
45178
|
-
summary: "example_chats.
|
|
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", "
|
|
45182
|
-
follow_up_suggestions: [
|
|
45188
|
+
keywords: ["audio generation", "sound effects", "ElevenLabs", "product sound", "OpenMates apps"],
|
|
45189
|
+
follow_up_suggestions: [],
|
|
45183
45190
|
messages: [
|
|
45184
45191
|
{
|
|
45185
|
-
|
|
45186
|
-
|
|
45187
|
-
|
|
45188
|
-
|
|
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
|
-
|
|
45192
|
-
|
|
45193
|
-
|
|
45194
|
-
|
|
45195
|
-
|
|
45196
|
-
|
|
45197
|
-
|
|
45198
|
-
|
|
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
|
-
|
|
45204
|
-
|
|
45205
|
-
|
|
45206
|
-
|
|
45207
|
-
|
|
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
|
-
|
|
45213
|
-
|
|
45214
|
-
|
|
45215
|
-
|
|
45216
|
-
|
|
45217
|
-
|
|
45218
|
-
|
|
45219
|
-
|
|
45220
|
-
|
|
45221
|
-
|
|
45222
|
-
|
|
45223
|
-
|
|
45224
|
-
|
|
45225
|
-
|
|
45226
|
-
|
|
45227
|
-
|
|
45228
|
-
|
|
45229
|
-
|
|
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
|
|
45241
|
-
chat_id: "example-audio-speak-welcome-message",
|
|
45242
|
-
slug: "audio-speak-welcome-message",
|
|
45243
|
-
title: "example_chats.
|
|
45244
|
-
summary: "example_chats.
|
|
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: [
|
|
45255
|
+
follow_up_suggestions: [],
|
|
45249
45256
|
messages: [
|
|
45250
45257
|
{
|
|
45251
|
-
|
|
45252
|
-
|
|
45253
|
-
|
|
45254
|
-
|
|
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
|
-
|
|
45258
|
-
|
|
45259
|
-
|
|
45260
|
-
|
|
45261
|
-
|
|
45262
|
-
|
|
45263
|
-
|
|
45264
|
-
|
|
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
|
-
|
|
45270
|
-
|
|
45271
|
-
|
|
45272
|
-
|
|
45273
|
-
|
|
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
|
-
|
|
45279
|
-
|
|
45280
|
-
|
|
45281
|
-
|
|
45282
|
-
|
|
45283
|
-
|
|
45284
|
-
|
|
45285
|
-
|
|
45286
|
-
|
|
45287
|
-
|
|
45288
|
-
|
|
45289
|
-
|
|
45290
|
-
|
|
45291
|
-
|
|
45292
|
-
|
|
45293
|
-
|
|
45294
|
-
|
|
45295
|
-
|
|
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
|
-
|
|
45410
|
-
|
|
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
|
-
|
|
53357
|
+
audio_generate_product_success_chime: {
|
|
53351
53358
|
title: {
|
|
53352
|
-
text: "Generate
|
|
53359
|
+
text: "Audio Generate Product Success Chime"
|
|
53353
53360
|
},
|
|
53354
53361
|
summary: {
|
|
53355
|
-
text: "Create a short success
|
|
53362
|
+
text: "Create a short product success chime with the Audio Generate app skill."
|
|
53356
53363
|
},
|
|
53357
53364
|
message_1: {
|
|
53358
|
-
text: "
|
|
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":"
|
|
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
|
-
|
|
53371
|
+
audio_speak_friendly_welcome_message: {
|
|
53383
53372
|
title: {
|
|
53384
|
-
text: "
|
|
53373
|
+
text: "Audio Speak Friendly Welcome Message"
|
|
53385
53374
|
},
|
|
53386
53375
|
summary: {
|
|
53387
|
-
text: "Turn a short welcome line into
|
|
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: "
|
|
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":"
|
|
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
package/dist/index.js
CHANGED