@menteeai/menteeswe 0.1.13 → 0.1.14

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.
Files changed (2) hide show
  1. package/dist/cli.js +10 -3
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -1192,7 +1192,7 @@ var init_loop = __esm({
1192
1192
  var version;
1193
1193
  var init_package = __esm({
1194
1194
  "package.json"() {
1195
- version = "0.1.13";
1195
+ version = "0.1.14";
1196
1196
  }
1197
1197
  });
1198
1198
 
@@ -1559,6 +1559,7 @@ function App(props) {
1559
1559
  const [thinkingText, setThinkingText] = useState3("");
1560
1560
  const [currentEdit, setCurrentEdit] = useState3(null);
1561
1561
  const [phase, setPhase] = useState3("");
1562
+ const [showEdits, setShowEdits] = useState3(true);
1562
1563
  const finalTextRef = useRef(null);
1563
1564
  const pendingTool = useRef(null);
1564
1565
  const counter = useRef(0);
@@ -1867,6 +1868,10 @@ function App(props) {
1867
1868
  setShowDetails((v) => !v);
1868
1869
  return;
1869
1870
  }
1871
+ if (key.meta && (input === "e" || input === "E")) {
1872
+ setShowEdits((v) => !v);
1873
+ return;
1874
+ }
1870
1875
  if (stateRef.current.dialog || stateRef.current.approval || stateRef.current.running) return;
1871
1876
  if (key.meta && (input === "m" || input === "M")) openModelDialog();
1872
1877
  else if (key.ctrl && input === "p") setDialog({ kind: "provider" });
@@ -1883,10 +1888,12 @@ function App(props) {
1883
1888
  modelLabel ? `:${modelLabel}` : "",
1884
1889
  " \xB7 details ",
1885
1890
  showDetails ? "open" : "collapsed",
1891
+ " \xB7 edits ",
1892
+ showEdits ? "open" : "collapsed",
1886
1893
  " \xB7 ",
1887
1894
  props.cwd
1888
1895
  ] }),
1889
- /* @__PURE__ */ jsx6(Text6, { dimColor: true, children: "Alt+M model \xB7 Ctrl+P provider \xB7 Ctrl+K key \xB7 Alt+D details \xB7 /help" })
1896
+ /* @__PURE__ */ jsx6(Text6, { dimColor: true, children: "Alt+M model \xB7 Ctrl+P provider \xB7 Ctrl+K key \xB7 Alt+D details \xB7 Alt+E edits \xB7 /help" })
1890
1897
  ] }, "header");
1891
1898
  const cols = stdout.columns || 80;
1892
1899
  const marquee = thinkingText.slice(-Math.max(1, cols - 4));
@@ -1900,7 +1907,7 @@ function App(props) {
1900
1907
  typedText,
1901
1908
  typing ? "\u258C" : ""
1902
1909
  ] }) }) : null,
1903
- /* @__PURE__ */ jsx6(CurrentEditBox, { edit: currentEdit }),
1910
+ showEdits && /* @__PURE__ */ jsx6(CurrentEditBox, { edit: currentEdit }),
1904
1911
  detailsOpen && inspectorIndex !== null && toolHistory[inspectorIndex] ? (() => {
1905
1912
  const rec = toolHistory[inspectorIndex];
1906
1913
  const outLines = rec.output.split("\n").slice(0, 24).join("\n");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@menteeai/menteeswe",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "description": "MenteE SWE — a model-agnostic autonomous software-engineering agent CLI. Bring your own intelligence: Kimi, GLM/Z.ai, and more.",
5
5
  "type": "module",
6
6
  "license": "MIT",