openmates 0.27.0-alpha.30 → 0.27.0-alpha.32

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.
@@ -88787,6 +88787,7 @@ function workspaceHint(state) {
88787
88787
  if (state.focus === "inspiration") return "\u2190/\u2192 inspiration Enter explore Tab focus";
88788
88788
  if (state.focus === "sidebar") return "\u2191/\u2193 choose Enter open Ctrl+B close Tab focus";
88789
88789
  if (state.screen === "start" || state.screen === "chats") return state.focus === "composer" ? "Enter send Shift+Tab chats Ctrl+N new Ctrl+B sidebar" : "\u2190/\u2192 chat Enter open Tab write \u2191/\u2193 scroll Ctrl+B sidebar";
88790
+ if (state.screen === "embed") return state.embedChoices.length ? "\u2191/\u2193 choose Enter open Esc back" : "\u2191/\u2193 scroll PgUp/PgDn page Esc back";
88790
88791
  if (state.workflowEdit) return "Enter save title Esc cancel edit";
88791
88792
  if (state.screen === "workflow") return "g template r runs \u2191/\u2193 select Enter expand e title E config x run c cancel";
88792
88793
  if (state.screen === "task") return "e edit m status a activity s start d done b block Esc back";
@@ -88898,7 +88899,7 @@ function renderWorkspaceFrame(state, rawWidth, rawHeight, body, options = {}) {
88898
88899
  rows2.push(place(rendered, sidebarRow));
88899
88900
  }
88900
88901
  const placeholder = state.screen === "example" ? "Continue from this example, or ask your own question..." : state.workspace === "chats" ? state.screen === "chat" ? "Ask a follow-up, use @file, or type /help" : "Ask anything..." : state.workspace === "projects" ? "Name a new project \xB7 /search to browse" : state.workspace === "workflows" ? "Describe new workflow \xB7 /search to browse" : state.workspace === "tasks" ? "Add or update tasks \xB7 /search to browse" : "Search apps or type / for actions";
88901
- const hint = state.status && state.screen !== "status" ? `${state.status} \xB7 ${workspaceHint(state)}` : workspaceHint(state);
88902
+ const hint = state.status && state.screen !== "status" && state.screen !== "embed" ? `${state.status} \xB7 ${workspaceHint(state)}` : workspaceHint(state);
88902
88903
  const hintColor = state.focus === "composer" ? "#a0a0a0" : "#ff553b";
88903
88904
  const composer = [];
88904
88905
  if (showComposer) {
@@ -90514,7 +90515,7 @@ function rankExamples(examples, interests) {
90514
90515
  function renderTuiFrame(state, width, height, options = {}) {
90515
90516
  if (state.startup || state.privacyOffer) return renderStartupFrame(state, width, height, options.colorMode ?? "none");
90516
90517
  const bodyWidth = workspaceGeometry(state, width).contentWidth;
90517
- const stickyRows = state.screen === "project" && state.activeProject ? renderProjectIdentity(state.activeProject, { width: bodyWidth }).length + renderProjectTabs(state.projectTab, bodyWidth).length : state.screen === "app" && state.activeApp ? renderTuiAppIdentity(state.activeApp, bodyWidth).length + renderTuiAppTabs(state.appTab, bodyWidth).length : state.screen === "app-skill" && state.activeAppSkill ? renderTuiAppsSkillIdentity(state.activeAppSkill, bodyWidth).length + renderTuiAppsSkillTabs(state.appSkillTab, bodyWidth).length : state.screen === "workflow" && state.activeWorkflow ? renderWorkflowIdentity(state.activeWorkflow, { width: bodyWidth, run: state.workflowTab === "runs" ? state.workflowRuns[state.selectedWorkflowRunIndex] : void 0 }).length + (bodyWidth < 36 ? 7 : 4) : 0;
90518
+ const stickyRows = state.screen === "embed" ? 3 : state.screen === "project" && state.activeProject ? renderProjectIdentity(state.activeProject, { width: bodyWidth }).length + renderProjectTabs(state.projectTab, bodyWidth).length : state.screen === "app" && state.activeApp ? renderTuiAppIdentity(state.activeApp, bodyWidth).length + renderTuiAppTabs(state.appTab, bodyWidth).length : state.screen === "app-skill" && state.activeAppSkill ? renderTuiAppsSkillIdentity(state.activeAppSkill, bodyWidth).length + renderTuiAppsSkillTabs(state.appSkillTab, bodyWidth).length : state.screen === "workflow" && state.activeWorkflow ? renderWorkflowIdentity(state.activeWorkflow, { width: bodyWidth, run: state.workflowTab === "runs" ? state.workflowRuns[state.selectedWorkflowRunIndex] : void 0 }).length + (bodyWidth < 36 ? 7 : 4) : 0;
90518
90519
  return renderWorkspaceFrame(state, width, height, renderBody(state, bodyWidth, height), { ...options, stickyRows, headerRows: state.screen === "chat" || state.screen === "example" ? renderChatHeader(state, bodyWidth).length : void 0 });
90519
90520
  }
90520
90521
  function renderStartupFrame(state, width, height, colorMode) {
@@ -90627,7 +90628,7 @@ function renderScreenBody(state, width, height) {
90627
90628
  const app = state.detailEmbed?.appId ?? "", gradient = APP_GRADIENTS[app] ?? PRIMARY_GRADIENT;
90628
90629
  const title = state.detailTitle || "Embed";
90629
90630
  const header2 = [title, state.detailEmbed ? `${state.detailEmbed.type?.replaceAll("-", " ") ?? "Saved item"} \xB7 ${state.detailEmbed.embedId.slice(0, 8)}` : "Saved embeds"];
90630
- return [...coloredHero(header2, header2.length, gradient), "", ...(state.embedChoices.length ? state.embedChoices.map((id, index) => `${index === state.selectedIndex ? ">" : " "} Embed ${index + 1} \xB7 ${id.slice(0, 8)} \xB7 Enter open`) : state.detailLines).flatMap((line) => wrap(line, width)), "", "\u2191/\u2193 scroll \xB7 PgUp/PgDn page \xB7 Esc back"];
90631
+ return [...coloredHero(header2, header2.length, gradient), "", ...(state.embedChoices.length ? state.embedChoices.map((id, index) => `${index === state.selectedIndex ? ">" : " "} Embed ${index + 1} \xB7 ${id.slice(0, 8)} \xB7 Enter open`) : state.detailLines).flatMap((line) => wrap(line, width))];
90631
90632
  }
90632
90633
  case "workflows":
90633
90634
  return [...homeHeader(state, width, height), ...homeCards(state.workflows.filter((w) => w.title.toLowerCase().includes(state.filter.toLowerCase())).flatMap((w, i) => [...renderWorkflowPreviewCard(w, { width: Math.min(width, 88), selected: state.focus === "content" && i === state.selectedIndex }), ""]), width, []), "Show my workflows \xB7 /search Search"];
package/dist/cli.js CHANGED
@@ -21,7 +21,7 @@ import {
21
21
  shouldRequireTrustedAccountGuard,
22
22
  waitForSafeE2ETotpWindow,
23
23
  waitForWorkflowRun
24
- } from "./chunk-FRFIWC3S.js";
24
+ } from "./chunk-AT7WS3GY.js";
25
25
  import "./chunk-USORGU2X.js";
26
26
  import "./chunk-IWKP55ZB.js";
27
27
  import "./chunk-4IRYB3YN.js";
package/dist/index.js CHANGED
@@ -43,7 +43,7 @@ import {
43
43
  selectAssistantMessagesForSpeech,
44
44
  serializeToYaml,
45
45
  summarizeAssistantSpeech
46
- } from "./chunk-FRFIWC3S.js";
46
+ } from "./chunk-AT7WS3GY.js";
47
47
  import "./chunk-USORGU2X.js";
48
48
  import "./chunk-IWKP55ZB.js";
49
49
  import "./chunk-4IRYB3YN.js";
@@ -17,47 +17,47 @@
17
17
  {
18
18
  "name": "libggml-base.so",
19
19
  "bytes": 1110088,
20
- "sha256": "4a74027875dfa0e8ca7d75ffacff1f3aa55ab4bc205cf7ae6aace637d294ff11"
20
+ "sha256": "16d77a654b4e2250602eec01d51bce8c3a363a727d450c82335db041c24ca795"
21
21
  },
22
22
  {
23
23
  "name": "libggml-base.so.0",
24
24
  "bytes": 1110088,
25
- "sha256": "4a74027875dfa0e8ca7d75ffacff1f3aa55ab4bc205cf7ae6aace637d294ff11"
25
+ "sha256": "16d77a654b4e2250602eec01d51bce8c3a363a727d450c82335db041c24ca795"
26
26
  },
27
27
  {
28
28
  "name": "libggml-base.so.0.15.1",
29
29
  "bytes": 1110088,
30
- "sha256": "4a74027875dfa0e8ca7d75ffacff1f3aa55ab4bc205cf7ae6aace637d294ff11"
30
+ "sha256": "16d77a654b4e2250602eec01d51bce8c3a363a727d450c82335db041c24ca795"
31
31
  },
32
32
  {
33
33
  "name": "libggml-cpu.so",
34
34
  "bytes": 869800,
35
- "sha256": "5a5442579abb18ddefce69011b58c8d64f4ab09a65cfcaf24a3b08c9eabb7d35"
35
+ "sha256": "bfd2b33f81e2b0f0a44665017a37f719ab2a25679e0bc75a18916ab94759c802"
36
36
  },
37
37
  {
38
38
  "name": "libggml-cpu.so.0",
39
39
  "bytes": 869800,
40
- "sha256": "5a5442579abb18ddefce69011b58c8d64f4ab09a65cfcaf24a3b08c9eabb7d35"
40
+ "sha256": "bfd2b33f81e2b0f0a44665017a37f719ab2a25679e0bc75a18916ab94759c802"
41
41
  },
42
42
  {
43
43
  "name": "libggml-cpu.so.0.15.1",
44
44
  "bytes": 869800,
45
- "sha256": "5a5442579abb18ddefce69011b58c8d64f4ab09a65cfcaf24a3b08c9eabb7d35"
45
+ "sha256": "bfd2b33f81e2b0f0a44665017a37f719ab2a25679e0bc75a18916ab94759c802"
46
46
  },
47
47
  {
48
48
  "name": "libggml.so",
49
49
  "bytes": 1899104,
50
- "sha256": "62d87d92e2a82c53ea10a95fe65dca75ed979ab883c1f011bf121cb061723b0a"
50
+ "sha256": "2ebdeb5f296be02e84368478193c8f7f4e01c991e791360ed00fbed34b94d29b"
51
51
  },
52
52
  {
53
53
  "name": "libggml.so.0",
54
54
  "bytes": 1899104,
55
- "sha256": "62d87d92e2a82c53ea10a95fe65dca75ed979ab883c1f011bf121cb061723b0a"
55
+ "sha256": "2ebdeb5f296be02e84368478193c8f7f4e01c991e791360ed00fbed34b94d29b"
56
56
  },
57
57
  {
58
58
  "name": "libggml.so.0.15.1",
59
59
  "bytes": 1899104,
60
- "sha256": "62d87d92e2a82c53ea10a95fe65dca75ed979ab883c1f011bf121cb061723b0a"
60
+ "sha256": "2ebdeb5f296be02e84368478193c8f7f4e01c991e791360ed00fbed34b94d29b"
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.30",
3
+ "version": "0.27.0-alpha.32",
4
4
  "description": "OpenMates CLI and SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",