@pensar/apex 2.6.1-canary.0cc77dcc → 2.6.1-canary.6bd9a0eb
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-h8z7zb26.js → agent-3mr91hh2.js} +6 -6
- package/build/agent-bxpq1neg.js +13 -0
- package/build/agent-c7bz4sts.js +13 -0
- package/build/{agent-runs-awgj4sat.js → agent-runs-mf3f3rej.js} +16 -16
- package/build/{agent-fb1d2x2a.js → agent-zzjh4wdc.js} +5 -5
- package/build/{apps-d50kkp3g.js → apps-cf0v4pwf.js} +13 -13
- package/build/{auth-396rc66q.js → auth-k5tbdqqc.js} +13 -13
- package/build/{blackboxAgent-j3ncq55f.js → blackboxAgent-2wmxcr9z.js} +6 -6
- package/build/{blackboxPentest-aw69ect4.js → blackboxPentest-3t257ww2.js} +11 -11
- package/build/{cli-v9rrvh12.js → cli-17pc6dxz.js} +1 -1
- package/build/{cli-691cfgdy.js → cli-2sp6cqzp.js} +2 -2
- package/build/{cli-0ym9qz7r.js → cli-6wdaxmxg.js} +1 -1
- package/build/{cli-a1m3pmke.js → cli-77net2xe.js} +6 -6
- package/build/{cli-6y2mzdz2.js → cli-7aztt103.js} +2 -2
- package/build/{cli-c0ha5wh1.js → cli-a4dsbz33.js} +79 -17
- package/build/{cli-vfta27tv.js → cli-bz6k8jjy.js} +3 -3
- package/build/{cli-38j2jc0m.js → cli-dw0dwnqr.js} +1 -1
- package/build/{cli-fapvkkbh.js → cli-ersrc3e5.js} +1 -1
- package/build/{cli-2dqvgkh8.js → cli-faxanbbg.js} +8 -8
- package/build/{cli-pckpvwbd.js → cli-hd1g4mq0.js} +1 -1
- package/build/{cli-jp6wytx1.js → cli-k8tcpxhq.js} +1 -1
- package/build/{cli-3p4gyc9m.js → cli-kyzt6ktt.js} +12 -12
- package/build/{cli-5ppxe6qz.js → cli-pxr3wd68.js} +1 -1
- package/build/{cli-xn12g67s.js → cli-rr3dpch9.js} +2 -2
- package/build/{cli-9s7snz6x.js → cli-rwjgtfx9.js} +3 -3
- package/build/{cli-8s4ew1hv.js → cli-sbp6dsb3.js} +2 -2
- package/build/{cli-nmg32cfd.js → cli-sry6hydx.js} +1 -1
- package/build/cli.js +37 -37
- package/build/{config-hddxxr27.js → config-ct5fwy77.js} +1 -1
- package/build/{fastStrike-mgws2nav.js → fastStrike-5c69y6yk.js} +5 -5
- package/build/{fixes-9qtsvwxx.js → fixes-2rvpevsq.js} +13 -13
- package/build/{index-0ef0j7yp.js → index-2se00zrk.js} +4 -4
- package/build/{index-mqaw1ac6.js → index-2vq5cn5z.js} +1 -1
- package/build/{index-zhr65sg3.js → index-6r0hax4a.js} +4 -4
- package/build/{index-zbq3rvwx.js → index-9gr4p41e.js} +2 -2
- package/build/{index-wyn4g2c1.js → index-9jwby7f2.js} +19 -19
- package/build/{index-cfbd4zej.js → index-bccap780.js} +1 -1
- package/build/{index-557xary4.js → index-ha08n1pk.js} +13 -13
- package/build/{index-0d05xcz4.js → index-rh4vdsnr.js} +6 -6
- package/build/{index-nfhetcq8.js → index-xwcnfkfr.js} +5 -5
- package/build/{issues-9zdszfq8.js → issues-q28r4dfq.js} +13 -13
- package/build/{knowledge-r6rmer3d.js → knowledge-dfxy4vz1.js} +13 -13
- package/build/lib/{chunk-2t65f749.js → chunk-17wnc845.js} +5 -5
- package/build/lib/{chunk-xcdtrzk5.js → chunk-46wjr9g0.js} +1 -1
- package/build/lib/{chunk-asbemhm5.js → chunk-52n2xtxp.js} +1 -1
- package/build/lib/{chunk-517rf135.js → chunk-9nj3xswc.js} +1 -1
- package/build/lib/{chunk-02awpt3c.js → chunk-9zk4f8d0.js} +1 -1
- package/build/lib/{chunk-k5m5rasy.js → chunk-acvem6cq.js} +1 -1
- package/build/lib/{chunk-f04pr76h.js → chunk-c7qhxa9a.js} +3 -3
- package/build/lib/{chunk-3502z798.js → chunk-esr62dx0.js} +75 -13
- package/build/lib/{chunk-wr6ke041.js → chunk-etgct41c.js} +3 -3
- package/build/lib/{chunk-0me4mrrd.js → chunk-exnknrv1.js} +11 -11
- package/build/lib/{chunk-mrjbsaf4.js → chunk-h0g5z0df.js} +9 -9
- package/build/lib/{chunk-ebkq3bcq.js → chunk-hf8wdfyb.js} +1 -1
- package/build/lib/{chunk-sk8xnywf.js → chunk-hhzw0zyr.js} +8 -8
- package/build/lib/{chunk-jah67hkt.js → chunk-hx9ey7kh.js} +1 -1
- package/build/lib/{chunk-ngp6p527.js → chunk-kwx33k00.js} +1 -1
- package/build/lib/{chunk-4ydrmwd9.js → chunk-np6enmr7.js} +11 -11
- package/build/lib/{chunk-tsnk2k9x.js → chunk-pwy5z9p0.js} +2 -2
- package/build/lib/{chunk-2j49k090.js → chunk-pzy328rd.js} +3 -3
- package/build/lib/{chunk-g8d2x00m.js → chunk-q6rk7b80.js} +3 -3
- package/build/lib/{chunk-5cp1fp0x.js → chunk-qc82p1bx.js} +1 -1
- package/build/lib/{chunk-mp1czx2y.js → chunk-sdnvvdb8.js} +1 -1
- package/build/lib/{chunk-vt9spgd1.js → chunk-tbtn37kd.js} +1 -1
- package/build/lib/{chunk-3w05jmk6.js → chunk-z0a9j991.js} +1 -1
- package/build/lib/{chunk-48zms2q1.js → chunk-zwpv4xbv.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/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 +16 -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.js +2 -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-1r7nkzhg.js → logs-yh5ka0se.js} +13 -13
- package/build/{native-rollout-evidence-y0vdtjje.js → native-rollout-evidence-f81mt443.js} +3 -3
- package/build/{offesecAgent-dfj42jkj.js → offesecAgent-fagejfqy.js} +4 -4
- package/build/pentest-t7ctedrr.js +22 -0
- package/build/{pentests-jh9az51h.js → pentests-cmp0k9ah.js} +13 -13
- package/build/recordedRunClient-f71srw6s.js +11 -0
- package/build/{targetedPentest-rgffxsgd.js → targetedPentest-mq9mwbfh.js} +6 -6
- package/build/{targets-wn0gmdhe.js → targets-trz2v20a.js} +13 -13
- package/build/threatModel-fkfbhqt5.js +21 -0
- package/build/{uninstall-cmv057jn.js → uninstall-2w974n1e.js} +1 -1
- package/build/{upload-vkkj6h54.js → upload-nsarkemh.js} +4 -4
- package/build/{utils-b1kae4f3.js → utils-2nen8qjt.js} +3 -3
- package/package.json +1 -1
- package/src/core/ai/ai.test.ts +54 -0
- package/src/core/ai/ai.ts +47 -19
- 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/tui/components/operator-dashboard/run-events.test.ts +3 -1
- package/build/agent-6mzhkzxj.js +0 -13
- package/build/agent-9ymr36jt.js +0 -13
- package/build/pentest-n8k0dd5q.js +0 -22
- package/build/recordedRunClient-mvendk9n.js +0 -11
- package/build/threatModel-6efzjpbv.js +0 -21
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TargetedPentestAgent2,
|
|
3
3
|
buildPentestSystemPrompt2
|
|
4
|
-
} from "./cli-
|
|
5
|
-
import"./cli-
|
|
4
|
+
} from "./cli-bz6k8jjy.js";
|
|
5
|
+
import"./cli-dw0dwnqr.js";
|
|
6
6
|
import"./cli-qba2x69h.js";
|
|
7
|
-
import"./cli-
|
|
8
|
-
import"./cli-
|
|
9
|
-
import"./cli-
|
|
7
|
+
import"./cli-kyzt6ktt.js";
|
|
8
|
+
import"./cli-a4dsbz33.js";
|
|
9
|
+
import"./cli-sry6hydx.js";
|
|
10
10
|
import"./cli-c2k4xxaw.js";
|
|
11
|
-
import"./cli-
|
|
11
|
+
import"./cli-hd1g4mq0.js";
|
|
12
12
|
export {
|
|
13
13
|
TargetedPentestAgent2 as TargetedPentestAgent,
|
|
14
14
|
buildPentestSystemPrompt2 as buildPentestSystemPrompt
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CodeAgent2
|
|
3
|
+
} from "./cli-sbp6dsb3.js";
|
|
4
|
+
import"./cli-dw0dwnqr.js";
|
|
5
|
+
import"./cli-qba2x69h.js";
|
|
6
|
+
import"./cli-kyzt6ktt.js";
|
|
7
|
+
import"./cli-a4dsbz33.js";
|
|
8
|
+
import"./cli-sry6hydx.js";
|
|
9
|
+
import"./cli-c2k4xxaw.js";
|
|
10
|
+
import"./cli-hd1g4mq0.js";
|
|
11
|
+
export {
|
|
12
|
+
CodeAgent2 as CodeAgent
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
runAuthenticationAgent2
|
|
3
|
+
} from "./cli-7aztt103.js";
|
|
4
|
+
import"./cli-dw0dwnqr.js";
|
|
5
|
+
import"./cli-qba2x69h.js";
|
|
6
|
+
import"./cli-kyzt6ktt.js";
|
|
7
|
+
import"./cli-a4dsbz33.js";
|
|
8
|
+
import"./cli-sry6hydx.js";
|
|
9
|
+
import"./cli-c2k4xxaw.js";
|
|
10
|
+
import"./cli-hd1g4mq0.js";
|
|
11
|
+
export {
|
|
12
|
+
runAuthenticationAgent2 as runAuthenticationAgent
|
|
13
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
config2,
|
|
3
3
|
init_config
|
|
4
|
-
} from "./cli-
|
|
5
|
-
import"./cli-
|
|
4
|
+
} from "./cli-hd1g4mq0.js";
|
|
5
|
+
import"./cli-sry6hydx.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-77net2xe.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-kyzt6ktt.js";
|
|
20
|
+
import"./cli-rr3dpch9.js";
|
|
21
|
+
import"./cli-sbp6dsb3.js";
|
|
22
|
+
import"./cli-rwjgtfx9.js";
|
|
23
|
+
import"./cli-faxanbbg.js";
|
|
24
|
+
import"./cli-7aztt103.js";
|
|
25
|
+
import"./cli-bz6k8jjy.js";
|
|
26
|
+
import"./cli-ersrc3e5.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-6wdaxmxg.js";
|
|
32
|
+
import"./cli-dw0dwnqr.js";
|
|
33
33
|
import"./cli-qba2x69h.js";
|
|
34
34
|
import {
|
|
35
35
|
buildAuthConfig,
|
|
36
36
|
init_ai
|
|
37
|
-
} from "./cli-
|
|
37
|
+
} from "./cli-a4dsbz33.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-ha08n1pk.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-f71srw6s.js");
|
|
133
133
|
const client = await openRecordedRunClient(values.store);
|
|
134
134
|
const controller = new AbortController;
|
|
135
135
|
const detach = () => controller.abort();
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import"./cli-
|
|
2
|
-
import"./cli-
|
|
3
|
-
import"./cli-
|
|
1
|
+
import"./cli-kyzt6ktt.js";
|
|
2
|
+
import"./cli-hd1g4mq0.js";
|
|
3
|
+
import"./cli-sry6hydx.js";
|
|
4
4
|
import {
|
|
5
5
|
AgentRuntime,
|
|
6
6
|
defineAgent
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-dw0dwnqr.js";
|
|
8
8
|
import"./cli-qba2x69h.js";
|
|
9
9
|
import {
|
|
10
10
|
stepCountIs2,
|
|
11
11
|
init_dist
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-a4dsbz33.js";
|
|
13
13
|
import"./cli-c2k4xxaw.js";
|
|
14
14
|
import {
|
|
15
15
|
init_zod
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
|
-
import"./cli-
|
|
3
|
-
import"./cli-
|
|
4
|
-
import"./cli-
|
|
2
|
+
import"./cli-hd1g4mq0.js";
|
|
3
|
+
import"./cli-sry6hydx.js";
|
|
4
|
+
import"./cli-77net2xe.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-kyzt6ktt.js";
|
|
22
|
+
import"./cli-rr3dpch9.js";
|
|
23
|
+
import"./cli-sbp6dsb3.js";
|
|
24
|
+
import"./cli-rwjgtfx9.js";
|
|
25
|
+
import"./cli-faxanbbg.js";
|
|
26
|
+
import"./cli-7aztt103.js";
|
|
27
|
+
import"./cli-bz6k8jjy.js";
|
|
28
|
+
import"./cli-ersrc3e5.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-dw0dwnqr.js";
|
|
34
34
|
import"./cli-qba2x69h.js";
|
|
35
|
-
import"./cli-
|
|
35
|
+
import"./cli-a4dsbz33.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-hd1g4mq0.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-sry6hydx.js";
|
|
22
|
+
import"./cli-77net2xe.js";
|
|
23
|
+
import"./cli-kyzt6ktt.js";
|
|
24
|
+
import"./cli-rr3dpch9.js";
|
|
25
|
+
import"./cli-sbp6dsb3.js";
|
|
26
|
+
import"./cli-rwjgtfx9.js";
|
|
27
|
+
import"./cli-faxanbbg.js";
|
|
28
|
+
import"./cli-7aztt103.js";
|
|
29
|
+
import"./cli-bz6k8jjy.js";
|
|
30
|
+
import"./cli-ersrc3e5.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-dw0dwnqr.js";
|
|
36
36
|
import"./cli-qba2x69h.js";
|
|
37
|
-
import"./cli-
|
|
37
|
+
import"./cli-a4dsbz33.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-rr3dpch9.js";
|
|
4
|
+
import"./cli-dw0dwnqr.js";
|
|
5
5
|
import"./cli-qba2x69h.js";
|
|
6
|
-
import"./cli-
|
|
7
|
-
import"./cli-
|
|
8
|
-
import"./cli-
|
|
6
|
+
import"./cli-kyzt6ktt.js";
|
|
7
|
+
import"./cli-a4dsbz33.js";
|
|
8
|
+
import"./cli-sry6hydx.js";
|
|
9
9
|
import"./cli-c2k4xxaw.js";
|
|
10
|
-
import"./cli-
|
|
10
|
+
import"./cli-hd1g4mq0.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-hd1g4mq0.js";
|
|
2
|
+
import"./cli-sry6hydx.js";
|
|
3
|
+
import"./cli-kyzt6ktt.js";
|
|
4
|
+
import"./cli-rr3dpch9.js";
|
|
5
|
+
import"./cli-bz6k8jjy.js";
|
|
6
|
+
import"./cli-ersrc3e5.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-faxanbbg.js";
|
|
12
|
+
import"./cli-sbp6dsb3.js";
|
|
13
|
+
import"./cli-rwjgtfx9.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-dw0dwnqr.js";
|
|
19
19
|
import"./cli-qba2x69h.js";
|
|
20
20
|
import {
|
|
21
21
|
init_ai,
|
|
22
22
|
normalizeStepUsage
|
|
23
|
-
} from "./cli-
|
|
23
|
+
} from "./cli-a4dsbz33.js";
|
|
24
24
|
import"./cli-c2k4xxaw.js";
|
|
25
25
|
|
|
26
26
|
// src/core/api/blackboxPentest.ts
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
openSqliteRunStore,
|
|
5
5
|
resolveWorkerEndpoint,
|
|
6
6
|
workerRequest
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-77net2xe.js";
|
|
8
8
|
import {
|
|
9
9
|
launchLocalWorker
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-6wdaxmxg.js";
|
|
11
11
|
|
|
12
12
|
// src/core/runtime/recordedRunClient.ts
|
|
13
13
|
import { setTimeout as delay } from "node:timers/promises";
|
|
@@ -6,20 +6,20 @@ import {
|
|
|
6
6
|
ALL_TOOL_NAMES2,
|
|
7
7
|
SKILL_TOOL_NAMES2,
|
|
8
8
|
OffensiveSecurityAgent
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-kyzt6ktt.js";
|
|
10
10
|
import {
|
|
11
11
|
config2,
|
|
12
12
|
init_config
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-hd1g4mq0.js";
|
|
14
14
|
import {
|
|
15
15
|
init_constants
|
|
16
|
-
} from "./cli-
|
|
16
|
+
} from "./cli-sry6hydx.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-dw0dwnqr.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-a4dsbz33.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-17pc6dxz.js";
|
|
75
75
|
import {
|
|
76
76
|
__commonJS,
|
|
77
77
|
__require
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
AgentRuntime,
|
|
10
10
|
defineAgent
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-dw0dwnqr.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-a4dsbz33.js";
|
|
20
20
|
|
|
21
21
|
// src/core/agents/specialized/authenticationAgent/agent.ts
|
|
22
22
|
init_dist();
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
config2,
|
|
8
8
|
init_config
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-hd1g4mq0.js";
|
|
10
10
|
import {
|
|
11
11
|
getPensarGatewayUrl,
|
|
12
12
|
init_constants,
|
|
13
13
|
ensureValidToken2,
|
|
14
14
|
signGatewayRequest2,
|
|
15
15
|
init_auth
|
|
16
|
-
} from "./cli-
|
|
16
|
+
} from "./cli-sry6hydx.js";
|
|
17
17
|
import {
|
|
18
18
|
init_v4,
|
|
19
19
|
ZodFirstPartyTypeKind,
|
|
@@ -106,7 +106,7 @@ import {
|
|
|
106
106
|
HOONIFY_BASE_URL,
|
|
107
107
|
resolveHoonifyModel,
|
|
108
108
|
init_hoonify
|
|
109
|
-
} from "./cli-
|
|
109
|
+
} from "./cli-pxr3wd68.js";
|
|
110
110
|
import {
|
|
111
111
|
init_zod
|
|
112
112
|
} from "./cli-3qznjsnr.js";
|
|
@@ -138,7 +138,7 @@ import {
|
|
|
138
138
|
import {
|
|
139
139
|
getCurrentVersion,
|
|
140
140
|
init_installation
|
|
141
|
-
} from "./cli-
|
|
141
|
+
} from "./cli-17pc6dxz.js";
|
|
142
142
|
import {
|
|
143
143
|
require_src6
|
|
144
144
|
} from "./cli-bb02pjt0.js";
|
|
@@ -9871,6 +9871,12 @@ var init_anthropic = __esm(() => {
|
|
|
9871
9871
|
provider: "anthropic",
|
|
9872
9872
|
contextLength: 1e6
|
|
9873
9873
|
},
|
|
9874
|
+
{
|
|
9875
|
+
id: "claude-haiku-5-5",
|
|
9876
|
+
name: "Claude Haiku 5.5",
|
|
9877
|
+
provider: "anthropic",
|
|
9878
|
+
contextLength: 1e6
|
|
9879
|
+
},
|
|
9874
9880
|
{
|
|
9875
9881
|
id: "claude-sonnet-5-5",
|
|
9876
9882
|
name: "Claude Sonnet 5.5",
|
|
@@ -10364,6 +10370,18 @@ var init_bedrock = __esm(() => {
|
|
|
10364
10370
|
provider: "bedrock",
|
|
10365
10371
|
contextLength: 262000
|
|
10366
10372
|
},
|
|
10373
|
+
{
|
|
10374
|
+
id: "anthropic.claude-haiku-5-5",
|
|
10375
|
+
name: "Claude Haiku 5.5 (Bedrock)",
|
|
10376
|
+
provider: "bedrock",
|
|
10377
|
+
contextLength: 1e6
|
|
10378
|
+
},
|
|
10379
|
+
{
|
|
10380
|
+
id: "us.anthropic.claude-haiku-5-5",
|
|
10381
|
+
name: "Claude Haiku 5.5 (US)",
|
|
10382
|
+
provider: "bedrock",
|
|
10383
|
+
contextLength: 1e6
|
|
10384
|
+
},
|
|
10367
10385
|
{
|
|
10368
10386
|
id: "anthropic.claude-opus-4-8",
|
|
10369
10387
|
name: "Claude Opus 4.8 (Bedrock)",
|
|
@@ -10495,24 +10513,47 @@ var init_bedrock = __esm(() => {
|
|
|
10495
10513
|
name: "Claude Opus 4.8 (Global)",
|
|
10496
10514
|
provider: "bedrock",
|
|
10497
10515
|
contextLength: 1e6
|
|
10516
|
+
},
|
|
10517
|
+
{
|
|
10518
|
+
id: "global.anthropic.claude-haiku-5-5",
|
|
10519
|
+
name: "Claude Haiku 5.5 (Global)",
|
|
10520
|
+
provider: "bedrock",
|
|
10521
|
+
contextLength: 1e6
|
|
10498
10522
|
}
|
|
10499
10523
|
];
|
|
10500
10524
|
});
|
|
10501
10525
|
|
|
10502
10526
|
// src/core/ai/models/claude-capabilities.ts
|
|
10503
10527
|
function getClaudeCapabilities(modelId) {
|
|
10504
|
-
const nativeId = modelId.replace(/^(concentrate:|
|
|
10528
|
+
const nativeId = modelId.replace(/^(concentrate:|pensar:)/, "").replace(/^(?:(?:us|global|eu|au|jp)\.)?anthropic[./]/, "").replace(/(\d)\.(\d)/g, "$1-$2");
|
|
10505
10529
|
return CLAUDE_CAPABILITIES[nativeId];
|
|
10506
10530
|
}
|
|
10507
10531
|
var CLAUDE_CAPABILITIES;
|
|
10508
10532
|
var init_claude_capabilities = __esm(() => {
|
|
10509
10533
|
CLAUDE_CAPABILITIES = {
|
|
10510
|
-
"claude-
|
|
10511
|
-
|
|
10512
|
-
|
|
10513
|
-
|
|
10514
|
-
|
|
10515
|
-
"claude-
|
|
10534
|
+
"claude-haiku-5-5": {
|
|
10535
|
+
alwaysOnThinking: false,
|
|
10536
|
+
bindsThinking: true,
|
|
10537
|
+
defaultEffort: "medium"
|
|
10538
|
+
},
|
|
10539
|
+
"claude-sonnet-5-5": {
|
|
10540
|
+
alwaysOnThinking: true,
|
|
10541
|
+
bindsThinking: true,
|
|
10542
|
+
defaultEffort: "high"
|
|
10543
|
+
},
|
|
10544
|
+
"claude-opus-5-5": {
|
|
10545
|
+
alwaysOnThinking: true,
|
|
10546
|
+
bindsThinking: true,
|
|
10547
|
+
defaultEffort: "medium"
|
|
10548
|
+
},
|
|
10549
|
+
"claude-fable-5-1": {
|
|
10550
|
+
alwaysOnThinking: true,
|
|
10551
|
+
bindsThinking: true,
|
|
10552
|
+
defaultEffort: "high"
|
|
10553
|
+
},
|
|
10554
|
+
"claude-opus-5": { alwaysOnThinking: false, defaultEffort: "high" },
|
|
10555
|
+
"claude-sonnet-5": { alwaysOnThinking: false, defaultEffort: "high" },
|
|
10556
|
+
"claude-fable-5": { alwaysOnThinking: true, defaultEffort: "high" }
|
|
10516
10557
|
};
|
|
10517
10558
|
});
|
|
10518
10559
|
|
|
@@ -11319,6 +11360,12 @@ var init_openai = __esm(() => {
|
|
|
11319
11360
|
var OPENROUTER_MODELS;
|
|
11320
11361
|
var init_openrouter = __esm(() => {
|
|
11321
11362
|
OPENROUTER_MODELS = [
|
|
11363
|
+
{
|
|
11364
|
+
id: "anthropic/claude-haiku-5.5",
|
|
11365
|
+
name: "Claude Haiku 5.5",
|
|
11366
|
+
provider: "openrouter",
|
|
11367
|
+
contextLength: 1e6
|
|
11368
|
+
},
|
|
11322
11369
|
{
|
|
11323
11370
|
id: "anthropic/claude-sonnet-5.5",
|
|
11324
11371
|
name: "Claude Sonnet 5.5",
|
|
@@ -51050,7 +51097,7 @@ async function create(input) {
|
|
|
51050
51097
|
} else if (input.inheritEnvironmentConfig === false) {
|
|
51051
51098
|
snapshotHeaders = {};
|
|
51052
51099
|
} else {
|
|
51053
|
-
const { config: appConfig } = await import("./index-
|
|
51100
|
+
const { config: appConfig } = await import("./index-2vq5cn5z.js");
|
|
51054
51101
|
const cfg = await appConfig.get();
|
|
51055
51102
|
snapshotHeaders = cfg.defaultHeaders ? { ...cfg.defaultHeaders } : { ...DEFAULT_HEADER_RECORD };
|
|
51056
51103
|
}
|
|
@@ -52295,11 +52342,12 @@ function buildReasoningProviderOptions(model, opts) {
|
|
|
52295
52342
|
if (claude) {
|
|
52296
52343
|
const provider = getModelInfo(model).provider;
|
|
52297
52344
|
const thinking = !!opts.enableThinking || claude.alwaysOnThinking;
|
|
52345
|
+
const effort = opts.thinkingEffort ?? claude.defaultEffort;
|
|
52298
52346
|
if (provider === "openrouter") {
|
|
52299
52347
|
return {
|
|
52300
52348
|
openrouter: {
|
|
52301
52349
|
reasoning: {
|
|
52302
|
-
effort: thinking ?
|
|
52350
|
+
effort: thinking ? effort : "none",
|
|
52303
52351
|
enabled: thinking
|
|
52304
52352
|
}
|
|
52305
52353
|
}
|
|
@@ -52309,16 +52357,30 @@ function buildReasoningProviderOptions(model, opts) {
|
|
|
52309
52357
|
return {
|
|
52310
52358
|
openai: {
|
|
52311
52359
|
forceReasoning: true,
|
|
52312
|
-
reasoningEffort: thinking ?
|
|
52360
|
+
reasoningEffort: thinking ? effort : "none",
|
|
52313
52361
|
reasoningSummary: "auto"
|
|
52314
52362
|
}
|
|
52315
52363
|
};
|
|
52316
52364
|
}
|
|
52317
52365
|
return {
|
|
52318
52366
|
anthropic: {
|
|
52319
|
-
thinking:
|
|
52320
|
-
...
|
|
52321
|
-
}
|
|
52367
|
+
thinking: thinking ? { type: "adaptive", display: "summarized" } : { type: "disabled" },
|
|
52368
|
+
...thinking ? { effort } : {}
|
|
52369
|
+
},
|
|
52370
|
+
...provider === "bedrock" ? {
|
|
52371
|
+
bedrock: {
|
|
52372
|
+
reasoningConfig: thinking ? {
|
|
52373
|
+
type: "adaptive",
|
|
52374
|
+
display: "summarized",
|
|
52375
|
+
maxReasoningEffort: effort
|
|
52376
|
+
} : { type: "disabled" },
|
|
52377
|
+
...!thinking ? {
|
|
52378
|
+
additionalModelRequestFields: {
|
|
52379
|
+
thinking: { type: "disabled" }
|
|
52380
|
+
}
|
|
52381
|
+
} : {}
|
|
52382
|
+
}
|
|
52383
|
+
} : {}
|
|
52322
52384
|
};
|
|
52323
52385
|
}
|
|
52324
52386
|
const useThinking = !!opts.enableThinking && isAnthropicProvider(model) && modelSupportsAdaptiveThinking(model);
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
REPORT_ERROR_TOOL_NAME,
|
|
8
8
|
createReportErrorTool,
|
|
9
9
|
PentestReportedError
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-kyzt6ktt.js";
|
|
11
11
|
import {
|
|
12
12
|
GOOGLE_SIGNIN_PROMPT_GUIDANCE,
|
|
13
13
|
browserEngineForGoogleSignIn
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
AgentRuntime,
|
|
20
20
|
defineAgent
|
|
21
|
-
} from "./cli-
|
|
21
|
+
} from "./cli-dw0dwnqr.js";
|
|
22
22
|
import {
|
|
23
23
|
hasToolCall,
|
|
24
24
|
init_dist,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
init_lazyLogger,
|
|
27
27
|
createLogger,
|
|
28
28
|
init_structured
|
|
29
|
-
} from "./cli-
|
|
29
|
+
} from "./cli-a4dsbz33.js";
|
|
30
30
|
import {
|
|
31
31
|
init_zod
|
|
32
32
|
} from "./cli-3qznjsnr.js";
|