@pensar/apex 0.0.110-canary.a34d3e3d → 0.0.110

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.
package/build/auth.js CHANGED
@@ -8,7 +8,7 @@ import fs from "fs/promises";
8
8
  // package.json
9
9
  var package_default = {
10
10
  name: "@pensar/apex",
11
- version: "0.0.110-canary.a34d3e3d",
11
+ version: "0.0.110",
12
12
  description: "AI-powered penetration testing CLI tool with terminal UI",
13
13
  module: "src/tui/index.tsx",
14
14
  main: "build/index.js",
package/build/index.js CHANGED
@@ -31971,7 +31971,7 @@ var package_default2;
31971
31971
  var init_package = __esm(() => {
31972
31972
  package_default2 = {
31973
31973
  name: "@pensar/apex",
31974
- version: "0.0.110-canary.a34d3e3d",
31974
+ version: "0.0.110",
31975
31975
  description: "AI-powered penetration testing CLI tool with terminal UI",
31976
31976
  module: "src/tui/index.tsx",
31977
31977
  main: "build/index.js",
@@ -273794,9 +273794,7 @@ function Footer({
273794
273794
  const { colors: colors2 } = useTheme();
273795
273795
  const { model, isExecuting, sessionCwd } = useAgent();
273796
273796
  const effectiveCwd = sessionCwd || cwd;
273797
- const relativeCwd = effectiveCwd.split(os6.homedir()).pop() || "";
273798
- const segments = relativeCwd.split("/").filter(Boolean);
273799
- const displayCwd = segments.length <= 2 ? "~/" + segments.join("/") : "…/" + segments.slice(-2).join("/");
273797
+ const displayCwd = "~" + effectiveCwd.split(os6.homedir()).pop() || "";
273800
273798
  const session = useSession();
273801
273799
  const route = useRoute();
273802
273800
  const { isInputEmpty } = useInput();
@@ -273809,15 +273807,11 @@ function Footer({
273809
273807
  justifyContent: "space-between",
273810
273808
  width: "100%",
273811
273809
  maxWidth: "100%",
273812
- height: 1,
273813
273810
  flexShrink: 0,
273814
- overflow: "hidden",
273815
273811
  children: [
273816
273812
  /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
273817
273813
  flexDirection: "row",
273818
273814
  gap: 1,
273819
- flexShrink: 1,
273820
- overflow: "hidden",
273821
273815
  children: [
273822
273816
  /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
273823
273817
  fg: colors2.textMuted,
@@ -273850,7 +273844,6 @@ function Footer({
273850
273844
  showExitWarning ? /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
273851
273845
  flexDirection: "row",
273852
273846
  gap: 1,
273853
- flexShrink: 0,
273854
273847
  children: /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
273855
273848
  fg: colors2.warning,
273856
273849
  children: "⚠ Press Ctrl+C again to exit"
@@ -273858,7 +273851,6 @@ function Footer({
273858
273851
  }, undefined, false, undefined, this) : /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
273859
273852
  flexDirection: "row",
273860
273853
  gap: 2,
273861
- flexShrink: 0,
273862
273854
  children: hotkeys.map((hotkey, index) => /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
273863
273855
  flexDirection: "row",
273864
273856
  gap: 1,
@@ -286773,23 +286765,7 @@ function MessageList({
286773
286765
  }, undefined, false, undefined, this),
286774
286766
  /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
286775
286767
  fg: colors2.textMuted,
286776
- children: [
286777
- " ",
286778
- "- Switch between Plan or Default mode"
286779
- ]
286780
- }, undefined, true, undefined, this)
286781
- ]
286782
- }, undefined, true, undefined, this),
286783
- /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
286784
- flexDirection: "row",
286785
- children: [
286786
- /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
286787
- fg: colors2.primary,
286788
- children: "Option+Shift+Tab"
286789
- }, undefined, false, undefined, this),
286790
- /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
286791
- fg: colors2.textMuted,
286792
- children: " - Toggle approval on/off"
286768
+ children: " - Switch between Plan or Default mode"
286793
286769
  }, undefined, false, undefined, this)
286794
286770
  ]
286795
286771
  }, undefined, true, undefined, this)
@@ -286896,6 +286872,8 @@ function NormalInputAreaInner({
286896
286872
  status,
286897
286873
  mode = "operator",
286898
286874
  operatorMode,
286875
+ verboseMode = false,
286876
+ expandedLogs = false,
286899
286877
  enableAutocomplete = false,
286900
286878
  autocompleteOptions = [],
286901
286879
  enableCommands = false,
@@ -286974,25 +286952,30 @@ function NormalInputAreaInner({
286974
286952
  gap: 2,
286975
286953
  marginTop: 1,
286976
286954
  backgroundColor: "transparent",
286977
- alignItems: "center",
286978
- overflow: "hidden",
286979
286955
  children: [
286980
- /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
286981
- fg: "#000000",
286982
- bg: operatorMode === "plan" ? colors2.warning : colors2.success,
286983
- children: ` ${operatorMode === "plan" ? "PLAN" : "DEFAULT"} `
286956
+ operatorMode === "plan" && /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
286957
+ fg: colors2.warning,
286958
+ children: "PLAN"
286959
+ }, undefined, false, undefined, this),
286960
+ operatorMode === "auto" && /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
286961
+ fg: colors2.primary,
286962
+ children: "AUTO"
286963
+ }, undefined, false, undefined, this),
286964
+ operatorMode === "manual" && /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
286965
+ fg: colors2.textMuted,
286966
+ children: "MANUAL"
286984
286967
  }, undefined, false, undefined, this),
286985
286968
  /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
286986
286969
  fg: colors2.textMuted,
286987
286970
  children: "/ commands"
286988
286971
  }, undefined, false, undefined, this),
286989
286972
  /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
286990
- fg: colors2.textMuted,
286991
- children: "⇧Tab mode"
286973
+ fg: verboseMode ? colors2.primary : colors2.textMuted,
286974
+ children: verboseMode ? "verbose:on" : "verbose"
286992
286975
  }, undefined, false, undefined, this),
286993
286976
  /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
286994
- fg: colors2.textMuted,
286995
- children: "⌥⇧Tab approval"
286977
+ fg: expandedLogs ? colors2.primary : colors2.textMuted,
286978
+ children: expandedLogs ? "logs:full" : "logs"
286996
286979
  }, undefined, false, undefined, this),
286997
286980
  /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
286998
286981
  fg: colors2.textMuted,
@@ -288442,7 +288425,7 @@ function OperatorDashboard({
288442
288425
  children: agentMode === "plan" ? "PLAN" : "DEFAULT"
288443
288426
  }, undefined, false, undefined, this),
288444
288427
  /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
288445
- fg: operatorState.requireApproval ? colors2.success : colors2.warning,
288428
+ fg: operatorState.requireApproval ? colors2.warning : colors2.primary,
288446
288429
  children: operatorState.requireApproval ? "APPROVAL ON" : "APPROVAL OFF"
288447
288430
  }, undefined, false, undefined, this),
288448
288431
  /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
@@ -288484,7 +288467,9 @@ function OperatorDashboard({
288484
288467
  focused: status === "running" ? selectedQueueIndex < 0 : resolveInputFocused(status, stack.length, externalDialogOpen),
288485
288468
  status: status === "waiting" ? "running" : status,
288486
288469
  mode: "operator",
288487
- operatorMode: agentMode,
288470
+ operatorMode: agentMode === "plan" ? "plan" : operatorState.mode,
288471
+ verboseMode,
288472
+ expandedLogs,
288488
288473
  pendingApproval: currentPending,
288489
288474
  onApprove: handleApprove,
288490
288475
  onAutoApprove: handleAutoApprove,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pensar/apex",
3
- "version": "0.0.110-canary.a34d3e3d",
3
+ "version": "0.0.110",
4
4
  "description": "AI-powered penetration testing CLI tool with terminal UI",
5
5
  "module": "src/tui/index.tsx",
6
6
  "main": "build/index.js",