openmates 0.15.0-alpha.49 → 0.15.0-alpha.50

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.
@@ -40727,17 +40727,26 @@ var screenshotToHtmlPricingCardChat = {
40727
40727
  }
40728
40728
  ],
40729
40729
  embeds: [
40730
+ {
40731
+ "embed_id": "9e8e6efb-61e2-4eec-bf44-42f5db72ac09",
40732
+ "type": "app_skill_use",
40733
+ "content": "app_id: code\nskill_id: image_to_html\nresult_count: 1\nembed_ids: 395f8816-7e0b-4753-8058-f1f5c49d0482\nstatus: finished\nembed_id: 9e8e6efb-61e2-4eec-bf44-42f5db72ac09\ninput_embed_ids: fcfe81c4-5baa-4580-be67-d5bec235d2f4\noutput_embed_ids: 395f8816-7e0b-4753-8058-f1f5c49d0482\nprovider: Gemini 3.5 Flash-Lite",
40734
+ "parent_embed_id": null,
40735
+ "embed_ids": [
40736
+ "395f8816-7e0b-4753-8058-f1f5c49d0482"
40737
+ ]
40738
+ },
40730
40739
  {
40731
40740
  "embed_id": "395f8816-7e0b-4753-8058-f1f5c49d0482",
40732
40741
  "type": "code",
40733
40742
  "content": 'type: code\napp_id: code\nskill_id: image_to_html\nlanguage: html\ncode: "<!DOCTYPE html>\\n<html lang=\\"en\\">\\n<head>\\n <meta charset=\\"UTF-8\\">\\n <meta name=\\"viewport\\" content=\\"width=1440, height=1200, initial-scale=1.0\\">\\n <title>Pricing Card</title>\\n <style>\\n * {\\n box-sizing: border-box;\\n margin: 0;\\n padding: 0;\\n }\\n\\n body {\\n width: 1440px;\\n height: 1200px;\\n margin: 0;\\n padding: 0;\\n display: flex;\\n align-items: center;\\n justify-content: center;\\n background-color: #f4f6fc;\\n background-image: \\n radial-gradient(circle at 100% 100%, #fff4eb 0%, rgba(255, 244, 235, 0) 55%),\\n radial-gradient(circle at 0% 0%, #e9effd 0%, rgba(233, 239, 253, 0) 55%);\\n font-family: -apple-system, BlinkMacSystemFont, \\"Segoe UI\\", Roboto, Helvetica, Arial, sans-serif;\\n -webkit-font-smoothing: antialiased;\\n -moz-osx-font-smoothing: grayscale;\\n overflow: hidden;\\n }\\n\\n .card {\\n width: 418px;\\n background: #ffffff;\\n border-radius: 28px;\\n padding: 42px 40px;\\n box-shadow: \\n 0 32px 64px -12px rgba(110, 120, 175, 0.14),\\n 0 12px 28px -8px rgba(0, 0, 0, 0.02);\\n display: flex;\\n flex-direction: column;\\n }\\n\\n .badge {\\n display: inline-flex;\\n align-items: center;\\n gap: 7px;\\n background-color: #e8effd;\\n color: #3b5bfd;\\n font-size: 12.5px;\\n font-weight: 600;\\n padding: 5px 12px 5px 10px;\\n border-radius: 100px;\\n width: fit-content;\\n margin-bottom: 24px;\\n }\\n\\n .badge-dot {\\n width: 6px;\\n height: 6px;\\n background-color: #3b5bfd;\\n border-radius: 50%;\\n }\\n\\n .title {\\n font-size: 36px;\\n font-weight: 800;\\n color: #151828;\\n line-height: 1.14;\\n letter-spacing: -0.03em;\\n margin-bottom: 14px;\\n }\\n\\n .description {\\n font-size: 14.5px;\\n line-height: 1.48;\\n color: #676f83;\\n margin-bottom: 32px;\\n }\\n\\n .price-container {\\n display: flex;\\n align-items: baseline;\\n gap: 8px;\\n margin-bottom: 32px;\\n }\\n\\n .price {\\n font-size: 48px;\\n font-weight: 800;\\n color: #151828;\\n line-height: 1;\\n letter-spacing: -0.035em;\\n }\\n\\n .price-period {\\n font-size: 14px;\\n font-weight: 500;\\n color: #676f83;\\n }\\n\\n .features {\\n display: flex;\\n flex-direction: column;\\n gap: 16px;\\n margin-bottom: 36px;\\n }\\n\\n .feature-item {\\n display: flex;\\n align-items: center;\\n gap: 12px;\\n }\\n\\n .feature-icon {\\n width: 20px;\\n height: 20px;\\n border-radius: 50%;\\n background-color: #d8f7e5;\\n display: flex;\\n align-items: center;\\n justify-content: center;\\n flex-shrink: 0;\\n }\\n\\n .feature-icon-dot {\\n width: 6px;\\n height: 6px;\\n border-radius: 50%;\\n background-color: #02b153;\\n }\\n\\n .feature-text {\\n font-size: 14.5px;\\n font-weight: 700;\\n color: #151828;\\n letter-spacing: -0.01em;\\n }\\n\\n .btn {\\n width: 100%;\\n height: 52px;\\n background: linear-gradient(90deg, #405bf8 0%, #813cfc 100%);\\n color: #ffffff;\\n border: none;\\n border-radius: 16px;\\n font-size: 15px;\\n font-weight: 600;\\n cursor: pointer;\\n box-shadow: 0 10px 24px -2px rgba(105, 70, 255, 0.42);\\n display: flex;\\n align-items: center;\\n justify-content: center;\\n font-family: inherit;\\n }\\n </style>\\n</head>\\n<body>\\n <div class=\\"card\\">\\n <div class=\\"badge\\">\\n <span class=\\"badge-dot\\"></span>\\n Team Plan\\n </div>\\n \\n <h1 class=\\"title\\">Design faster with<br>visual AI</h1>\\n \\n <p class=\\"description\\">\\n Turn screenshots into clean front-end code and<br>review the result in seconds.\\n </p>\\n \\n <div class=\\"price-container\\">\\n <span class=\\"price\\">$29</span>\\n <span class=\\"price-period\\">/ seat monthly</span>\\n </div>\\n \\n <div class=\\"features\\">\\n <div class=\\"feature-item\\">\\n <div class=\\"feature-icon\\">\\n <div class=\\"feature-icon-dot\\"></div>\\n </div>\\n <span class=\\"feature-text\\">Unlimited design imports</span>\\n </div>\\n <div class=\\"feature-item\\">\\n <div class=\\"feature-icon\\">\\n <div class=\\"feature-icon-dot\\"></div>\\n </div>\\n <span class=\\"feature-text\\">Responsive HTML export</span>\\n </div>\\n <div class=\\"feature-item\\">\\n <div class=\\"feature-icon\\">\\n <div class=\\"feature-icon-dot\\"></div>\\n </div>\\n <span class=\\"feature-text\\">Visual QA reports</span>\\n </div>\\n </div>\\n \\n <button class=\\"btn\\">Start building</button>\\n </div>\\n</body>\\n</html>"\nfilename: index.html\nembed_ref: code-395f88\nstatus: finished\nline_count: 200\nimage_to_html_metadata:\n correction_passes_used: 2\n validation_warnings[0]:\n usage:\n model: gemini-3.6-flash\n input_tokens: 19416\n output_tokens: 5272\n cache_read_tokens: 0\n cache_write_tokens: 0\n e2b_render_seconds: 100.38043770287186\n correction_passes_used: 2\n validation_repair_attempts: 0\n extracted_asset_count: 0\n visual_diff_score: 0.0149640522875817\n duration_second: 100.38043770287186\n provider_cost_usd: 0.068664\n provider_cost_credits: 69\n model_credits: 215\n e2b_credits: 10\n e2b_started_minutes: 2\n reserved_credits: 1500\n credits_charged: 225\n credits_refunded: 1275',
40734
- "parent_embed_id": null,
40743
+ "parent_embed_id": "9e8e6efb-61e2-4eec-bf44-42f5db72ac09",
40735
40744
  "embed_ids": null
40736
40745
  },
40737
40746
  {
40738
40747
  "embed_id": "fcfe81c4-5baa-4580-be67-d5bec235d2f4",
40739
40748
  "type": "image",
40740
- "content": "type: image\napp_id: images\nskill_id: upload\nstatus: finished\nfilename: simple-card-input.png\nembed_ref: simple-card-input-png-fcfe81c4-5baa-4580-afa07b\ncontent_hash: efb02bdf09ab6665c910dc9b94ab00384280148bf633d9d9d0c6ce758a253ed4\nai_detection:\n ai_generated: 0.99\n provider: sightengine\n status: success\n error: null",
40749
+ "content": "type: image\napp_id: images\nskill_id: upload\nstatus: finished\nfilename: simple-card-input.png\nsrc: /store-examples/screenshot-to-html-pricing-card.svg\nfile_type: image/svg+xml\nembed_ref: simple-card-input-png-fcfe81c4-5baa-4580-afa07b\ncontent_hash: efb02bdf09ab6665c910dc9b94ab00384280148bf633d9d9d0c6ce758a253ed4\nai_detection:\n ai_generated: 0.99\n provider: sightengine\n status: success\n error: null",
40741
40750
  "parent_embed_id": null,
40742
40751
  "embed_ids": null
40743
40752
  }
@@ -50262,7 +50271,7 @@ Would you like to start executing on any specific pillar of this plan\u2014such
50262
50271
  text: "Please turn this screenshot into a standalone inline HTML code embed. Match the screenshot closely and keep it self-contained.\n[!](embed:simple-card-input-png-fcfe81c4-5baa-4580-afa07b)"
50263
50272
  },
50264
50273
  message_2: {
50265
- text: '```json\n{"type": "app_skill_use", "embed_id": "395f8816-7e0b-4753-8058-f1f5c49d0482", "app_id": "code", "skill_id": "image_to_html"}\n```\n\nI\'m generating the standalone HTML code embed from your screenshot now.\n\n```json\n{"type": "code", "embed_id": "395f8816-7e0b-4753-8058-f1f5c49d0482", "app_id": "code", "skill_id": "image_to_html", "language": "html"}\n```\n\nI added the finished HTML as a code preview below so you can open it fullscreen and inspect the self-contained card.'
50274
+ text: '```json\n{"type": "app_skill_use", "embed_id": "9e8e6efb-61e2-4eec-bf44-42f5db72ac09", "app_id": "code", "skill_id": "image_to_html"}\n```\n\nI\'m generating the standalone HTML code embed from your screenshot now.\n\n```json\n{"type": "code", "embed_id": "395f8816-7e0b-4753-8058-f1f5c49d0482", "app_id": "code", "skill_id": "image_to_html", "language": "html"}\n```\n\nI added the finished HTML as a code preview below so you can open it fullscreen and inspect the self-contained card.'
50266
50275
  },
50267
50276
  follow_up_1: {
50268
50277
  text: "Run this HTML code to see how it works"
package/dist/cli.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  getExtForLang,
4
4
  serializeToYaml
5
- } from "./chunk-TPPQ2TSN.js";
5
+ } from "./chunk-6RFJ3NEF.js";
6
6
  import "./chunk-MLWBMJEN.js";
7
7
  export {
8
8
  getExtForLang,
package/dist/index.js CHANGED
@@ -18,7 +18,7 @@ import {
18
18
  reconcileAuthoritativeChats,
19
19
  renderSupportInfo,
20
20
  serializeToYaml
21
- } from "./chunk-TPPQ2TSN.js";
21
+ } from "./chunk-6RFJ3NEF.js";
22
22
  import "./chunk-MLWBMJEN.js";
23
23
  export {
24
24
  APP_SKILL_METADATA,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openmates",
3
- "version": "0.15.0-alpha.49",
3
+ "version": "0.15.0-alpha.50",
4
4
  "description": "OpenMates CLI and SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",