@colbymchenry/cmem 0.2.28 → 0.2.29

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.

Potentially problematic release.


This version of @colbymchenry/cmem might be problematic. Click here for more details.

package/dist/cli.js CHANGED
@@ -1510,7 +1510,7 @@ function useSessions(options = {}) {
1510
1510
  }
1511
1511
 
1512
1512
  // src/ui/App.tsx
1513
- import { Fragment, jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
1513
+ import { jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
1514
1514
  var App = ({ onResume, projectFilter: initialProjectFilter }) => {
1515
1515
  const { exit } = useApp();
1516
1516
  const {
@@ -1805,31 +1805,9 @@ var App = ({ onResume, projectFilter: initialProjectFilter }) => {
1805
1805
  const selectedProject = currentView === "projects" ? projects[selectedIndex] || null : null;
1806
1806
  return /* @__PURE__ */ jsxs6(Box6, { flexDirection: "column", padding: 1, children: [
1807
1807
  /* @__PURE__ */ jsx6(Header, { embeddingsReady, projectFilter: selectedProjectPath }),
1808
- /* @__PURE__ */ jsxs6(Box6, { marginBottom: 0, children: [
1809
- /* @__PURE__ */ jsx6(
1810
- Text6,
1811
- {
1812
- color: currentTab === "global" ? "cyan" : void 0,
1813
- bold: currentTab === "global",
1814
- dimColor: currentTab !== "global",
1815
- children: "Global"
1816
- }
1817
- ),
1818
- /* @__PURE__ */ jsx6(Text6, { dimColor: true, children: " | " }),
1819
- /* @__PURE__ */ jsx6(
1820
- Text6,
1821
- {
1822
- color: currentTab === "projects" ? "cyan" : void 0,
1823
- bold: currentTab === "projects",
1824
- dimColor: currentTab !== "projects",
1825
- children: "Projects"
1826
- }
1827
- ),
1828
- currentView === "project-sessions" && selectedProjectPath && /* @__PURE__ */ jsxs6(Fragment, { children: [
1829
- /* @__PURE__ */ jsx6(Text6, { dimColor: true, children: " \u2192 " }),
1830
- /* @__PURE__ */ jsx6(Text6, { color: "blue", children: basename4(selectedProjectPath) })
1831
- ] }),
1832
- /* @__PURE__ */ jsx6(Text6, { dimColor: true, children: " [\u2190\u2192] switch tabs" })
1808
+ currentView === "project-sessions" && selectedProjectPath && /* @__PURE__ */ jsxs6(Box6, { marginBottom: 0, children: [
1809
+ /* @__PURE__ */ jsx6(Text6, { dimColor: true, children: "Projects \u2192 " }),
1810
+ /* @__PURE__ */ jsx6(Text6, { color: "blue", children: basename4(selectedProjectPath) })
1833
1811
  ] }),
1834
1812
  currentTab === "global" && /* @__PURE__ */ jsx6(
1835
1813
  SearchInput,
@@ -1903,7 +1881,31 @@ var App = ({ onResume, projectFilter: initialProjectFilter }) => {
1903
1881
  }
1904
1882
  ),
1905
1883
  /* @__PURE__ */ jsx6(Text6, { dimColor: true, children: " [Enter] Save [Esc] Cancel" })
1906
- ] }) : mode === "sort-project" ? /* @__PURE__ */ jsx6(Text6, { color: "cyan", children: "Sort mode: [\u2191\u2193] Move project [Enter/Esc] Done" }) : statusMessage ? /* @__PURE__ */ jsx6(Text6, { color: "green", children: statusMessage }) : currentView === "projects" ? /* @__PURE__ */ jsx6(Text6, { dimColor: true, children: "[\u2191\u2193] Navigate [Enter] Open [s] Sort [\u2190\u2192] Switch tabs [q] Quit" }) : currentView === "project-sessions" ? /* @__PURE__ */ jsx6(Text6, { dimColor: true, children: "[\u2191\u2193] Navigate [Enter] Resume [s] Star [Esc] Back [r] Rename [d] Delete [q] Quit" }) : /* @__PURE__ */ jsx6(Text6, { dimColor: true, children: "[\u2191\u2193] Navigate [Enter] Resume [s] Star [r] Rename [d] Delete [/] Search [q] Quit" }) })
1884
+ ] }) : mode === "sort-project" ? /* @__PURE__ */ jsx6(Text6, { color: "cyan", children: "Sort mode: [\u2191\u2193] Move project [Enter/Esc] Done" }) : statusMessage ? /* @__PURE__ */ jsx6(Text6, { color: "green", children: statusMessage }) : currentView === "projects" ? /* @__PURE__ */ jsx6(Text6, { dimColor: true, children: "[\u2191\u2193] Navigate [Enter] Open [s] Sort [\u2190\u2192] Switch tabs [q] Quit" }) : currentView === "project-sessions" ? /* @__PURE__ */ jsx6(Text6, { dimColor: true, children: "[\u2191\u2193] Navigate [Enter] Resume [s] Star [Esc] Back [r] Rename [d] Delete [q] Quit" }) : /* @__PURE__ */ jsx6(Text6, { dimColor: true, children: "[\u2191\u2193] Navigate [Enter] Resume [s] Star [r] Rename [d] Delete [/] Search [q] Quit" }) }),
1885
+ /* @__PURE__ */ jsxs6(Box6, { marginTop: 1, children: [
1886
+ /* @__PURE__ */ jsx6(
1887
+ Text6,
1888
+ {
1889
+ backgroundColor: currentTab === "global" ? "green" : void 0,
1890
+ color: currentTab === "global" ? "white" : void 0,
1891
+ bold: currentTab === "global",
1892
+ dimColor: currentTab !== "global",
1893
+ children: currentTab === "global" ? " Global " : "Global"
1894
+ }
1895
+ ),
1896
+ /* @__PURE__ */ jsx6(Text6, { children: " " }),
1897
+ /* @__PURE__ */ jsx6(
1898
+ Text6,
1899
+ {
1900
+ backgroundColor: currentTab === "projects" ? "magenta" : void 0,
1901
+ color: currentTab === "projects" ? "white" : void 0,
1902
+ bold: currentTab === "projects",
1903
+ dimColor: currentTab !== "projects",
1904
+ children: currentTab === "projects" ? " Projects " : "Projects"
1905
+ }
1906
+ ),
1907
+ /* @__PURE__ */ jsx6(Text6, { dimColor: true, children: " [\u2190\u2192] switch" })
1908
+ ] })
1907
1909
  ] });
1908
1910
  };
1909
1911