@supatest/cli 0.0.35 → 0.0.36

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/index.js +27 -11
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -610,14 +610,30 @@ function getToolDisplayName(toolName) {
610
610
  }
611
611
  function getToolCategory(toolName) {
612
612
  const name = toolName.toLowerCase();
613
- if (name.includes("read")) return "Read";
614
- if (name.includes("write")) return "Write";
615
- if (name.includes("edit")) return "Edit";
616
- if (name.includes("bash") || name.includes("command")) return "Bash";
617
- if (name.includes("glob")) return "Glob";
618
- if (name.includes("grep")) return "Grep";
619
- if (name.includes("task")) return "Task";
620
- if (name.includes("todo")) return "Todo";
613
+ if (name.includes("read")) {
614
+ return "Read";
615
+ }
616
+ if (name.includes("write")) {
617
+ return "Write";
618
+ }
619
+ if (name.includes("edit")) {
620
+ return "Edit";
621
+ }
622
+ if (name.includes("bash") || name.includes("command")) {
623
+ return "Command";
624
+ }
625
+ if (name.includes("glob")) {
626
+ return "Glob";
627
+ }
628
+ if (name.includes("grep")) {
629
+ return "Grep";
630
+ }
631
+ if (name.includes("task")) {
632
+ return "Task";
633
+ }
634
+ if (name.includes("todo")) {
635
+ return "Todo";
636
+ }
621
637
  return getToolDisplayName(toolName);
622
638
  }
623
639
  function getToolGroupCounts(tools) {
@@ -5368,7 +5384,7 @@ var CLI_VERSION;
5368
5384
  var init_version = __esm({
5369
5385
  "src/version.ts"() {
5370
5386
  "use strict";
5371
- CLI_VERSION = "0.0.35";
5387
+ CLI_VERSION = "0.0.36";
5372
5388
  }
5373
5389
  });
5374
5390
 
@@ -8259,7 +8275,7 @@ var init_MessageList = __esm({
8259
8275
  return { ...group.messages[0], _isMessage: true };
8260
8276
  })
8261
8277
  ], [completedGroups]);
8262
- return /* @__PURE__ */ React13.createElement(Box12, { flexDirection: "column" }, /* @__PURE__ */ React13.createElement(Static, { items: staticItems, key: staticRemountKey }, (item) => {
8278
+ return /* @__PURE__ */ React13.createElement(Box12, { flexDirection: "column" }, /* @__PURE__ */ React13.createElement(Static, { items: staticItems, key: `${staticRemountKey}-${toolGroupsExpanded ? "expanded" : "collapsed"}` }, (item) => {
8263
8279
  if (item.type === "header") {
8264
8280
  return /* @__PURE__ */ React13.createElement(Box12, { flexDirection: "column", key: "header" }, /* @__PURE__ */ React13.createElement(Header, { currentFolder, gitBranch, headless }));
8265
8281
  }
@@ -8281,7 +8297,7 @@ var init_MessageList = __esm({
8281
8297
  return null;
8282
8298
  }
8283
8299
  return /* @__PURE__ */ React13.createElement(Box12, { flexDirection: "column", key: group.type === "group" ? `current-group-${idx}` : group.messages[0].id, width: "100%" }, content);
8284
- }), /* @__PURE__ */ React13.createElement(QueuedMessageDisplay, { messageQueue: queuedTasks }), isAgentRunning && !hasPendingAssistant && /* @__PURE__ */ React13.createElement(LoadingMessage, { headless, key: "loading" }));
8300
+ }), /* @__PURE__ */ React13.createElement(QueuedMessageDisplay, { messageQueue: queuedTasks }), isAgentRunning && !hasPendingAssistant && /* @__PURE__ */ React13.createElement(LoadingMessage, { headless, key: "loading" }), /* @__PURE__ */ React13.createElement(Box12, { height: 1 }));
8285
8301
  };
8286
8302
  }
8287
8303
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supatest/cli",
3
- "version": "0.0.35",
3
+ "version": "0.0.36",
4
4
  "description": "Supatest CLI - AI-powered task automation for CI/CD",
5
5
  "type": "module",
6
6
  "bin": {