@pensar/apex 2.6.1 → 2.7.0
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-4f87bydg.js +13 -0
- package/build/{agent-ayreaj6z.js → agent-6h49fhz1.js} +5 -5
- package/build/{agent-yby11zaq.js → agent-a5vq5fsm.js} +6 -6
- package/build/{agent-runs-g37vkrjr.js → agent-runs-9nncftzk.js} +16 -16
- package/build/agent-sa0ty54v.js +13 -0
- package/build/{apps-xn6km9yn.js → apps-rh90z2nb.js} +13 -13
- package/build/{auth-d105wc64.js → auth-hshx11mc.js} +13 -13
- package/build/{blackboxAgent-s56sgx9b.js → blackboxAgent-t6zq0ekj.js} +6 -6
- package/build/{blackboxPentest-ps78v3w7.js → blackboxPentest-eskvsmez.js} +11 -11
- package/build/{cli-d37a42dc.js → cli-29179gt8.js} +8 -8
- package/build/{cli-gx71jcke.js → cli-2etfgtj3.js} +1 -1
- package/build/{cli-ngq9dr8n.js → cli-6r1ntbmf.js} +3 -3
- package/build/{cli-709rvekb.js → cli-9eyk8rhx.js} +1 -1
- package/build/{cli-ae8jqxqr.js → cli-c4x5b3q4.js} +2 -2
- package/build/{cli-az3xq70v.js → cli-c9nnxr52.js} +1 -1
- package/build/{cli-1ve18npr.js → cli-dawkcveq.js} +1 -1
- package/build/{cli-3sp6nd8d.js → cli-dqrqgfrp.js} +2 -2
- package/build/{cli-7eea4e2y.js → cli-e0v6hd3d.js} +6 -6
- package/build/{cli-k2nwxta0.js → cli-ewav0q78.js} +2 -2
- package/build/{cli-kb21qhvm.js → cli-fk5e62a6.js} +2 -2
- package/build/{cli-65g6rcat.js → cli-gzgyjs36.js} +1 -1
- package/build/{cli-c05y640n.js → cli-mrk3hg6f.js} +1 -1
- package/build/{cli-dpsw2fe6.js → cli-prw2dfje.js} +353 -185
- package/build/{cli-qgz1q9g5.js → cli-pwhx13h3.js} +105 -36
- package/build/{cli-n2en7j5b.js → cli-q0wmet0t.js} +1 -1
- package/build/{cli-xtc2t6me.js → cli-tf2kp8s4.js} +3 -3
- package/build/{cli-fy6vh2a7.js → cli-vdbnh2ha.js} +1 -1
- package/build/cli.js +37 -37
- package/build/{config-zpqkd5cz.js → config-srw06gyv.js} +1 -1
- package/build/{fastStrike-mcjdvwez.js → fastStrike-gaphkhrs.js} +5 -5
- package/build/{fixes-kytx5dmj.js → fixes-j99tce5t.js} +13 -13
- package/build/{index-wqetp6gq.js → index-3rsrzfje.js} +5 -5
- package/build/{index-fv64eb32.js → index-652yqmn2.js} +2 -2
- package/build/{index-n65z6v7b.js → index-6fxag2h2.js} +6 -6
- package/build/{index-r9yjkfrv.js → index-a9yy0fe3.js} +4 -4
- package/build/{index-dr3tg1w3.js → index-c1tgca1w.js} +1 -1
- package/build/{index-qv4cc65p.js → index-fsv57ssp.js} +13 -13
- package/build/{index-ns4m4s01.js → index-y9h10rfq.js} +4 -4
- package/build/{index-4vqdgb42.js → index-yj0ye642.js} +1236 -1195
- package/build/{index-je6hcsqr.js → index-ynsam8mg.js} +1 -1
- package/build/{issues-eb3q9d3a.js → issues-267ytycy.js} +13 -13
- package/build/{knowledge-fqsvtx0f.js → knowledge-44acmwfw.js} +13 -13
- package/build/lib/{chunk-yrnrbjes.js → chunk-2015fqpw.js} +1 -1
- package/build/lib/{chunk-acgbyf5h.js → chunk-3jr0sp3v.js} +1 -1
- package/build/lib/{chunk-7pwa92rn.js → chunk-45ne0t6e.js} +1 -1
- package/build/lib/{chunk-nhfax4gb.js → chunk-5ma2ns65.js} +1 -1
- package/build/lib/{chunk-z96pbjhd.js → chunk-8zfn4feq.js} +1 -1
- package/build/lib/{chunk-1jvwqnem.js → chunk-93b8vp9x.js} +3 -3
- package/build/lib/{chunk-r4j8ybn9.js → chunk-9kmc9yp6.js} +37 -20
- package/build/lib/{chunk-9yksqgzr.js → chunk-bb2sekn4.js} +11 -11
- package/build/lib/{chunk-e8yy2k73.js → chunk-c3e9aen5.js} +1 -1
- package/build/lib/{chunk-v3dk9j7k.js → chunk-db0bmkrv.js} +11 -11
- package/build/lib/{chunk-1yct6cra.js → chunk-dm8yvkdy.js} +1 -1
- package/build/lib/{chunk-xhdpgpkm.js → chunk-dvn6bg2m.js} +2 -2
- package/build/lib/{chunk-9tt2021m.js → chunk-fwe0fdb5.js} +9 -9
- package/build/lib/{chunk-3c00n0cy.js → chunk-gfzspfyd.js} +3 -3
- package/build/lib/{chunk-ba41jh41.js → chunk-hw0vcs3m.js} +297 -127
- package/build/lib/{chunk-r2dkp4tb.js → chunk-m8w0npxg.js} +1 -1
- package/build/lib/{chunk-z137x08b.js → chunk-mbm9w4ac.js} +5 -5
- package/build/lib/{chunk-4hwzqthr.js → chunk-mjey3y7s.js} +1 -1
- package/build/lib/{chunk-mg03jdmt.js → chunk-mw108bmx.js} +1 -1
- package/build/lib/{chunk-1azdancq.js → chunk-njn4tjsr.js} +1 -1
- package/build/lib/{chunk-bb0ekhkw.js → chunk-p8jd9s8k.js} +8 -8
- package/build/lib/{chunk-2qsq76xq.js → chunk-t6yh604c.js} +62 -10
- package/build/lib/{chunk-1fy8azee.js → chunk-yqengqce.js} +1 -1
- package/build/lib/{chunk-w66ce82a.js → chunk-ysmhn1p6.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-wx69vy65.js} +13 -13
- package/build/{native-rollout-evidence-c9yhfqcs.js → native-rollout-evidence-2akrepvz.js} +3 -3
- package/build/{offesecAgent-5whnpeta.js → offesecAgent-zewvmk98.js} +4 -4
- package/build/pentest-n2mjksg2.js +22 -0
- package/build/{pentests-e0f32aqx.js → pentests-xvj8g8h4.js} +13 -13
- package/build/recordedRunClient-a0ye97sw.js +11 -0
- package/build/{targetedPentest-rcbs4nvp.js → targetedPentest-p3cdq712.js} +6 -6
- package/build/{targets-xj9g3q0z.js → targets-1wajqhm7.js} +13 -13
- package/build/threatModel-g9pbtnt1.js +21 -0
- package/build/{uninstall-7s784q4a.js → uninstall-jpm5ppfb.js} +1 -1
- package/build/{upload-4gvhwmvr.js → upload-csny5mns.js} +4 -4
- package/build/{utils-cjrz64pc.js → utils-tzbr4bxg.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
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
runAuthenticationAgent2
|
|
3
|
+
} from "./cli-dqrqgfrp.js";
|
|
4
|
+
import"./cli-dawkcveq.js";
|
|
5
|
+
import"./cli-qba2x69h.js";
|
|
6
|
+
import"./cli-pwhx13h3.js";
|
|
7
|
+
import"./cli-prw2dfje.js";
|
|
8
|
+
import"./cli-mrk3hg6f.js";
|
|
9
|
+
import"./cli-c2k4xxaw.js";
|
|
10
|
+
import"./cli-vdbnh2ha.js";
|
|
11
|
+
export {
|
|
12
|
+
runAuthenticationAgent2 as runAuthenticationAgent
|
|
13
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import"./cli-
|
|
2
|
-
import"./cli-
|
|
3
|
-
import"./cli-
|
|
1
|
+
import"./cli-pwhx13h3.js";
|
|
2
|
+
import"./cli-vdbnh2ha.js";
|
|
3
|
+
import"./cli-mrk3hg6f.js";
|
|
4
4
|
import {
|
|
5
5
|
AgentRuntime,
|
|
6
6
|
defineAgent
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-dawkcveq.js";
|
|
8
8
|
import"./cli-qba2x69h.js";
|
|
9
9
|
import {
|
|
10
10
|
stepCountIs2,
|
|
11
11
|
init_dist
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-prw2dfje.js";
|
|
13
13
|
import"./cli-c2k4xxaw.js";
|
|
14
14
|
import {
|
|
15
15
|
init_zod
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TargetedPentestAgent2,
|
|
3
3
|
buildPentestSystemPrompt2
|
|
4
|
-
} from "./cli-
|
|
5
|
-
import"./cli-
|
|
4
|
+
} from "./cli-tf2kp8s4.js";
|
|
5
|
+
import"./cli-dawkcveq.js";
|
|
6
6
|
import"./cli-qba2x69h.js";
|
|
7
|
-
import"./cli-
|
|
8
|
-
import"./cli-
|
|
9
|
-
import"./cli-
|
|
7
|
+
import"./cli-pwhx13h3.js";
|
|
8
|
+
import"./cli-prw2dfje.js";
|
|
9
|
+
import"./cli-mrk3hg6f.js";
|
|
10
10
|
import"./cli-c2k4xxaw.js";
|
|
11
|
-
import"./cli-
|
|
11
|
+
import"./cli-vdbnh2ha.js";
|
|
12
12
|
export {
|
|
13
13
|
TargetedPentestAgent2 as TargetedPentestAgent,
|
|
14
14
|
buildPentestSystemPrompt2 as buildPentestSystemPrompt
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
config2,
|
|
3
3
|
init_config
|
|
4
|
-
} from "./cli-
|
|
5
|
-
import"./cli-
|
|
4
|
+
} from "./cli-vdbnh2ha.js";
|
|
5
|
+
import"./cli-mrk3hg6f.js";
|
|
6
6
|
import {
|
|
7
7
|
inspectSessionEvidence2,
|
|
8
8
|
RecordedRunSpecSchema,
|
|
@@ -13,28 +13,28 @@ import {
|
|
|
13
13
|
runRecordedAgent2,
|
|
14
14
|
RunRecoveryBlockedError2,
|
|
15
15
|
resumeRecordedAgent2
|
|
16
|
-
} from "./cli-
|
|
16
|
+
} from "./cli-e0v6hd3d.js";
|
|
17
17
|
import {
|
|
18
18
|
AgentEventBus
|
|
19
|
-
} from "./cli-
|
|
20
|
-
import"./cli-
|
|
21
|
-
import"./cli-
|
|
22
|
-
import"./cli-
|
|
23
|
-
import"./cli-
|
|
24
|
-
import"./cli-
|
|
25
|
-
import"./cli-
|
|
26
|
-
import"./cli-
|
|
19
|
+
} from "./cli-pwhx13h3.js";
|
|
20
|
+
import"./cli-ewav0q78.js";
|
|
21
|
+
import"./cli-fk5e62a6.js";
|
|
22
|
+
import"./cli-6r1ntbmf.js";
|
|
23
|
+
import"./cli-29179gt8.js";
|
|
24
|
+
import"./cli-dqrqgfrp.js";
|
|
25
|
+
import"./cli-tf2kp8s4.js";
|
|
26
|
+
import"./cli-q0wmet0t.js";
|
|
27
27
|
import"./cli-xcy2vxj2.js";
|
|
28
28
|
import {
|
|
29
29
|
resolveWorkerExecutable,
|
|
30
30
|
launchLocalWorker
|
|
31
|
-
} from "./cli-
|
|
32
|
-
import"./cli-
|
|
31
|
+
} from "./cli-2etfgtj3.js";
|
|
32
|
+
import"./cli-dawkcveq.js";
|
|
33
33
|
import"./cli-qba2x69h.js";
|
|
34
34
|
import {
|
|
35
35
|
buildAuthConfig,
|
|
36
36
|
init_ai
|
|
37
|
-
} from "./cli-
|
|
37
|
+
} from "./cli-prw2dfje.js";
|
|
38
38
|
import"./cli-c2k4xxaw.js";
|
|
39
39
|
|
|
40
40
|
// src/cli/agent-runs.ts
|
|
@@ -115,7 +115,7 @@ async function runAgentRunsCommand(args) {
|
|
|
115
115
|
if (!isAbsolute(values.store)) {
|
|
116
116
|
throw new Error("agent-runs worker requires --store <absolute database>");
|
|
117
117
|
}
|
|
118
|
-
const { serveLocalRunWorker } = await import("./index-
|
|
118
|
+
const { serveLocalRunWorker } = await import("./index-fsv57ssp.js");
|
|
119
119
|
await serveLocalRunWorker({
|
|
120
120
|
runId: values.run,
|
|
121
121
|
databasePath: resolve(values.store)
|
|
@@ -129,7 +129,7 @@ async function runAgentRunsCommand(args) {
|
|
|
129
129
|
${HELP}`);
|
|
130
130
|
}
|
|
131
131
|
if (command === "attach") {
|
|
132
|
-
const { openRecordedRunClient } = await import("./recordedRunClient-
|
|
132
|
+
const { openRecordedRunClient } = await import("./recordedRunClient-a0ye97sw.js");
|
|
133
133
|
const client = await openRecordedRunClient(values.store);
|
|
134
134
|
const controller = new AbortController;
|
|
135
135
|
const detach = () => controller.abort();
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CodeAgent2
|
|
3
|
+
} from "./cli-fk5e62a6.js";
|
|
4
|
+
import"./cli-dawkcveq.js";
|
|
5
|
+
import"./cli-qba2x69h.js";
|
|
6
|
+
import"./cli-pwhx13h3.js";
|
|
7
|
+
import"./cli-prw2dfje.js";
|
|
8
|
+
import"./cli-mrk3hg6f.js";
|
|
9
|
+
import"./cli-c2k4xxaw.js";
|
|
10
|
+
import"./cli-vdbnh2ha.js";
|
|
11
|
+
export {
|
|
12
|
+
CodeAgent2 as CodeAgent
|
|
13
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
|
-
import"./cli-
|
|
3
|
-
import"./cli-
|
|
4
|
-
import"./cli-
|
|
2
|
+
import"./cli-vdbnh2ha.js";
|
|
3
|
+
import"./cli-mrk3hg6f.js";
|
|
4
|
+
import"./cli-e0v6hd3d.js";
|
|
5
5
|
import {
|
|
6
6
|
ENDPOINT_TRANSPORTS2,
|
|
7
7
|
listApps2,
|
|
@@ -18,21 +18,21 @@ import {
|
|
|
18
18
|
searchEndpoints2,
|
|
19
19
|
listDomains2,
|
|
20
20
|
createDomain2
|
|
21
|
-
} from "./cli-
|
|
22
|
-
import"./cli-
|
|
23
|
-
import"./cli-
|
|
24
|
-
import"./cli-
|
|
25
|
-
import"./cli-
|
|
26
|
-
import"./cli-
|
|
27
|
-
import"./cli-
|
|
28
|
-
import"./cli-
|
|
21
|
+
} from "./cli-pwhx13h3.js";
|
|
22
|
+
import"./cli-ewav0q78.js";
|
|
23
|
+
import"./cli-fk5e62a6.js";
|
|
24
|
+
import"./cli-6r1ntbmf.js";
|
|
25
|
+
import"./cli-29179gt8.js";
|
|
26
|
+
import"./cli-dqrqgfrp.js";
|
|
27
|
+
import"./cli-tf2kp8s4.js";
|
|
28
|
+
import"./cli-q0wmet0t.js";
|
|
29
29
|
import"./cli-xcy2vxj2.js";
|
|
30
30
|
import {
|
|
31
31
|
markCommandFailed
|
|
32
32
|
} from "./cli-z82n3qk1.js";
|
|
33
|
-
import"./cli-
|
|
33
|
+
import"./cli-dawkcveq.js";
|
|
34
34
|
import"./cli-qba2x69h.js";
|
|
35
|
-
import"./cli-
|
|
35
|
+
import"./cli-prw2dfje.js";
|
|
36
36
|
import"./cli-c2k4xxaw.js";
|
|
37
37
|
|
|
38
38
|
// src/cli/apps.ts
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
config2,
|
|
4
4
|
init_config
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-vdbnh2ha.js";
|
|
6
6
|
import {
|
|
7
7
|
getPensarApiUrl2,
|
|
8
8
|
getPensarConsoleUrl2,
|
|
@@ -18,23 +18,23 @@ import {
|
|
|
18
18
|
createWorkspaceSelection2,
|
|
19
19
|
pollWorkspaceSelection2,
|
|
20
20
|
init_auth
|
|
21
|
-
} from "./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-
|
|
30
|
-
import"./cli-
|
|
21
|
+
} from "./cli-mrk3hg6f.js";
|
|
22
|
+
import"./cli-e0v6hd3d.js";
|
|
23
|
+
import"./cli-pwhx13h3.js";
|
|
24
|
+
import"./cli-ewav0q78.js";
|
|
25
|
+
import"./cli-fk5e62a6.js";
|
|
26
|
+
import"./cli-6r1ntbmf.js";
|
|
27
|
+
import"./cli-29179gt8.js";
|
|
28
|
+
import"./cli-dqrqgfrp.js";
|
|
29
|
+
import"./cli-tf2kp8s4.js";
|
|
30
|
+
import"./cli-q0wmet0t.js";
|
|
31
31
|
import"./cli-xcy2vxj2.js";
|
|
32
32
|
import {
|
|
33
33
|
markCommandFailed
|
|
34
34
|
} from "./cli-z82n3qk1.js";
|
|
35
|
-
import"./cli-
|
|
35
|
+
import"./cli-dawkcveq.js";
|
|
36
36
|
import"./cli-qba2x69h.js";
|
|
37
|
-
import"./cli-
|
|
37
|
+
import"./cli-prw2dfje.js";
|
|
38
38
|
import"./cli-c2k4xxaw.js";
|
|
39
39
|
import {
|
|
40
40
|
__require
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlackboxAttackSurfaceAgent2
|
|
3
|
-
} from "./cli-
|
|
4
|
-
import"./cli-
|
|
3
|
+
} from "./cli-ewav0q78.js";
|
|
4
|
+
import"./cli-dawkcveq.js";
|
|
5
5
|
import"./cli-qba2x69h.js";
|
|
6
|
-
import"./cli-
|
|
7
|
-
import"./cli-
|
|
8
|
-
import"./cli-
|
|
6
|
+
import"./cli-pwhx13h3.js";
|
|
7
|
+
import"./cli-prw2dfje.js";
|
|
8
|
+
import"./cli-mrk3hg6f.js";
|
|
9
9
|
import"./cli-c2k4xxaw.js";
|
|
10
|
-
import"./cli-
|
|
10
|
+
import"./cli-vdbnh2ha.js";
|
|
11
11
|
export {
|
|
12
12
|
BlackboxAttackSurfaceAgent2 as BlackboxAttackSurfaceAgent
|
|
13
13
|
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import"./cli-
|
|
2
|
-
import"./cli-
|
|
3
|
-
import"./cli-
|
|
4
|
-
import"./cli-
|
|
5
|
-
import"./cli-
|
|
6
|
-
import"./cli-
|
|
1
|
+
import"./cli-vdbnh2ha.js";
|
|
2
|
+
import"./cli-mrk3hg6f.js";
|
|
3
|
+
import"./cli-pwhx13h3.js";
|
|
4
|
+
import"./cli-ewav0q78.js";
|
|
5
|
+
import"./cli-tf2kp8s4.js";
|
|
6
|
+
import"./cli-q0wmet0t.js";
|
|
7
7
|
import {
|
|
8
8
|
readExecutionMetrics,
|
|
9
9
|
writeExecutionMetrics,
|
|
10
10
|
runPentestWorkflow2
|
|
11
|
-
} from "./cli-
|
|
12
|
-
import"./cli-
|
|
13
|
-
import"./cli-
|
|
11
|
+
} from "./cli-29179gt8.js";
|
|
12
|
+
import"./cli-fk5e62a6.js";
|
|
13
|
+
import"./cli-6r1ntbmf.js";
|
|
14
14
|
import {
|
|
15
15
|
EMPTY_SESSION_TOKEN_USAGE,
|
|
16
16
|
accumulateSessionTokens
|
|
17
17
|
} from "./cli-ag6jtndp.js";
|
|
18
|
-
import"./cli-
|
|
18
|
+
import"./cli-dawkcveq.js";
|
|
19
19
|
import"./cli-qba2x69h.js";
|
|
20
20
|
import {
|
|
21
21
|
init_ai,
|
|
22
22
|
normalizeStepUsage
|
|
23
|
-
} from "./cli-
|
|
23
|
+
} from "./cli-prw2dfje.js";
|
|
24
24
|
import"./cli-c2k4xxaw.js";
|
|
25
25
|
|
|
26
26
|
// src/core/api/blackboxPentest.ts
|
|
@@ -12,24 +12,24 @@ import {
|
|
|
12
12
|
pLimit,
|
|
13
13
|
PLAN_MODE_TOOL_NAMES,
|
|
14
14
|
OffensiveSecurityAgent
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-pwhx13h3.js";
|
|
16
16
|
import {
|
|
17
17
|
BlackboxAttackSurfaceAgent2
|
|
18
|
-
} from "./cli-
|
|
18
|
+
} from "./cli-ewav0q78.js";
|
|
19
19
|
import {
|
|
20
20
|
TargetedPentestAgent2,
|
|
21
21
|
buildPentestSystemPrompt2
|
|
22
|
-
} from "./cli-
|
|
22
|
+
} from "./cli-tf2kp8s4.js";
|
|
23
23
|
import {
|
|
24
24
|
buildPentestReport,
|
|
25
25
|
renderJson,
|
|
26
26
|
renderMarkdown,
|
|
27
27
|
REPORT_FILENAME_MD,
|
|
28
28
|
REPORT_FILENAME_JSON
|
|
29
|
-
} from "./cli-
|
|
29
|
+
} from "./cli-q0wmet0t.js";
|
|
30
30
|
import {
|
|
31
31
|
CodeAgent2
|
|
32
|
-
} from "./cli-
|
|
32
|
+
} from "./cli-fk5e62a6.js";
|
|
33
33
|
import {
|
|
34
34
|
WHITEBOX_APPS_DISCOVERY_SYSTEM_PROMPT2,
|
|
35
35
|
WHITEBOX_ENDPOINT_DOCUMENTATION_SYSTEM_PROMPT,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
AppInfoSchema2,
|
|
39
39
|
AppsDiscoveryResultSchema2,
|
|
40
40
|
DiscoverySummarySchema2
|
|
41
|
-
} from "./cli-
|
|
41
|
+
} from "./cli-6r1ntbmf.js";
|
|
42
42
|
import {
|
|
43
43
|
createThreatModelPrompt
|
|
44
44
|
} from "./cli-q126f6ef.js";
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
init_session,
|
|
51
51
|
createLogger,
|
|
52
52
|
init_structured
|
|
53
|
-
} from "./cli-
|
|
53
|
+
} from "./cli-prw2dfje.js";
|
|
54
54
|
import {
|
|
55
55
|
newSessionId,
|
|
56
56
|
init_id
|
|
@@ -8139,7 +8139,7 @@ async function runPentestSwarm2(input) {
|
|
|
8139
8139
|
}
|
|
8140
8140
|
async function runPentestWorkflow2(input) {
|
|
8141
8141
|
if (input.fastStrike) {
|
|
8142
|
-
const { runFastStrike } = await import("./fastStrike-
|
|
8142
|
+
const { runFastStrike } = await import("./fastStrike-gaphkhrs.js");
|
|
8143
8143
|
return runFastStrike(input);
|
|
8144
8144
|
}
|
|
8145
8145
|
const {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EndpointTransportEnum,
|
|
3
3
|
GrpcEndpointMetadataSchema
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-pwhx13h3.js";
|
|
5
5
|
import {
|
|
6
6
|
AgentRuntime,
|
|
7
7
|
defineAgent
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-dawkcveq.js";
|
|
9
9
|
import {
|
|
10
10
|
stepCountIs2,
|
|
11
11
|
init_dist
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-prw2dfje.js";
|
|
13
13
|
import {
|
|
14
14
|
tool
|
|
15
15
|
} from "./cli-pwm29ks7.js";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
openSqliteRunStore,
|
|
5
5
|
resolveWorkerEndpoint,
|
|
6
6
|
workerRequest
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-e0v6hd3d.js";
|
|
8
8
|
import {
|
|
9
9
|
launchLocalWorker
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-2etfgtj3.js";
|
|
11
11
|
|
|
12
12
|
// src/core/runtime/recordedRunClient.ts
|
|
13
13
|
import { setTimeout as delay } from "node:timers/promises";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
AgentRuntime,
|
|
10
10
|
defineAgent
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-dawkcveq.js";
|
|
12
12
|
import {
|
|
13
13
|
hasToolCall,
|
|
14
14
|
init_dist,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
init_lazyLogger,
|
|
17
17
|
createLogger,
|
|
18
18
|
init_structured
|
|
19
|
-
} from "./cli-
|
|
19
|
+
} from "./cli-prw2dfje.js";
|
|
20
20
|
|
|
21
21
|
// src/core/agents/specialized/authenticationAgent/agent.ts
|
|
22
22
|
init_dist();
|
|
@@ -6,20 +6,20 @@ import {
|
|
|
6
6
|
ALL_TOOL_NAMES2,
|
|
7
7
|
SKILL_TOOL_NAMES2,
|
|
8
8
|
OffensiveSecurityAgent
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-pwhx13h3.js";
|
|
10
10
|
import {
|
|
11
11
|
config2,
|
|
12
12
|
init_config
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-vdbnh2ha.js";
|
|
14
14
|
import {
|
|
15
15
|
init_constants
|
|
16
|
-
} from "./cli-
|
|
16
|
+
} from "./cli-mrk3hg6f.js";
|
|
17
17
|
import {
|
|
18
18
|
startAgentExecution
|
|
19
19
|
} from "./cli-g06s7edq.js";
|
|
20
20
|
import {
|
|
21
21
|
defineAgent
|
|
22
|
-
} from "./cli-
|
|
22
|
+
} from "./cli-dawkcveq.js";
|
|
23
23
|
import {
|
|
24
24
|
toolModelMessageSchema,
|
|
25
25
|
modelMessageSchema,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
init_runControlStore,
|
|
43
43
|
RunLimitError,
|
|
44
44
|
init_runModelStore
|
|
45
|
-
} from "./cli-
|
|
45
|
+
} from "./cli-prw2dfje.js";
|
|
46
46
|
import {
|
|
47
47
|
newSessionId,
|
|
48
48
|
isSessionId,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
import {
|
|
72
72
|
getCurrentVersion,
|
|
73
73
|
init_installation
|
|
74
|
-
} from "./cli-
|
|
74
|
+
} from "./cli-gzgyjs36.js";
|
|
75
75
|
import {
|
|
76
76
|
__commonJS,
|
|
77
77
|
__require
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
AgentRuntime,
|
|
6
6
|
defineAgent
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-dawkcveq.js";
|
|
8
8
|
import {
|
|
9
9
|
stepCountIs2,
|
|
10
10
|
hasToolCall,
|
|
11
11
|
init_dist
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-prw2dfje.js";
|
|
13
13
|
|
|
14
14
|
// src/core/agents/specialized/attackSurface/blackboxAgent.ts
|
|
15
15
|
init_dist();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentRuntime,
|
|
3
3
|
defineAgent
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-dawkcveq.js";
|
|
5
5
|
import {
|
|
6
6
|
stepCountIs2,
|
|
7
7
|
init_dist
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-prw2dfje.js";
|
|
9
9
|
|
|
10
10
|
// src/core/agents/specialized/codeAgent/agent.ts
|
|
11
11
|
init_dist();
|