@pensar/apex 2.6.1 → 2.7.0-canary.6d9d1e0d
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/agent-davhjnxc.js +13 -0
- package/build/{agent-yby11zaq.js → agent-gk4vmr2h.js} +6 -6
- package/build/agent-mqqd38dq.js +13 -0
- package/build/{agent-runs-g37vkrjr.js → agent-runs-12pmj6vc.js} +16 -16
- package/build/{agent-ayreaj6z.js → agent-xtn1masf.js} +5 -5
- package/build/{apps-xn6km9yn.js → apps-yjyvn8vk.js} +13 -13
- package/build/{auth-d105wc64.js → auth-xzp4f1bh.js} +13 -13
- package/build/{blackboxAgent-s56sgx9b.js → blackboxAgent-ettjqj45.js} +6 -6
- package/build/{blackboxPentest-ps78v3w7.js → blackboxPentest-kf0pbhp5.js} +11 -11
- package/build/{cli-c05y640n.js → cli-0cwdrrq7.js} +1 -1
- package/build/{cli-fy6vh2a7.js → cli-0ry9v2cb.js} +1 -1
- package/build/{cli-7eea4e2y.js → cli-4mar7kvr.js} +6 -6
- package/build/{cli-k2nwxta0.js → cli-5gaxk6hd.js} +2 -2
- package/build/{cli-d37a42dc.js → cli-8hxrn15h.js} +8 -8
- package/build/{cli-az3xq70v.js → cli-arxx5hbs.js} +1 -1
- package/build/{cli-n2en7j5b.js → cli-ge8q6nxr.js} +1 -1
- package/build/{cli-1ve18npr.js → cli-gr4az5sf.js} +1 -1
- package/build/{cli-709rvekb.js → cli-h5wkaqwe.js} +1 -1
- package/build/{cli-65g6rcat.js → cli-hprqe9j2.js} +1 -1
- package/build/{cli-kb21qhvm.js → cli-m5ryqeav.js} +2 -2
- package/build/{cli-xtc2t6me.js → cli-metec8r8.js} +3 -3
- package/build/{cli-dpsw2fe6.js → cli-nj73990n.js} +353 -185
- package/build/{cli-ae8jqxqr.js → cli-pchzt5f7.js} +2 -2
- package/build/{cli-3sp6nd8d.js → cli-t3m0e9t2.js} +2 -2
- package/build/{cli-qgz1q9g5.js → cli-tfaqp0ty.js} +105 -36
- package/build/{cli-gx71jcke.js → cli-xpspbhqs.js} +1 -1
- package/build/{cli-ngq9dr8n.js → cli-zmeb85er.js} +3 -3
- package/build/cli.js +37 -37
- package/build/{config-zpqkd5cz.js → config-n03g5jad.js} +1 -1
- package/build/{fastStrike-mcjdvwez.js → fastStrike-9mys4r1b.js} +5 -5
- package/build/{fixes-kytx5dmj.js → fixes-tcd29w2t.js} +13 -13
- package/build/{index-je6hcsqr.js → index-3n19dh6s.js} +1 -1
- package/build/{index-wqetp6gq.js → index-42dnvkns.js} +5 -5
- package/build/{index-fv64eb32.js → index-6ptkm3fe.js} +2 -2
- package/build/{index-qv4cc65p.js → index-93br69mn.js} +13 -13
- package/build/{index-4vqdgb42.js → index-hh9bqe4y.js} +1236 -1195
- package/build/{index-dr3tg1w3.js → index-k1pvqjaq.js} +1 -1
- package/build/{index-r9yjkfrv.js → index-mmmx59w3.js} +4 -4
- package/build/{index-n65z6v7b.js → index-msb8ht2s.js} +6 -6
- package/build/{index-ns4m4s01.js → index-qtpprc5a.js} +4 -4
- package/build/{issues-eb3q9d3a.js → issues-d0e1tzda.js} +13 -13
- package/build/{knowledge-fqsvtx0f.js → knowledge-vgvrzey3.js} +13 -13
- package/build/lib/{chunk-1azdancq.js → chunk-0ec46jyd.js} +1 -1
- package/build/lib/{chunk-9yksqgzr.js → chunk-29bvrw6m.js} +11 -11
- package/build/lib/{chunk-z137x08b.js → chunk-3ac8kcj9.js} +5 -5
- package/build/lib/{chunk-bb0ekhkw.js → chunk-3g3ksmsv.js} +8 -8
- package/build/lib/{chunk-9tt2021m.js → chunk-45nvxhrc.js} +9 -9
- package/build/lib/{chunk-w66ce82a.js → chunk-66t5k77r.js} +1 -1
- package/build/lib/{chunk-r4j8ybn9.js → chunk-74ddy2e7.js} +37 -20
- package/build/lib/{chunk-4hwzqthr.js → chunk-851r7zp8.js} +1 -1
- package/build/lib/{chunk-1fy8azee.js → chunk-8m15nv6s.js} +1 -1
- package/build/lib/{chunk-7pwa92rn.js → chunk-9etzp9n2.js} +1 -1
- package/build/lib/{chunk-xhdpgpkm.js → chunk-acfewabw.js} +2 -2
- package/build/lib/{chunk-ba41jh41.js → chunk-bdbd8d8q.js} +297 -127
- package/build/lib/{chunk-z96pbjhd.js → chunk-c6gj39ew.js} +1 -1
- package/build/lib/{chunk-yrnrbjes.js → chunk-fytt5jz7.js} +1 -1
- package/build/lib/{chunk-3c00n0cy.js → chunk-gv1p302b.js} +3 -3
- package/build/lib/{chunk-1yct6cra.js → chunk-j1ftnbgr.js} +1 -1
- package/build/lib/{chunk-nhfax4gb.js → chunk-mepzy07f.js} +1 -1
- package/build/lib/{chunk-e8yy2k73.js → chunk-mqcwxrnh.js} +1 -1
- package/build/lib/{chunk-v3dk9j7k.js → chunk-n3kr09mb.js} +11 -11
- package/build/lib/{chunk-acgbyf5h.js → chunk-pd487tpr.js} +1 -1
- package/build/lib/{chunk-1jvwqnem.js → chunk-rchnq1ez.js} +3 -3
- package/build/lib/{chunk-2qsq76xq.js → chunk-wa0q3smh.js} +62 -10
- package/build/lib/{chunk-mg03jdmt.js → chunk-xw8d7pv7.js} +1 -1
- package/build/lib/{chunk-r2dkp4tb.js → chunk-y9m8yw7k.js} +1 -1
- package/build/lib/core/agents/offSecAgent/index.js +7 -7
- package/build/lib/core/agents/offSecAgent/subagentSpawner.js +5 -5
- package/build/lib/core/agents/offSecAgent/tools/index.js +4 -4
- package/build/lib/core/agents/offSecAgent/tools/listMemories.d.ts +11 -1
- package/build/lib/core/agents/specialized/attackSurface/blackboxAgent.js +9 -9
- package/build/lib/core/agents/specialized/attackSurface/schemas.js +9 -9
- package/build/lib/core/agents/specialized/authenticationAgent/index.js +10 -10
- package/build/lib/core/agents/specialized/codeAgent/agent.js +9 -9
- package/build/lib/core/agents/specialized/findingJudge/agent.js +8 -8
- package/build/lib/core/agents/specialized/findingJudge/index.js +3 -3
- package/build/lib/core/agents/specialized/patching/index.js +10 -10
- package/build/lib/core/agents/specialized/pentest/agent.js +9 -9
- package/build/lib/core/agents/specialized/whiteboxAttackSurface/index.js +9 -9
- package/build/lib/core/ai/ai.d.ts +23 -6
- package/build/lib/core/ai/ai.js +2 -2
- package/build/lib/core/ai/index.js +2 -2
- package/build/lib/core/ai/models/claude-capabilities.d.ts +3 -2
- package/build/lib/core/ai/models/index.d.ts +1 -1
- package/build/lib/core/ai/utils.d.ts +2 -0
- package/build/lib/core/ai/utils.js +4 -2
- package/build/lib/core/api/index.js +19 -19
- package/build/lib/core/api/targetedPentest.js +10 -10
- package/build/lib/core/config/index.js +1 -1
- package/build/lib/core/findings/registry.js +3 -3
- package/build/lib/core/session/index.js +2 -2
- package/build/lib/core/session/persistence.js +3 -3
- package/build/lib/core/workflows/pentest.js +15 -15
- package/build/lib/core/workflows/seams.js +4 -4
- package/build/lib/core/workflows/whiteboxAttackSurface.js +11 -11
- package/build/lib/index.js +22 -22
- package/build/{logs-x62b7hk1.js → logs-mvrvrkfa.js} +13 -13
- package/build/{native-rollout-evidence-c9yhfqcs.js → native-rollout-evidence-h2za8fyf.js} +3 -3
- package/build/{offesecAgent-5whnpeta.js → offesecAgent-r4hz607z.js} +4 -4
- package/build/pentest-52s2dn28.js +22 -0
- package/build/{pentests-e0f32aqx.js → pentests-yvt9wvxd.js} +13 -13
- package/build/recordedRunClient-6z78az3b.js +11 -0
- package/build/{targetedPentest-rcbs4nvp.js → targetedPentest-6aeg3nxd.js} +6 -6
- package/build/{targets-xj9g3q0z.js → targets-a38xnsgm.js} +13 -13
- package/build/threatModel-1gsb7ytk.js +21 -0
- package/build/{uninstall-7s784q4a.js → uninstall-kt485ay4.js} +1 -1
- package/build/{upload-4gvhwmvr.js → upload-ahw3are7.js} +4 -4
- package/build/{utils-cjrz64pc.js → utils-yqdepzr3.js} +3 -3
- package/package.json +1 -1
- package/src/core/agents/offSecAgent/offensiveSecurityAgent.test.ts +92 -5
- package/src/core/agents/offSecAgent/offensiveSecurityAgent.ts +49 -28
- package/src/core/agents/offSecAgent/tools/listMemories.test.ts +230 -0
- package/src/core/agents/offSecAgent/tools/listMemories.ts +73 -6
- package/src/core/ai/ai.operator-context.bench.test.ts +1408 -0
- package/src/core/ai/ai.recorded-context.test.ts +74 -0
- package/src/core/ai/ai.test.ts +54 -0
- package/src/core/ai/ai.ts +299 -80
- package/src/core/ai/compactionTelemetry.test.ts +2 -2
- package/src/core/ai/models/anthropic.ts +6 -0
- package/src/core/ai/models/bedrock.ts +18 -0
- package/src/core/ai/models/claude-capabilities.ts +29 -8
- package/src/core/ai/models/index.ts +4 -1
- package/src/core/ai/models/models.test.ts +23 -0
- package/src/core/ai/models/openrouter.ts +6 -0
- package/src/core/ai/providers/anthropic-models.test.ts +60 -1
- package/src/core/ai/providers/bedrock-models.test.ts +81 -0
- package/src/core/ai/providers/gateway-models.test.ts +16 -6
- package/src/core/ai/utils.native-rollout-evidence.test.ts +1 -0
- package/src/core/ai/utils.ts +189 -143
- package/src/core/observability/telemetry.test.ts +2 -3
- package/src/tui/components/chat/loading-indicator.tsx +20 -4
- package/src/tui/components/chat/message-list.tsx +1 -0
- package/src/tui/components/operator-dashboard/run-events.test.ts +3 -1
- package/src/tui/components/shared/__tests__/tool-renderer-lifecycle.tsx +18 -0
- package/src/tui/components/shared/action-label.test.ts +9 -0
- package/src/tui/components/shared/compacting-icon.tsx +18 -0
- package/src/tui/components/shared/index.ts +1 -0
- package/src/tui/components/shared/tool-registry.ts +1 -0
- package/src/tui/components/shared/tool-renderer.tsx +21 -7
- package/build/agent-6w7egcf1.js +0 -13
- package/build/agent-9zx75feh.js +0 -13
- package/build/pentest-e61hc38s.js +0 -22
- package/build/recordedRunClient-dp032c32.js +0 -11
- package/build/threatModel-jkxfa40s.js +0 -21
|
@@ -10,6 +10,7 @@ import { useObfuscation } from "../../context/obfuscation";
|
|
|
10
10
|
import { useTheme } from "../../theme";
|
|
11
11
|
import type { DisplayMessage } from "../agent-display";
|
|
12
12
|
import { ShiningText } from "../loaders";
|
|
13
|
+
import { CompactingIcon } from "./compacting-icon";
|
|
13
14
|
import { PentestWorkflowDisplay } from "./pentest-workflow-display";
|
|
14
15
|
import { getResultSummary, type ResultSummary } from "./result-registry";
|
|
15
16
|
import { getToolDisplayLabel } from "./tool-registry";
|
|
@@ -74,10 +75,14 @@ export const ToolRenderer = memo(function ToolRenderer({
|
|
|
74
75
|
const isError = message.status === "error";
|
|
75
76
|
const { toolName, result, logs } = message;
|
|
76
77
|
const args = message.args ?? {};
|
|
78
|
+
const isCompacting = toolName === "summarize_conversation";
|
|
77
79
|
|
|
78
|
-
const summary =
|
|
79
|
-
|
|
80
|
-
|
|
80
|
+
const summary =
|
|
81
|
+
isCompacting && isCompleted
|
|
82
|
+
? "Context compacted"
|
|
83
|
+
: getToolDisplayLabel(toolName, args, {
|
|
84
|
+
preferDescription: isPending,
|
|
85
|
+
});
|
|
81
86
|
|
|
82
87
|
// For execute_command, extract both description and command so we can show
|
|
83
88
|
// both. Strings flow into `<text>` children, so the centralised
|
|
@@ -101,9 +106,11 @@ export const ToolRenderer = memo(function ToolRenderer({
|
|
|
101
106
|
|
|
102
107
|
// Get result summary for completed tools
|
|
103
108
|
const resultDisplay: ResultSummary | null =
|
|
104
|
-
isCompleted
|
|
105
|
-
?
|
|
106
|
-
:
|
|
109
|
+
isCompleted && isCompacting
|
|
110
|
+
? null
|
|
111
|
+
: isCompleted || isError
|
|
112
|
+
? getResultSummary(result, toolName, args, colors)
|
|
113
|
+
: null;
|
|
107
114
|
|
|
108
115
|
// Determine border color based on status
|
|
109
116
|
const borderColor = isError
|
|
@@ -121,7 +128,14 @@ export const ToolRenderer = memo(function ToolRenderer({
|
|
|
121
128
|
{/* Tool header line */}
|
|
122
129
|
<box flexDirection="row" gap={1}>
|
|
123
130
|
{isPending ? (
|
|
124
|
-
|
|
131
|
+
isCompacting ? (
|
|
132
|
+
<>
|
|
133
|
+
<CompactingIcon fg={colors.primary} />
|
|
134
|
+
<text fg={colors.info}>{summary}</text>
|
|
135
|
+
</>
|
|
136
|
+
) : (
|
|
137
|
+
<ShiningText text={summary} fg={colors.warning} />
|
|
138
|
+
)
|
|
125
139
|
) : (
|
|
126
140
|
<>
|
|
127
141
|
<text fg={isError ? colors.error : colors.success}>
|
package/build/agent-6w7egcf1.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
runAuthenticationAgent2
|
|
3
|
-
} from "./cli-3sp6nd8d.js";
|
|
4
|
-
import"./cli-1ve18npr.js";
|
|
5
|
-
import"./cli-qba2x69h.js";
|
|
6
|
-
import"./cli-qgz1q9g5.js";
|
|
7
|
-
import"./cli-dpsw2fe6.js";
|
|
8
|
-
import"./cli-c05y640n.js";
|
|
9
|
-
import"./cli-c2k4xxaw.js";
|
|
10
|
-
import"./cli-fy6vh2a7.js";
|
|
11
|
-
export {
|
|
12
|
-
runAuthenticationAgent2 as runAuthenticationAgent
|
|
13
|
-
};
|
package/build/agent-9zx75feh.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
CodeAgent2
|
|
3
|
-
} from "./cli-kb21qhvm.js";
|
|
4
|
-
import"./cli-1ve18npr.js";
|
|
5
|
-
import"./cli-qba2x69h.js";
|
|
6
|
-
import"./cli-qgz1q9g5.js";
|
|
7
|
-
import"./cli-dpsw2fe6.js";
|
|
8
|
-
import"./cli-c05y640n.js";
|
|
9
|
-
import"./cli-c2k4xxaw.js";
|
|
10
|
-
import"./cli-fy6vh2a7.js";
|
|
11
|
-
export {
|
|
12
|
-
CodeAgent2 as CodeAgent
|
|
13
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DEFAULT_CONCURRENCY2,
|
|
3
|
-
runPentestSwarm2,
|
|
4
|
-
runPentestWorkflow2
|
|
5
|
-
} from "./cli-d37a42dc.js";
|
|
6
|
-
import"./cli-n2en7j5b.js";
|
|
7
|
-
import"./cli-ngq9dr8n.js";
|
|
8
|
-
import"./cli-k2nwxta0.js";
|
|
9
|
-
import"./cli-xtc2t6me.js";
|
|
10
|
-
import"./cli-kb21qhvm.js";
|
|
11
|
-
import"./cli-1ve18npr.js";
|
|
12
|
-
import"./cli-qba2x69h.js";
|
|
13
|
-
import"./cli-qgz1q9g5.js";
|
|
14
|
-
import"./cli-dpsw2fe6.js";
|
|
15
|
-
import"./cli-c05y640n.js";
|
|
16
|
-
import"./cli-c2k4xxaw.js";
|
|
17
|
-
import"./cli-fy6vh2a7.js";
|
|
18
|
-
export {
|
|
19
|
-
DEFAULT_CONCURRENCY2 as DEFAULT_CONCURRENCY,
|
|
20
|
-
runPentestSwarm2 as runPentestSwarm,
|
|
21
|
-
runPentestWorkflow2 as runPentestWorkflow
|
|
22
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
openRecordedRunClient2
|
|
3
|
-
} from "./cli-ae8jqxqr.js";
|
|
4
|
-
import"./cli-gx71jcke.js";
|
|
5
|
-
import"./cli-dpsw2fe6.js";
|
|
6
|
-
import"./cli-c05y640n.js";
|
|
7
|
-
import"./cli-c2k4xxaw.js";
|
|
8
|
-
import"./cli-fy6vh2a7.js";
|
|
9
|
-
export {
|
|
10
|
-
openRecordedRunClient2 as openRecordedRunClient
|
|
11
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import"./cli-qgz1q9g5.js";
|
|
2
|
-
import"./cli-fy6vh2a7.js";
|
|
3
|
-
import"./cli-c05y640n.js";
|
|
4
|
-
import {
|
|
5
|
-
runThreatModelWorkflow2
|
|
6
|
-
} from "./cli-7eea4e2y.js";
|
|
7
|
-
import"./cli-k2nwxta0.js";
|
|
8
|
-
import"./cli-kb21qhvm.js";
|
|
9
|
-
import"./cli-ngq9dr8n.js";
|
|
10
|
-
import"./cli-d37a42dc.js";
|
|
11
|
-
import"./cli-3sp6nd8d.js";
|
|
12
|
-
import"./cli-xtc2t6me.js";
|
|
13
|
-
import"./cli-n2en7j5b.js";
|
|
14
|
-
import"./cli-xcy2vxj2.js";
|
|
15
|
-
import"./cli-1ve18npr.js";
|
|
16
|
-
import"./cli-qba2x69h.js";
|
|
17
|
-
import"./cli-dpsw2fe6.js";
|
|
18
|
-
import"./cli-c2k4xxaw.js";
|
|
19
|
-
export {
|
|
20
|
-
runThreatModelWorkflow2 as runThreatModelWorkflow
|
|
21
|
-
};
|