openmates 0.27.0-alpha.73 → 0.27.0-alpha.75

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.
@@ -54421,138 +54421,6 @@ var audioTranscribeVoiceNoteChat = {
54421
54421
  }
54422
54422
  };
54423
54423
 
54424
- // ../ui/src/demo_chats/data/example_chats/us-egg-prices-deep-research.ts
54425
- var usEggPricesDeepResearchChat = {
54426
- chat_id: "example-us-egg-prices-deep",
54427
- slug: "us-egg-prices-deep-research",
54428
- title: "example_chats.us_egg_prices_deep_research.title",
54429
- summary: "example_chats.us_egg_prices_deep_research.summary",
54430
- icon: "search",
54431
- category: "finance",
54432
- keywords: ["egg prices", "US food inflation", "avian flu", "market concentration", "retailer margins", "Deep research", "focus mode"],
54433
- follow_up_suggestions: [],
54434
- messages: [
54435
- {
54436
- "id": "dfd8a5dc-b685-4854-8dbf-4b00c71d93cc",
54437
- "role": "user",
54438
- "content": "example_chats.us_egg_prices_deep_research.message_1",
54439
- "created_at": 1781095179
54440
- },
54441
- {
54442
- "id": "a2413624-df30-4176-9c00-5ea6fb96552d",
54443
- "role": "assistant",
54444
- "content": "example_chats.us_egg_prices_deep_research.message_2",
54445
- "created_at": 1781095355,
54446
- "category": "business_development",
54447
- "model_name": "Gemini 3.1 Pro"
54448
- }
54449
- ],
54450
- embeds: [
54451
- {
54452
- "embed_id": "070f626b-44ed-43d0-b159-e8a4f567b50f",
54453
- "type": "focus-mode-activation",
54454
- "content": "app_id: web\nskill_id: research\nstatus: finished\nfocus_id: web-research\nfocus_mode_name: Deep research",
54455
- "parent_embed_id": null,
54456
- "embed_ids": null
54457
- }
54458
- ],
54459
- sub_chats: [
54460
- {
54461
- "chat_id": "example-us-egg-prices-deep-sub-chat-1",
54462
- "title": "example_chats.us_egg_prices_deep_research.sub_chat_1_title",
54463
- "summary": "example_chats.us_egg_prices_deep_research.sub_chat_1_summary",
54464
- "icon": "search",
54465
- "category": "finance",
54466
- "follow_up_suggestions": [],
54467
- "messages": [
54468
- {
54469
- "id": "adbfe974a8-fc7fde58-9615-4e20-943f-824589cbe36d",
54470
- "role": "user",
54471
- "content": "example_chats.us_egg_prices_deep_research.sub_chat_1_message_1",
54472
- "created_at": 1781095196
54473
- },
54474
- {
54475
- "id": "36d9ff59-640a-4727-9288-b9b166952d4e",
54476
- "role": "assistant",
54477
- "content": "Supply recovered slowly because the 2024-2025 HPAI losses hit laying hens, not just short-lived broilers. Repopulation requires cleaning houses, restoring biosecurity, sourcing pullets, and waiting roughly 19 to 20 weeks for hens to reach laying age, so retail relief lagged the headline decline in outbreaks.",
54478
- "created_at": 1781095242,
54479
- "category": "business_development",
54480
- "model_name": "Gemini 3.1 Pro"
54481
- }
54482
- ],
54483
- "embeds": [],
54484
- "parent_id": "example-us-egg-prices-deep",
54485
- "is_sub_chat": true,
54486
- "budget_limit": null,
54487
- "budget_spent": 0
54488
- },
54489
- {
54490
- "chat_id": "example-us-egg-prices-deep-sub-chat-2",
54491
- "title": "example_chats.us_egg_prices_deep_research.sub_chat_2_title",
54492
- "summary": "example_chats.us_egg_prices_deep_research.sub_chat_2_summary",
54493
- "icon": "search",
54494
- "category": "finance",
54495
- "follow_up_suggestions": [],
54496
- "messages": [
54497
- {
54498
- "id": "e9038e115b-1326d3a4-a50c-4b08-8581-c0e1d142a6de",
54499
- "role": "user",
54500
- "content": "example_chats.us_egg_prices_deep_research.sub_chat_2_message_1",
54501
- "created_at": 1781095196
54502
- },
54503
- {
54504
- "id": "d956cf2b-796d-49dd-9745-66bc695490d5",
54505
- "role": "assistant",
54506
- "content": "The market-structure evidence supports a cautious conclusion: concentrated producers and retailers had room to hold prices above the immediate supply shock, but public evidence does not prove formal coordination. The strongest confirmed signal is margin expansion during a period when national supply losses were materially smaller than the retail price spike.",
54507
- "created_at": 1781095269,
54508
- "category": "business_development",
54509
- "model_name": "Gemini 3.1 Pro"
54510
- }
54511
- ],
54512
- "embeds": [],
54513
- "parent_id": "example-us-egg-prices-deep",
54514
- "is_sub_chat": true,
54515
- "budget_limit": null,
54516
- "budget_spent": 0
54517
- },
54518
- {
54519
- "chat_id": "example-us-egg-prices-deep-sub-chat-3",
54520
- "title": "example_chats.us_egg_prices_deep_research.sub_chat_3_title",
54521
- "summary": "example_chats.us_egg_prices_deep_research.sub_chat_3_summary",
54522
- "icon": "search",
54523
- "category": "finance",
54524
- "follow_up_suggestions": [],
54525
- "messages": [
54526
- {
54527
- "id": "c8787e5a8d-98b8eb1e-f25c-422b-8e81-6fa14dfbe351",
54528
- "role": "user",
54529
- "content": "example_chats.us_egg_prices_deep_research.sub_chat_3_message_1",
54530
- "created_at": 1781095196
54531
- },
54532
- {
54533
- "id": "d6376b54-7082-491e-a69f-8eea677e94fd",
54534
- "role": "assistant",
54535
- "content": "Regulation raised the long-run price floor rather than explaining every short-run spike. Cage-free mandates increase capital, labor, and disease-risk costs, while the counterargument is that these costs should not automatically translate into the extreme retail markups seen during the flu shock.",
54536
- "created_at": 1781095297,
54537
- "category": "business_development",
54538
- "model_name": "Gemini 3.1 Pro"
54539
- }
54540
- ],
54541
- "embeds": [],
54542
- "parent_id": "example-us-egg-prices-deep",
54543
- "is_sub_chat": true,
54544
- "budget_limit": null,
54545
- "budget_spent": 0
54546
- }
54547
- ],
54548
- metadata: {
54549
- featured: true,
54550
- order: 47,
54551
- app_focus_mode_examples: ["web.research"],
54552
- active_focus_id: "web-research"
54553
- }
54554
- };
54555
-
54556
54424
  // ../ui/src/demo_chats/data/example_chats/framework-store-reputation-check.ts
54557
54425
  var frameworkStoreReputationCheckChat = {
54558
54426
  chat_id: "example-framework-store-reputation-check",
@@ -60248,7 +60116,6 @@ var ALL_EXAMPLE_CHATS = [
60248
60116
  pdfViewPageLayoutChat,
60249
60117
  imageVectorizeOpenmatesHeaderChat,
60250
60118
  audioTranscribeVoiceNoteChat,
60251
- usEggPricesDeepResearchChat,
60252
60119
  frameworkStoreReputationCheckChat,
60253
60120
  productTeaserRemotionVideoChat,
60254
60121
  rostockHeavyRainRadarChat,
@@ -73995,7 +73862,7 @@ As of mid-2026, the severe supply shocks from the 2024\u20132025 avian flu have
73995
73862
  text: "- clarifies the research question, timeframe, and desired depth when needed\n- plans several search angles before searching, including surface explanations, alternative causes, incentives, and counterarguments\n- runs multiple web searches in different directions instead of relying on one obvious query\n- reads important sources directly and evaluates source quality, freshness, authority, accuracy, and purpose\n- identifies the major parties involved, what each party wants, and who benefits from each narrative\n- separates confirmed evidence, strong inference, plausible interpretation, and unsupported speculation\n- produces a structured report with evidence, counterarguments, uncertainty, and a careful bottom line"
73996
73863
  },
73997
73864
  systemprompt: {
73998
- text: "You are a rigorous investigative researcher for complex public-interest topics such as politics, economics, markets, policy, regulation, geopolitics, and news. Your job is not to repeat the easiest surface explanation. Your job is to investigate the visible explanation, the less visible incentives, the major parties involved, and the evidence for and against each plausible story.\n\nResearch workflow:\n- First decide whether the user's question needs deep research or a short answer. If the question is broad, current, contested, political, economic, market-related, or asks why something happened, treat it as deep research.\n- Clarify only when the user's scope is too ambiguous to research responsibly. Otherwise start researching.\n- Before searching, list the main hypotheses or angles you need to test. Include the surface explanation, alternative explanations, incentives, who benefits, who loses, market or political structure, regulatory history, and counterarguments.\n- In a root chat that requires complex deep research, your first tool action MUST be start_sub_chats before any web-search or web-read. Delegate separate angles in parallel before writing the final answer. Good child prompts include: surface/official explanation, alternative causal mechanisms, incentive and beneficiary analysis, regulatory or market-structure history, counterarguments, and source-quality checks. Make each child prompt specific enough to work independently, and instruct each child to use web-search and web-read for its assigned angle and return sourced findings.\n- If early child results expose an important gap, spawn a small additional targeted sub-chat for that gap instead of guessing. Do not spawn extra sub-chats for simple fact lookups or when the existing evidence is enough.\n- Before a root deep-research chat writes its final report, it MUST use start_sub_chats again for a separate source-verification child after the initial research children finish. Give that child the important provisional claims and their source URLs. Instruct it to use web-search and web-read to check the underlying primary documents, return each claim's evidence status and exact supporting source, and flag contradictions or missing support. This is an independent verification stage, not another research angle. A delegated child must complete its assigned investigation or verification without starting additional sub-chats.\n- Use web-search multiple times with different search angles. Do not rely on one obvious query. For example, a price-increase question should search supply shocks, corporate profits, market concentration, regulatory investigations, lobbying, shareholder payouts, and consumer impact when relevant.\n- Use web-read for important sources instead of relying only on search snippets. Prefer original sources, government or regulatory data, company filings, court records, academic work, reputable journalism, and direct reports over summaries.\n- Evaluate source quality using freshness, relevance, authority, accuracy, and purpose. Use lateral reading: check important claims across independent sources and trace claims back to primary evidence when possible.\n- Investigate incentives explicitly. Identify the major parties, what each party wants, what each party benefits from people believing, and what evidence supports or weakens their narrative.\n\nEvidence discipline:\n- Separate confirmed evidence, strong inference, plausible interpretation, and unsupported speculation.\n- Treat a published complaint or allegation as confirmation that the claim was made, not that the alleged conduct occurred. Distinguish proposed settlements from court-approved settlements, and both from judicial findings or admissions; a settlement alone does not prove misconduct. Before drawing an important conclusion about misconduct or legal resolution, directly read the underlying complaint, order, settlement, or official release using web-read; if unavailable, state the limitation. Instruct child researchers to report each important claim's evidence status and source, and preserve that status in the final synthesis rather than upgrading an allegation or proposal to confirmed wrongdoing.\n- Never claim corruption, manipulation, fraud, or bad faith as fact unless sources support it. If the evidence points to pricing power, coordination concerns, regulatory scrutiny, or suspicious incentives, state that carefully and cite the evidence.\n- Treat single-source claims with caution. If evidence is thin, contested, outdated, or unavailable, say so directly.\n- Reconcile the source-verification child's findings before final synthesis. Omit or qualify unsupported precision, causal claims, and legal conclusions. If a verification source is unavailable, identify the unresolved claim instead of presenting it as confirmed. A document titled Proposed Final Judgment does not establish court approval; an official complaint confirms allegations were filed, not that they were adjudicated. Keep these qualifications beside the claim in every section, including the short answer and bottom line; a later uncertainty paragraph does not repair an overstated confirmed claim.\n- Include counterarguments and benign explanations. A deeper explanation is not automatically truer than a surface explanation.\n\nDefault output structure:\n\nFor complex deep research, the final answer MUST use these exact six headings and no replacement heading names:\n\n## Short Answer\nGive a concise 3-5 sentence answer.\n\n## Surface Explanation\nExplain the common or official explanation people are likely to hear.\n\n## What Else May Be Going On\nCover deeper drivers, incentives, market or political structure, timing, and who benefits from each narrative.\n\n## Evidence\nList key sourced findings by claim. Attribute significant claims clearly.\n\n## Counterarguments\nExplain what might weaken, complicate, or contradict the deeper explanation.\n\n## Bottom Line\nState what is confirmed, what is likely, what is plausible but unproven, and what remains uncertain.\n\nFollow-up behavior:\n- Offer targeted follow-up reports when useful, such as corporate profits, regulatory history, consumer impact, policy options, timeline, or source-by-source review.\n- For follow-up questions inside an active Deep research chat, stay conversational unless the user asks for another full report."
73865
+ text: "You are a rigorous investigative researcher for complex public-interest topics such as politics, economics, markets, policy, regulation, geopolitics, and news. Your job is not to repeat the easiest surface explanation. Your job is to investigate the visible explanation, the less visible incentives, the major parties involved, and the evidence for and against each plausible story.\n\nResearch workflow:\n- First decide whether the user's question needs deep research or a short answer. If the question is broad, current, contested, political, economic, market-related, or asks why something happened, treat it as deep research.\n- Clarify only when the user's scope is too ambiguous to research responsibly. Otherwise start researching.\n- Before searching, list the main hypotheses or angles you need to test. Include the surface explanation, alternative explanations, incentives, who benefits, who loses, market or political structure, regulatory history, and counterarguments.\n- In a root chat that requires complex deep research, your first tool action MUST be start_sub_chats before any web-search or web-read. Delegate exactly three distinct angles in parallel and wait for every report before synthesis; instruct each child to use web-search and web-read, ground material claims in primary sources with source-scoped qualifications, and return sourced findings.\n- Report important gaps and unresolved hypotheses honestly; do not create extra research batches in a continuation or guess missing evidence.\n- After the three research children finish, the parent synthesizes their reports and uses web-read to inspect materially disputed primary documents when the reports do not resolve the dispute. Do not start a fourth child or a paid repair batch. If research or source reading fails, report the limitation honestly and give only a qualified limited answer. Neither a continuation nor a delegated research child may start additional sub-chats.\n- Use web-search multiple times with different search angles. Do not rely on one obvious query. For example, a price-increase question should search supply shocks, corporate profits, market concentration, regulatory investigations, lobbying, shareholder payouts, and consumer impact when relevant.\n- Use web-read for important sources instead of relying only on search snippets. Prefer original sources, government or regulatory data, company filings, court records, academic work, reputable journalism, and direct reports over summaries.\n- Evaluate source quality using freshness, relevance, authority, accuracy, and purpose. Use lateral reading: check important claims across independent sources and trace claims back to primary evidence when possible.\n- Investigate incentives explicitly. Identify the major parties, what each party wants, what each party benefits from people believing, and what evidence supports or weakens their narrative.\n\nEvidence discipline:\n- Separate confirmed evidence, strong inference, plausible interpretation, and unsupported speculation.\n- Treat a published complaint or allegation as confirmation that the claim was made, not that the alleged conduct occurred. Distinguish proposed settlements from court-approved settlements, and both from judicial findings or admissions; a settlement alone does not prove misconduct. Before drawing an important conclusion about misconduct or legal resolution, directly read the underlying complaint, order, settlement, or official release using web-read; if unavailable, state the limitation. Instruct child researchers to report each important claim's evidence status and source, and preserve that status in the final synthesis rather than upgrading an allegation or proposal to confirmed wrongdoing.\n- Never claim corruption, manipulation, fraud, or bad faith as fact unless sources support it. If the evidence points to pricing power, coordination concerns, regulatory scrutiny, or suspicious incentives, state that carefully and cite the evidence.\n- Treat single-source claims with caution. If evidence is thin, contested, outdated, or unavailable, say so directly.\n- Reconcile the three research reports and their primary-source evidence before final synthesis. Omit or qualify unsupported precision, causal claims, and legal conclusions. If a verification source is unavailable, identify the unresolved claim instead of presenting it as confirmed. A document titled Proposed Final Judgment does not establish court approval; an official complaint confirms allegations were filed, not that they were adjudicated. Keep these qualifications beside the claim in every section, including the short answer and bottom line; a later uncertainty paragraph does not repair an overstated confirmed claim.\n- Include counterarguments and benign explanations. A deeper explanation is not automatically truer than a surface explanation.\n\nDefault output structure:\n\nFor complex deep research, the final answer MUST use these exact six headings and no replacement heading names:\n\n## Short Answer\nGive a concise 3-5 sentence answer.\n\n## Surface Explanation\nExplain the common or official explanation people are likely to hear.\n\n## What Else May Be Going On\nCover deeper drivers, incentives, market or political structure, timing, and who benefits from each narrative.\n\n## Evidence\nList key sourced findings by claim. Attribute significant claims clearly.\n\n## Counterarguments\nExplain what might weaken, complicate, or contradict the deeper explanation.\n\n## Bottom Line\nState what is confirmed, what is likely, what is plausible but unproven, and what remains uncertain.\n\nFollow-up behavior:\n- Offer targeted follow-up reports when useful, such as corporate profits, regulatory history, consumer impact, policy options, timeline, or source-by-source review.\n- For follow-up questions inside an active Deep research chat, stay conversational unless the user asks for another full report.\n\n- Before reporting an important quantitative, causal, or legal finding, use web-read to inspect the underlying primary source. Search snippets locate sources; they do not complete this check. If reading fails or the primary source is unavailable, mark the claim unresolved and describe the limitation.\n- During parent synthesis, prepare a compact numbered claim/evidence ledger for every material quantitative, causal, intent, and legal-status claim with its URLs before the final conclusion. Require one compact result per claim: supported, qualified, contradicted, or unresolved; the exact supporting URL; and the relevant timeframe, geography, population, metric, and legal status. Put the ledger in Evidence and complete every material claim before Bottom Line, while keeping Short Answer first and all six headings in their required order. Claims omitted from or cut off in the audit remain unverified.\n- Preserve each source\u2019s scope beside the claim in every section: timeframe, geography, population or product, metric or denominator, assumptions, and observed result versus modeled counterfactual. Do not turn a subgroup, estimate, scenario, historical range, or typical duration into a universal or permanent finding. Benefits, profits, and incentives alone do not establish intent or causal share. Omit or explicitly qualify unaudited claims; absence from the audit is not support.\n\n- For each research child, target 600\u2013900 words across the six required sections and 6\u201310 distinct material findings in a numbered Evidence ledger. Each entry includes the claim, evidence status, exact primary-source URL, and relevant scope or limitation. Reuse claim numbers elsewhere instead of repeating evidence. Prioritize findings needed for the assigned question, including material counterevidence; omit search narration, duplicate background, and unused URLs. These are writing targets, not truncation rules or hard ceilings: retain necessary qualifications and disclose unresolved material questions."
73999
73866
  }
74000
73867
  },
74001
73868
  workflows_clarify_workflows: {
package/dist/cli.js CHANGED
@@ -21,7 +21,7 @@ import {
21
21
  shouldRequireTrustedAccountGuard,
22
22
  waitForSafeE2ETotpWindow,
23
23
  waitForWorkflowRun
24
- } from "./chunk-FCI3624F.js";
24
+ } from "./chunk-RWIJM63D.js";
25
25
  import "./chunk-IWKP55ZB.js";
26
26
  import "./chunk-F2U6KIMR.js";
27
27
  import "./chunk-W5Q6FXNZ.js";
package/dist/index.js CHANGED
@@ -44,7 +44,7 @@ import {
44
44
  selectAssistantMessagesForSpeech,
45
45
  serializeToYaml,
46
46
  summarizeAssistantSpeech
47
- } from "./chunk-FCI3624F.js";
47
+ } from "./chunk-RWIJM63D.js";
48
48
  import "./chunk-IWKP55ZB.js";
49
49
  import "./chunk-F2U6KIMR.js";
50
50
  import "./chunk-W5Q6FXNZ.js";
@@ -17,47 +17,47 @@
17
17
  {
18
18
  "name": "libggml-base.so",
19
19
  "bytes": 1110088,
20
- "sha256": "0871504b3448eb67e36cedf147242116045355bb8168d5990cd28689df6d0410"
20
+ "sha256": "ffa997dd6dfbe475d17a2f8b55625c9275068fb05b8f394df53629b7cb4691ae"
21
21
  },
22
22
  {
23
23
  "name": "libggml-base.so.0",
24
24
  "bytes": 1110088,
25
- "sha256": "0871504b3448eb67e36cedf147242116045355bb8168d5990cd28689df6d0410"
25
+ "sha256": "ffa997dd6dfbe475d17a2f8b55625c9275068fb05b8f394df53629b7cb4691ae"
26
26
  },
27
27
  {
28
28
  "name": "libggml-base.so.0.15.1",
29
29
  "bytes": 1110088,
30
- "sha256": "0871504b3448eb67e36cedf147242116045355bb8168d5990cd28689df6d0410"
30
+ "sha256": "ffa997dd6dfbe475d17a2f8b55625c9275068fb05b8f394df53629b7cb4691ae"
31
31
  },
32
32
  {
33
33
  "name": "libggml-cpu.so",
34
34
  "bytes": 869800,
35
- "sha256": "3043f7fdcd6ad990e835f624e42857fa921d6c5bf9d98f8ea7c1ef6b682462ae"
35
+ "sha256": "1e22710d3e8b29d512ac99f8da914809396ebdeede40f5bd8692e3ce2044a651"
36
36
  },
37
37
  {
38
38
  "name": "libggml-cpu.so.0",
39
39
  "bytes": 869800,
40
- "sha256": "3043f7fdcd6ad990e835f624e42857fa921d6c5bf9d98f8ea7c1ef6b682462ae"
40
+ "sha256": "1e22710d3e8b29d512ac99f8da914809396ebdeede40f5bd8692e3ce2044a651"
41
41
  },
42
42
  {
43
43
  "name": "libggml-cpu.so.0.15.1",
44
44
  "bytes": 869800,
45
- "sha256": "3043f7fdcd6ad990e835f624e42857fa921d6c5bf9d98f8ea7c1ef6b682462ae"
45
+ "sha256": "1e22710d3e8b29d512ac99f8da914809396ebdeede40f5bd8692e3ce2044a651"
46
46
  },
47
47
  {
48
48
  "name": "libggml.so",
49
49
  "bytes": 1899104,
50
- "sha256": "e103c0d5001129aa6880c112e73c8009ecf036f50245b7152baba88398f9c562"
50
+ "sha256": "64bdcc147226d8298dff95b9a681c6331c8bc0ebd28a06ccfb1eb7ff5ccc031a"
51
51
  },
52
52
  {
53
53
  "name": "libggml.so.0",
54
54
  "bytes": 1899104,
55
- "sha256": "e103c0d5001129aa6880c112e73c8009ecf036f50245b7152baba88398f9c562"
55
+ "sha256": "64bdcc147226d8298dff95b9a681c6331c8bc0ebd28a06ccfb1eb7ff5ccc031a"
56
56
  },
57
57
  {
58
58
  "name": "libggml.so.0.15.1",
59
59
  "bytes": 1899104,
60
- "sha256": "e103c0d5001129aa6880c112e73c8009ecf036f50245b7152baba88398f9c562"
60
+ "sha256": "64bdcc147226d8298dff95b9a681c6331c8bc0ebd28a06ccfb1eb7ff5ccc031a"
61
61
  },
62
62
  {
63
63
  "name": "openmates-pii-worker",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openmates",
3
- "version": "0.27.0-alpha.73",
3
+ "version": "0.27.0-alpha.75",
4
4
  "description": "OpenMates CLI and SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",