@pensar/apex 0.0.16 → 0.0.17

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/README.md CHANGED
@@ -1,5 +1,7 @@
1
- # Pensar Apex
1
+ <h1 align="center">Pensar Apex</h1>
2
2
 
3
+ <p align="center">
4
+ <a href="https://www.npmjs.com/package/@pensar/apex"><img src="https://img.shields.io/npm/v/@pensar/apex" alt="npm version"></a>
3
5
  <p align="center">
4
6
  <img src="screenshot.png" alt="Pensar Apex Screenshot" width="800">
5
7
  </p>
package/build/index.js CHANGED
@@ -75131,7 +75131,8 @@ function AgentDisplay({
75131
75131
  subagents,
75132
75132
  paddingLeft = 8,
75133
75133
  paddingRight = 8,
75134
- contextId = "root"
75134
+ contextId = "root",
75135
+ focused = true
75135
75136
  }) {
75136
75137
  const messagesAndSubagents = [...messages, ...subagents ?? []].sort((a, b2) => a.createdAt.getTime() - b2.createdAt.getTime());
75137
75138
  return /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("scrollbox", {
@@ -75157,7 +75158,10 @@ function AgentDisplay({
75157
75158
  },
75158
75159
  stickyScroll: true,
75159
75160
  stickyStart: "bottom",
75160
- focused: true,
75161
+ focused,
75162
+ onMouseScroll: !focused ? (event) => {
75163
+ event.stopPropagation();
75164
+ } : undefined,
75161
75165
  children: [
75162
75166
  messagesAndSubagents.map((item) => {
75163
75167
  const itemKey = getStableKey(item, contextId);
@@ -75236,7 +75240,8 @@ var SubAgentDisplay = import_react19.memo(function SubAgentDisplay2({ subagent }
75236
75240
  paddingLeft: 2,
75237
75241
  paddingRight: 2,
75238
75242
  messages: subagent.messages,
75239
- contextId: subagent.id
75243
+ contextId: subagent.id,
75244
+ focused: false
75240
75245
  }, undefined, false, undefined, this)
75241
75246
  ]
75242
75247
  }, undefined, true, undefined, this);
package/package.json CHANGED
@@ -1,10 +1,14 @@
1
1
  {
2
2
  "name": "@pensar/apex",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
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",
7
7
  "type": "module",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/pensarai/apex.git"
11
+ },
8
12
  "bin": {
9
13
  "pensar": "./bin/pensar.js"
10
14
  },