@pensar/apex 2.7.0-canary.ac0a9415 → 2.7.0-canary.e18bef4d
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-ks4dc1q5.js +14 -0
- package/build/{agent-d049cd1j.js → agent-pdaya70z.js} +6 -6
- package/build/agent-q6ckrtd2.js +14 -0
- package/build/{agent-runs-ppg5qd9x.js → agent-runs-f0fpf651.js} +21 -20
- package/build/{agent-gmvjvv73.js → agent-y7w88qe9.js} +7 -7
- package/build/{apps-1aqtk8md.js → apps-6hstfsy5.js} +16 -15
- package/build/{auth-dj0h7wrp.js → auth-sdg0sqa0.js} +16 -15
- package/build/blackboxAgent-pe5y5hxr.js +14 -0
- package/build/{blackboxPentest-2vseya2d.js → blackboxPentest-1850fx09.js} +15 -15
- package/build/{cli-be94d6vz.js → cli-1h046yxp.js} +1 -1
- package/build/{cli-865ax921.js → cli-1qyejhv5.js} +5 -5
- package/build/{cli-jbcpfw5s.js → cli-4h9d98y6.js} +4 -4
- package/build/{cli-93p9edgd.js → cli-67d2744b.js} +2 -2
- package/build/{cli-46vcb9b8.js → cli-739g9qgd.js} +40918 -40519
- package/build/{cli-z4zhpya3.js → cli-7xf5h4pb.js} +25 -39
- package/build/{cli-be6rpy4n.js → cli-9dka0an3.js} +2 -2
- package/build/{cli-dsjybzds.js → cli-c29xr0h0.js} +8 -3
- package/build/{cli-36ydz906.js → cli-fnth71q3.js} +2 -2
- package/build/{cli-153dfpyr.js → cli-gt29d4q6.js} +35 -14
- package/build/{cli-cqjrngg1.js → cli-gy5stwkg.js} +1 -1
- package/build/{cli-jj10a9gh.js → cli-k46jmzbs.js} +2 -1
- package/build/{cli-jvdc93sx.js → cli-qmt07txj.js} +6 -6
- package/build/{cli-66sfrenk.js → cli-qp8413xr.js} +20 -19
- package/build/{cli-rpsbx8gr.js → cli-rv2d03xr.js} +1 -1
- package/build/{cli-1jd9ydse.js → cli-ssstde7z.js} +1 -1
- package/build/cli-tmr100n4.js +36 -0
- package/build/{cli-4rcm7hve.js → cli-vfkmdrkb.js} +6 -3
- package/build/{cli-a2pxz9jh.js → cli-y1z3vemx.js} +1 -1
- package/build/{cli-dnc52s6m.js → cli-z85qmtjd.js} +48 -42
- package/build/{cli-4vhqy3jy.js → cli-zs7rp1f6.js} +3 -3
- package/build/cli.js +108 -47
- package/build/{config-ceaaspfs.js → config-kgz8rzkt.js} +1 -1
- package/build/{fastStrike-yjxfpzqh.js → fastStrike-65d7njyn.js} +10 -7
- package/build/{fixes-rjsrnskv.js → fixes-xmq89hve.js} +16 -15
- package/build/{index-jg0dagyr.js → index-1z234ygf.js} +7 -7
- package/build/{index-yeds9kt9.js → index-27xpg3k0.js} +157 -185
- package/build/{index-m1gk7dfw.js → index-cxa5jxva.js} +5 -5
- package/build/{index-dx7s2krd.js → index-hx133hms.js} +8 -7
- package/build/{index-gfn3w4sr.js → index-js3zc3cb.js} +2 -2
- package/build/{index-8sm0xn4j.js → index-m6graaat.js} +16 -15
- package/build/{index-9yjaxema.js → index-pvm55x85.js} +1 -1
- package/build/{index-e74hqsdk.js → index-t0p01qg4.js} +28 -6
- package/build/{index-ez61bt8z.js → index-wh328kzg.js} +1 -1
- package/build/{issues-n579mwj1.js → issues-rscc7pny.js} +16 -15
- package/build/{knowledge-p1axk6hj.js → knowledge-5vd451za.js} +16 -15
- package/build/{lance-3jh7nx7s.js → lance-s26xde23.js} +9 -8
- package/build/lib/{chunk-vphyxc04.js → chunk-12qns4xq.js} +1 -1
- package/build/lib/{chunk-z0fjbn1g.js → chunk-1gb8gefz.js} +18 -28
- package/build/lib/{chunk-jcwnfy61.js → chunk-2q39y7g0.js} +1 -1
- package/build/lib/{chunk-kc7cycqk.js → chunk-2yv9vekb.js} +1 -1
- package/build/lib/{chunk-nahyza5p.js → chunk-3mgmff3q.js} +17 -7
- package/build/lib/{chunk-87086sw5.js → chunk-4x6t39xs.js} +16 -6
- package/build/lib/{chunk-v1q7kddr.js → chunk-5gk78665.js} +1 -1
- package/build/lib/{chunk-j6fh903j.js → chunk-5wqbq9hw.js} +1 -1
- package/build/lib/{chunk-kbkpesp9.js → chunk-66hd85x8.js} +5 -1
- package/build/lib/{chunk-k87x4eey.js → chunk-6j0mc5qw.js} +7 -3
- package/build/lib/{chunk-v2maz4g3.js → chunk-6q0xnkda.js} +12 -30
- package/build/lib/{chunk-jjbhxz68.js → chunk-7jfqqwyq.js} +3 -3
- package/build/lib/{chunk-deqmazx3.js → chunk-a3edjxz9.js} +24 -12
- package/build/lib/{chunk-ds1pvtsd.js → chunk-cmb702kp.js} +2 -1
- package/build/lib/{chunk-bx7zx8h4.js → chunk-h9h4t4gc.js} +13 -10
- package/build/lib/{chunk-2njv7wz3.js → chunk-hbyxyxdc.js} +4 -0
- package/build/lib/{chunk-e5455ewa.js → chunk-j0qn7hzk.js} +46 -2
- package/build/lib/{chunk-8b4hhfga.js → chunk-j84kpwgp.js} +2 -2
- package/build/lib/{chunk-4x7zg5s8.js → chunk-jjqcnbz9.js} +10 -10
- package/build/lib/{chunk-4r48bhwh.js → chunk-kcq1qb6n.js} +1 -1
- package/build/lib/{chunk-esngr9ry.js → chunk-mdfneahm.js} +19 -12
- package/build/lib/{chunk-xvkqvrbs.js → chunk-nctbsa6r.js} +1 -1
- package/build/lib/{chunk-03919ezr.js → chunk-pzv4df99.js} +1 -1
- package/build/lib/{chunk-4wvhkr4q.js → chunk-rsv4feh8.js} +1 -1
- package/build/lib/{chunk-ge5k2t96.js → chunk-wtz8qt8q.js} +648 -216
- package/build/lib/core/agents/offSecAgent/index.js +8 -8
- package/build/lib/core/agents/offSecAgent/subagentSpawner.d.ts +3 -1
- package/build/lib/core/agents/offSecAgent/subagentSpawner.js +6 -6
- package/build/lib/core/agents/offSecAgent/tools/index.js +7 -7
- package/build/lib/core/agents/offSecAgent/tools/types.d.ts +2 -1
- package/build/lib/core/agents/offSecAgent/types.d.ts +3 -1
- package/build/lib/core/agents/specialized/attackSurface/blackboxAgent.js +10 -10
- package/build/lib/core/agents/specialized/attackSurface/schemas.js +10 -10
- package/build/lib/core/agents/specialized/authenticationAgent/index.js +11 -11
- package/build/lib/core/agents/specialized/codeAgent/agent.js +10 -10
- package/build/lib/core/agents/specialized/cvssScorer/index.d.ts +2 -1
- package/build/lib/core/agents/specialized/findingJudge/agent.js +9 -9
- package/build/lib/core/agents/specialized/findingJudge/index.d.ts +1 -1
- package/build/lib/core/agents/specialized/findingJudge/index.js +4 -4
- package/build/lib/core/agents/specialized/patching/index.js +11 -11
- package/build/lib/core/agents/specialized/pentest/agent.js +10 -10
- package/build/lib/core/agents/specialized/whiteboxAttackSurface/endpointDocumentationAgent.d.ts +2 -1
- package/build/lib/core/agents/specialized/whiteboxAttackSurface/index.js +10 -10
- package/build/lib/core/ai/ai.d.ts +9 -75
- package/build/lib/core/ai/ai.js +5 -3
- package/build/lib/core/ai/index.d.ts +1 -0
- package/build/lib/core/ai/index.js +16 -4
- package/build/lib/core/ai/reasoning.d.ts +44 -0
- package/build/lib/core/ai/utils.js +3 -3
- package/build/lib/core/api/index.js +20 -20
- package/build/lib/core/api/reasoning.d.ts +12 -0
- package/build/lib/core/api/targetedPentest.js +11 -11
- package/build/lib/core/cli/reasoning.d.ts +4 -0
- package/build/lib/core/config/config.d.ts +5 -2
- package/build/lib/core/config/customProviders.d.ts +11 -0
- package/build/lib/core/config/index.js +1 -1
- package/build/lib/core/findings/registry.d.ts +3 -1
- package/build/lib/core/findings/registry.js +4 -4
- package/build/lib/core/observability/index.js +1 -1
- package/build/lib/core/observability/telemetry.d.ts +4 -0
- package/build/lib/core/session/index.d.ts +32 -0
- package/build/lib/core/session/index.js +6 -4
- package/build/lib/core/session/persistence.js +4 -4
- package/build/lib/core/workflows/pentest.d.ts +4 -1
- package/build/lib/core/workflows/pentest.js +16 -16
- package/build/lib/core/workflows/seams.js +5 -5
- package/build/lib/core/workflows/threatModel.d.ts +1 -0
- package/build/lib/core/workflows/whiteboxAttackSurface.d.ts +6 -4
- package/build/lib/core/workflows/whiteboxAttackSurface.js +12 -12
- package/build/lib/index.js +23 -23
- package/build/{logs-y3khdc1n.js → logs-tax0j5es.js} +16 -15
- package/build/{native-rollout-evidence-k5whdh7f.js → native-rollout-evidence-0820cgjt.js} +5 -5
- package/build/{offesecAgent-rz5nyebg.js → offesecAgent-78zt4ce1.js} +12 -7
- package/build/pentest-0s9rgnvr.js +23 -0
- package/build/{pentests-c0q1gr96.js → pentests-f1kh0619.js} +16 -15
- package/build/recordedRunClient-jv7ew35v.js +11 -0
- package/build/{subagentSpawner-aps2msrw.js → subagentSpawner-xzyhb9e5.js} +4 -4
- package/build/{targetedPentest-fyxrynh4.js → targetedPentest-p94z9n61.js} +35 -9
- package/build/{targets-brxtjz0r.js → targets-f149r24n.js} +16 -15
- package/build/threatModel-ktqchbn1.js +24 -0
- package/build/{uninstall-ddk3yk69.js → uninstall-7kxqrs32.js} +1 -1
- package/build/{upload-5gkh0rq7.js → upload-03e2pj1m.js} +4 -4
- package/build/{utils-qam9gqrq.js → utils-ec43nwzn.js} +5 -5
- package/package.json +2 -1
- package/src/cli.ts +25 -3
- package/src/core/agents/lance.ts +9 -3
- package/src/core/agents/lanceJudge.ts +1 -0
- package/src/core/agents/offSecAgent/offensiveSecurityAgent.ts +12 -1
- package/src/core/agents/offSecAgent/subagentSpawner.reasoning.test.ts +167 -0
- package/src/core/agents/offSecAgent/subagentSpawner.ts +11 -27
- package/src/core/agents/offSecAgent/tools/delegateAuth.ts +2 -2
- package/src/core/agents/offSecAgent/tools/documentFinding.ts +3 -5
- package/src/core/agents/offSecAgent/tools/runAttackSurface.ts +3 -4
- package/src/core/agents/offSecAgent/tools/runPentestWorkflow.ts +1 -0
- package/src/core/agents/offSecAgent/tools/spawnCodingAgent.ts +2 -5
- package/src/core/agents/offSecAgent/tools/spawnPentestAgent.test.ts +7 -1
- package/src/core/agents/offSecAgent/tools/spawnPentestAgent.ts +3 -5
- package/src/core/agents/offSecAgent/tools/spawnPentestSwarm.ts +2 -0
- package/src/core/agents/offSecAgent/tools/threatModelGenerator.ts +2 -3
- package/src/core/agents/offSecAgent/tools/types.ts +2 -0
- package/src/core/agents/offSecAgent/types.ts +3 -0
- package/src/core/agents/specialized/cvssScorer/index.test.ts +2 -1
- package/src/core/agents/specialized/cvssScorer/index.ts +3 -0
- package/src/core/agents/specialized/findingJudge/index.ts +2 -0
- package/src/core/agents/specialized/whiteboxAttackSurface/endpointDocumentationAgent.ts +4 -0
- package/src/core/ai/ai.lance.test.ts +54 -32
- package/src/core/ai/ai.operator-context.bench.test.ts +159 -177
- package/src/core/ai/ai.recorded-context.test.ts +15 -8
- package/src/core/ai/ai.test.ts +37 -69
- package/src/core/ai/ai.ts +82 -297
- package/src/core/ai/compactionTelemetry.test.ts +67 -15
- package/src/core/ai/index.ts +11 -0
- package/src/core/ai/models/models.test.ts +25 -7
- package/src/core/ai/models/openrouter-reasoning.json +219 -0
- package/src/core/ai/providers/custom.test.ts +74 -0
- package/src/core/ai/providers/custom.ts +3 -1
- package/src/core/ai/providers/pensarFormatters.ts +8 -1
- package/src/core/ai/reasoning.test.ts +313 -0
- package/src/core/ai/reasoning.ts +500 -0
- package/src/core/ai/utils.native-rollout-evidence.test.ts +20 -8
- package/src/core/ai/utils.ts +45 -8
- package/src/core/api/attackSurface.ts +1 -0
- package/src/core/api/offesecAgent.test.ts +51 -0
- package/src/core/api/offesecAgent.ts +7 -0
- package/src/core/api/reasoning.test.ts +213 -0
- package/src/core/api/reasoning.ts +44 -0
- package/src/core/api/recordedRun.loop.test.ts +5 -1
- package/src/core/api/targetedPentest.test.ts +14 -2
- package/src/core/api/targetedPentest.ts +33 -0
- package/src/core/cli/reasoning.test.ts +149 -0
- package/src/core/cli/reasoning.ts +95 -0
- package/src/core/config/config.ts +3 -0
- package/src/core/config/customProviders.ts +21 -2
- package/src/core/findings/registry.test.ts +9 -1
- package/src/core/findings/registry.ts +6 -0
- package/src/core/observability/telemetry.test.ts +129 -76
- package/src/core/observability/telemetry.ts +5 -0
- package/src/core/session/index.ts +29 -0
- package/src/core/workflows/fastStrike.ts +3 -0
- package/src/core/workflows/pentest.ts +18 -0
- package/src/core/workflows/threatModel.ts +2 -0
- package/src/core/workflows/whiteboxAttackSurface.test.ts +40 -0
- package/src/core/workflows/whiteboxAttackSurface.ts +19 -4
- package/src/tui/command-registry.test.ts +12 -0
- package/src/tui/command-registry.ts +8 -0
- package/src/tui/components/chat/config-view.tsx +6 -10
- package/src/tui/components/chat/home-view.tsx +2 -2
- package/src/tui/components/chat/input-area.tsx +2 -2
- package/src/tui/components/commands/models-display.tsx +7 -1
- package/src/tui/components/model-picker/ModelPicker.tsx +65 -103
- package/src/tui/components/model-picker/ModelPickerDialog.tsx +8 -14
- package/src/tui/components/model-picker/__tests__/reasoning-control.tsx +162 -0
- package/src/tui/components/model-picker/reasoning-control.test.ts +15 -0
- package/src/tui/components/operator-dashboard/index.tsx +31 -10
- package/src/tui/components/operator-dashboard/logic.test.ts +15 -2
- package/src/tui/components/operator-dashboard/logic.ts +6 -1
- package/src/tui/context/agent.tsx +32 -79
- package/build/agent-10mq5k9j.js +0 -14
- package/build/agent-30gf97eh.js +0 -14
- package/build/blackboxAgent-pjnkpcw1.js +0 -14
- package/build/cli-g06s7edq.js +0 -11
- package/build/pentest-cwg44v4p.js +0 -23
- package/build/recordedRunClient-pbaczqb6.js +0 -11
- package/build/threatModel-18417p77.js +0 -23
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CodeAgent2
|
|
3
|
+
} from "./cli-9dka0an3.js";
|
|
4
|
+
import"./cli-gy5stwkg.js";
|
|
5
|
+
import"./cli-qba2x69h.js";
|
|
6
|
+
import"./cli-z85qmtjd.js";
|
|
7
|
+
import"./cli-7xf5h4pb.js";
|
|
8
|
+
import"./cli-739g9qgd.js";
|
|
9
|
+
import"./cli-1h046yxp.js";
|
|
10
|
+
import"./cli-c2k4xxaw.js";
|
|
11
|
+
import"./cli-rv2d03xr.js";
|
|
12
|
+
export {
|
|
13
|
+
CodeAgent2 as CodeAgent
|
|
14
|
+
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import"./cli-
|
|
2
|
-
import"./cli-
|
|
3
|
-
import"./cli-
|
|
4
|
-
import"./cli-
|
|
1
|
+
import"./cli-7xf5h4pb.js";
|
|
2
|
+
import"./cli-rv2d03xr.js";
|
|
3
|
+
import"./cli-1h046yxp.js";
|
|
4
|
+
import"./cli-z85qmtjd.js";
|
|
5
5
|
import {
|
|
6
6
|
AgentRuntime,
|
|
7
7
|
defineAgent
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-gy5stwkg.js";
|
|
9
9
|
import"./cli-qba2x69h.js";
|
|
10
10
|
import {
|
|
11
11
|
stepCountIs2,
|
|
12
12
|
init_dist
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-739g9qgd.js";
|
|
14
14
|
import"./cli-c2k4xxaw.js";
|
|
15
15
|
import {
|
|
16
16
|
init_zod
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
runAuthenticationAgent2
|
|
3
|
+
} from "./cli-1qyejhv5.js";
|
|
4
|
+
import"./cli-gy5stwkg.js";
|
|
5
|
+
import"./cli-qba2x69h.js";
|
|
6
|
+
import"./cli-z85qmtjd.js";
|
|
7
|
+
import"./cli-7xf5h4pb.js";
|
|
8
|
+
import"./cli-739g9qgd.js";
|
|
9
|
+
import"./cli-1h046yxp.js";
|
|
10
|
+
import"./cli-c2k4xxaw.js";
|
|
11
|
+
import"./cli-rv2d03xr.js";
|
|
12
|
+
export {
|
|
13
|
+
runAuthenticationAgent2 as runAuthenticationAgent
|
|
14
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
config2,
|
|
3
3
|
init_config
|
|
4
|
-
} from "./cli-
|
|
5
|
-
import"./cli-
|
|
6
|
-
import"./cli-
|
|
4
|
+
} from "./cli-rv2d03xr.js";
|
|
5
|
+
import"./cli-1h046yxp.js";
|
|
6
|
+
import"./cli-z85qmtjd.js";
|
|
7
7
|
import {
|
|
8
8
|
AgentEventBus
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-7xf5h4pb.js";
|
|
10
10
|
import {
|
|
11
11
|
inspectSessionEvidence2,
|
|
12
12
|
RecordedRunSpecSchema,
|
|
@@ -17,30 +17,31 @@ import {
|
|
|
17
17
|
runRecordedAgent2,
|
|
18
18
|
RunRecoveryBlockedError2,
|
|
19
19
|
resumeRecordedAgent2
|
|
20
|
-
} from "./cli-
|
|
21
|
-
import"./cli-
|
|
22
|
-
import"./cli-
|
|
23
|
-
import"./cli-
|
|
24
|
-
import"./cli-
|
|
25
|
-
import"./cli-
|
|
26
|
-
import"./cli-
|
|
27
|
-
import"./cli-
|
|
20
|
+
} from "./cli-qp8413xr.js";
|
|
21
|
+
import"./cli-67d2744b.js";
|
|
22
|
+
import"./cli-9dka0an3.js";
|
|
23
|
+
import"./cli-zs7rp1f6.js";
|
|
24
|
+
import"./cli-gt29d4q6.js";
|
|
25
|
+
import"./cli-1qyejhv5.js";
|
|
26
|
+
import"./cli-qmt07txj.js";
|
|
27
|
+
import"./cli-ssstde7z.js";
|
|
28
|
+
import"./cli-tmr100n4.js";
|
|
28
29
|
import"./cli-xcy2vxj2.js";
|
|
29
30
|
import {
|
|
30
31
|
resolveWorkerExecutable,
|
|
31
32
|
launchLocalWorker
|
|
32
|
-
} from "./cli-
|
|
33
|
-
import"./cli-
|
|
34
|
-
import"./cli-
|
|
33
|
+
} from "./cli-y1z3vemx.js";
|
|
34
|
+
import"./cli-c29xr0h0.js";
|
|
35
|
+
import"./cli-gy5stwkg.js";
|
|
35
36
|
import"./cli-qba2x69h.js";
|
|
36
37
|
import {
|
|
37
38
|
buildAuthConfig,
|
|
38
|
-
|
|
39
|
-
} from "./cli-
|
|
39
|
+
init_ai2
|
|
40
|
+
} from "./cli-739g9qgd.js";
|
|
40
41
|
import"./cli-c2k4xxaw.js";
|
|
41
42
|
|
|
42
43
|
// src/cli/agent-runs.ts
|
|
43
|
-
|
|
44
|
+
init_ai2();
|
|
44
45
|
import { once } from "node:events";
|
|
45
46
|
import { readFile } from "node:fs/promises";
|
|
46
47
|
import { isAbsolute, resolve } from "node:path";
|
|
@@ -117,7 +118,7 @@ async function runAgentRunsCommand(args) {
|
|
|
117
118
|
if (!isAbsolute(values.store)) {
|
|
118
119
|
throw new Error("agent-runs worker requires --store <absolute database>");
|
|
119
120
|
}
|
|
120
|
-
const { serveLocalRunWorker } = await import("./index-
|
|
121
|
+
const { serveLocalRunWorker } = await import("./index-m6graaat.js");
|
|
121
122
|
await serveLocalRunWorker({
|
|
122
123
|
runId: values.run,
|
|
123
124
|
databasePath: resolve(values.store)
|
|
@@ -131,7 +132,7 @@ async function runAgentRunsCommand(args) {
|
|
|
131
132
|
${HELP}`);
|
|
132
133
|
}
|
|
133
134
|
if (command === "attach") {
|
|
134
|
-
const { openRecordedRunClient } = await import("./recordedRunClient-
|
|
135
|
+
const { openRecordedRunClient } = await import("./recordedRunClient-jv7ew35v.js");
|
|
135
136
|
const client = await openRecordedRunClient(values.store);
|
|
136
137
|
const controller = new AbortController;
|
|
137
138
|
const detach = () => controller.abort();
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TargetedPentestAgent2,
|
|
3
3
|
buildPentestSystemPrompt2
|
|
4
|
-
} from "./cli-
|
|
5
|
-
import"./cli-
|
|
4
|
+
} from "./cli-qmt07txj.js";
|
|
5
|
+
import"./cli-gy5stwkg.js";
|
|
6
6
|
import"./cli-qba2x69h.js";
|
|
7
|
-
import"./cli-
|
|
8
|
-
import"./cli-
|
|
9
|
-
import"./cli-
|
|
10
|
-
import"./cli-
|
|
7
|
+
import"./cli-z85qmtjd.js";
|
|
8
|
+
import"./cli-7xf5h4pb.js";
|
|
9
|
+
import"./cli-739g9qgd.js";
|
|
10
|
+
import"./cli-1h046yxp.js";
|
|
11
11
|
import"./cli-c2k4xxaw.js";
|
|
12
|
-
import"./cli-
|
|
12
|
+
import"./cli-rv2d03xr.js";
|
|
13
13
|
export {
|
|
14
14
|
TargetedPentestAgent2 as TargetedPentestAgent,
|
|
15
15
|
buildPentestSystemPrompt2 as buildPentestSystemPrompt
|
|
@@ -15,26 +15,27 @@ import {
|
|
|
15
15
|
searchEndpoints2,
|
|
16
16
|
listDomains2,
|
|
17
17
|
createDomain2
|
|
18
|
-
} from "./cli-
|
|
19
|
-
import"./cli-
|
|
20
|
-
import"./cli-
|
|
21
|
-
import"./cli-
|
|
22
|
-
import"./cli-
|
|
23
|
-
import"./cli-
|
|
24
|
-
import"./cli-
|
|
25
|
-
import"./cli-
|
|
26
|
-
import"./cli-
|
|
27
|
-
import"./cli-
|
|
28
|
-
import"./cli-
|
|
29
|
-
import"./cli-
|
|
18
|
+
} from "./cli-z85qmtjd.js";
|
|
19
|
+
import"./cli-7xf5h4pb.js";
|
|
20
|
+
import"./cli-rv2d03xr.js";
|
|
21
|
+
import"./cli-1h046yxp.js";
|
|
22
|
+
import"./cli-qp8413xr.js";
|
|
23
|
+
import"./cli-67d2744b.js";
|
|
24
|
+
import"./cli-9dka0an3.js";
|
|
25
|
+
import"./cli-zs7rp1f6.js";
|
|
26
|
+
import"./cli-gt29d4q6.js";
|
|
27
|
+
import"./cli-1qyejhv5.js";
|
|
28
|
+
import"./cli-qmt07txj.js";
|
|
29
|
+
import"./cli-ssstde7z.js";
|
|
30
|
+
import"./cli-tmr100n4.js";
|
|
30
31
|
import"./cli-xcy2vxj2.js";
|
|
31
32
|
import {
|
|
32
33
|
markCommandFailed
|
|
33
34
|
} from "./cli-z82n3qk1.js";
|
|
34
|
-
import"./cli-
|
|
35
|
-
import"./cli-
|
|
35
|
+
import"./cli-c29xr0h0.js";
|
|
36
|
+
import"./cli-gy5stwkg.js";
|
|
36
37
|
import"./cli-qba2x69h.js";
|
|
37
|
-
import"./cli-
|
|
38
|
+
import"./cli-739g9qgd.js";
|
|
38
39
|
import"./cli-c2k4xxaw.js";
|
|
39
40
|
|
|
40
41
|
// src/cli/apps.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
|
-
import"./cli-
|
|
3
|
-
import"./cli-
|
|
2
|
+
import"./cli-z85qmtjd.js";
|
|
3
|
+
import"./cli-7xf5h4pb.js";
|
|
4
4
|
import {
|
|
5
5
|
config2,
|
|
6
6
|
init_config
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-rv2d03xr.js";
|
|
8
8
|
import {
|
|
9
9
|
getPensarApiUrl2,
|
|
10
10
|
getPensarConsoleUrl2,
|
|
@@ -20,23 +20,24 @@ import {
|
|
|
20
20
|
createWorkspaceSelection2,
|
|
21
21
|
pollWorkspaceSelection2,
|
|
22
22
|
init_auth
|
|
23
|
-
} from "./cli-
|
|
24
|
-
import"./cli-
|
|
25
|
-
import"./cli-
|
|
26
|
-
import"./cli-
|
|
27
|
-
import"./cli-
|
|
28
|
-
import"./cli-
|
|
29
|
-
import"./cli-
|
|
30
|
-
import"./cli-
|
|
31
|
-
import"./cli-
|
|
23
|
+
} from "./cli-1h046yxp.js";
|
|
24
|
+
import"./cli-qp8413xr.js";
|
|
25
|
+
import"./cli-67d2744b.js";
|
|
26
|
+
import"./cli-9dka0an3.js";
|
|
27
|
+
import"./cli-zs7rp1f6.js";
|
|
28
|
+
import"./cli-gt29d4q6.js";
|
|
29
|
+
import"./cli-1qyejhv5.js";
|
|
30
|
+
import"./cli-qmt07txj.js";
|
|
31
|
+
import"./cli-ssstde7z.js";
|
|
32
|
+
import"./cli-tmr100n4.js";
|
|
32
33
|
import"./cli-xcy2vxj2.js";
|
|
33
34
|
import {
|
|
34
35
|
markCommandFailed
|
|
35
36
|
} from "./cli-z82n3qk1.js";
|
|
36
|
-
import"./cli-
|
|
37
|
-
import"./cli-
|
|
37
|
+
import"./cli-c29xr0h0.js";
|
|
38
|
+
import"./cli-gy5stwkg.js";
|
|
38
39
|
import"./cli-qba2x69h.js";
|
|
39
|
-
import"./cli-
|
|
40
|
+
import"./cli-739g9qgd.js";
|
|
40
41
|
import"./cli-c2k4xxaw.js";
|
|
41
42
|
import {
|
|
42
43
|
__require
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BlackboxAttackSurfaceAgent2
|
|
3
|
+
} from "./cli-67d2744b.js";
|
|
4
|
+
import"./cli-gy5stwkg.js";
|
|
5
|
+
import"./cli-qba2x69h.js";
|
|
6
|
+
import"./cli-z85qmtjd.js";
|
|
7
|
+
import"./cli-7xf5h4pb.js";
|
|
8
|
+
import"./cli-739g9qgd.js";
|
|
9
|
+
import"./cli-1h046yxp.js";
|
|
10
|
+
import"./cli-c2k4xxaw.js";
|
|
11
|
+
import"./cli-rv2d03xr.js";
|
|
12
|
+
export {
|
|
13
|
+
BlackboxAttackSurfaceAgent2 as BlackboxAttackSurfaceAgent
|
|
14
|
+
};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import"./cli-
|
|
2
|
-
import"./cli-
|
|
3
|
-
import"./cli-
|
|
4
|
-
import"./cli-
|
|
5
|
-
import"./cli-
|
|
6
|
-
import"./cli-
|
|
7
|
-
import"./cli-
|
|
1
|
+
import"./cli-rv2d03xr.js";
|
|
2
|
+
import"./cli-1h046yxp.js";
|
|
3
|
+
import"./cli-7xf5h4pb.js";
|
|
4
|
+
import"./cli-z85qmtjd.js";
|
|
5
|
+
import"./cli-67d2744b.js";
|
|
6
|
+
import"./cli-qmt07txj.js";
|
|
7
|
+
import"./cli-ssstde7z.js";
|
|
8
8
|
import {
|
|
9
9
|
readExecutionMetrics,
|
|
10
10
|
writeExecutionMetrics,
|
|
11
11
|
runPentestWorkflow2
|
|
12
|
-
} from "./cli-
|
|
13
|
-
import"./cli-
|
|
14
|
-
import"./cli-
|
|
12
|
+
} from "./cli-gt29d4q6.js";
|
|
13
|
+
import"./cli-9dka0an3.js";
|
|
14
|
+
import"./cli-zs7rp1f6.js";
|
|
15
15
|
import {
|
|
16
16
|
EMPTY_SESSION_TOKEN_USAGE,
|
|
17
17
|
accumulateSessionTokens
|
|
18
18
|
} from "./cli-ag6jtndp.js";
|
|
19
|
-
import"./cli-
|
|
19
|
+
import"./cli-gy5stwkg.js";
|
|
20
20
|
import"./cli-qba2x69h.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./cli-
|
|
22
|
+
normalizeStepUsage,
|
|
23
|
+
init_ai2
|
|
24
|
+
} from "./cli-739g9qgd.js";
|
|
25
25
|
import"./cli-c2k4xxaw.js";
|
|
26
26
|
|
|
27
27
|
// src/core/api/blackboxPentest.ts
|
|
28
|
-
|
|
28
|
+
init_ai2();
|
|
29
29
|
async function runPentestAgent(input) {
|
|
30
30
|
const persisted = readExecutionMetrics(input.session.rootPath)?.tokenUsage;
|
|
31
31
|
let tokenUsage = persisted ?? EMPTY_SESSION_TOKEN_USAGE;
|
|
@@ -8,15 +8,15 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
AgentRuntime,
|
|
10
10
|
defineAgent
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-gy5stwkg.js";
|
|
12
12
|
import {
|
|
13
13
|
hasToolCall,
|
|
14
14
|
init_dist,
|
|
15
|
-
scopedLogger,
|
|
16
|
-
init_lazyLogger,
|
|
17
15
|
createLogger,
|
|
18
|
-
init_structured
|
|
19
|
-
|
|
16
|
+
init_structured,
|
|
17
|
+
scopedLogger,
|
|
18
|
+
init_lazyLogger
|
|
19
|
+
} from "./cli-739g9qgd.js";
|
|
20
20
|
|
|
21
21
|
// src/core/agents/specialized/authenticationAgent/agent.ts
|
|
22
22
|
init_dist();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
scopedLogger,
|
|
3
|
-
init_lazyLogger,
|
|
4
2
|
createLogger,
|
|
5
|
-
init_structured
|
|
6
|
-
|
|
3
|
+
init_structured,
|
|
4
|
+
scopedLogger,
|
|
5
|
+
init_lazyLogger
|
|
6
|
+
} from "./cli-739g9qgd.js";
|
|
7
7
|
|
|
8
8
|
// src/core/integrations/wandb/client.ts
|
|
9
9
|
init_structured();
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
AgentRuntime,
|
|
6
6
|
defineAgent
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-gy5stwkg.js";
|
|
8
8
|
import {
|
|
9
9
|
stepCountIs2,
|
|
10
10
|
hasToolCall,
|
|
11
11
|
init_dist
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-739g9qgd.js";
|
|
13
13
|
|
|
14
14
|
// src/core/agents/specialized/attackSurface/blackboxAgent.ts
|
|
15
15
|
init_dist();
|