@pensar/apex 2.7.0-canary.e18bef4d → 2.7.0-canary.f6cdf7be
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 +13 -0
- package/build/agent-34gmbmct.js +14 -0
- package/build/{agent-y7w88qe9.js → agent-3nyddsj2.js} +7 -7
- package/build/agent-jdcbh4s0.js +14 -0
- package/build/{agent-pdaya70z.js → agent-rjyfyw0g.js} +6 -6
- package/build/{agent-runs-f0fpf651.js → agent-runs-dhvj9n11.js} +20 -20
- package/build/{apps-6hstfsy5.js → apps-xb4dwm8m.js} +17 -17
- package/build/{auth-sdg0sqa0.js → auth-3herxns4.js} +17 -17
- package/build/blackboxAgent-d7xv0thk.js +14 -0
- package/build/{blackboxPentest-1850fx09.js → blackboxPentest-n73frjae.js} +12 -12
- package/build/{cli-se8ae8z3.js → cli-0rhfexax.js} +3 -3
- package/build/{cli-vfkmdrkb.js → cli-0xvrtsac.js} +5 -4
- package/build/{cli-7xf5h4pb.js → cli-15df7cy4.js} +14 -8
- package/build/{cli-9dka0an3.js → cli-16jm0s8q.js} +2 -2
- package/build/{cli-tmr100n4.js → cli-1k414c58.js} +1 -1
- package/build/{cli-fnth71q3.js → cli-2r2agtre.js} +2 -2
- package/build/{cli-739g9qgd.js → cli-3ne35gxp.js} +388 -260
- package/build/cli-4fkaes4s.js +1199 -0
- package/build/{cli-1qyejhv5.js → cli-5nsn1vpx.js} +2 -2
- package/build/{cli-4h9d98y6.js → cli-67bcwpc2.js} +1 -1
- package/build/{cli-y1z3vemx.js → cli-730f1622.js} +1 -1
- package/build/{cli-gsaf4jk3.js → cli-7898kznf.js} +2 -2
- package/build/{cli-xcy2vxj2.js → cli-ak23knae.js} +1 -1
- package/build/{cli-qmt07txj.js → cli-cwmkbq45.js} +4 -4
- package/build/{cli-c29xr0h0.js → cli-d13d67ym.js} +2 -2
- package/build/{cli-67d2744b.js → cli-ebx3j3c5.js} +13 -49
- package/build/{cli-ssstde7z.js → cli-f7v0fgc0.js} +1 -1
- package/build/{cli-gt29d4q6.js → cli-h2r33z2v.js} +10 -10
- package/build/{cli-3gt761d2.js → cli-j0wfj2kw.js} +6 -0
- package/build/{cli-qp8413xr.js → cli-jqf27aw9.js} +17 -12
- package/build/{cli-z85qmtjd.js → cli-nrz17r1p.js} +4358 -982
- package/build/{cli-gy5stwkg.js → cli-q9rsfw2a.js} +5 -1
- package/build/{cli-rv2d03xr.js → cli-rsdhzyxc.js} +1 -1
- package/build/{cli-k46jmzbs.js → cli-sy52tg90.js} +3 -1
- package/build/{cli-zs7rp1f6.js → cli-veyqzxra.js} +4 -4
- package/build/{cli-1h046yxp.js → cli-xc4jc5g8.js} +1 -1
- package/build/{cli-pwm29ks7.js → cli-ychebg4z.js} +16 -16
- package/build/cli.js +47 -42
- package/build/{config-kgz8rzkt.js → config-csq1zxtv.js} +4 -4
- package/build/{doctor-z94afr10.js → doctor-srja68wr.js} +1 -0
- package/build/emscripten-module-kzkvkeqz.js +503 -0
- package/build/{export-trajectory-rt4tf07k.js → export-trajectory-ex317s0n.js} +1 -1
- package/build/{fastStrike-65d7njyn.js → fastStrike-d6ekb4qh.js} +6 -6
- package/build/ffi-pf145jhd.js +78 -0
- package/build/{fixes-xmq89hve.js → fixes-3msn9pqm.js} +17 -17
- package/build/{index-t0p01qg4.js → index-0hz1wzxq.js} +9 -9
- package/build/{index-cxa5jxva.js → index-82q74kah.js} +5 -5
- package/build/{index-1z234ygf.js → index-f1a9x9ez.js} +7 -7
- package/build/{index-qnyevb6q.js → index-ffe5c30s.js} +13 -13
- package/build/{index-js3zc3cb.js → index-j0wkw2yh.js} +2 -2
- package/build/{index-wh328kzg.js → index-kgssmyk2.js} +1 -1
- package/build/{index-hx133hms.js → index-mgq7hqhw.js} +5 -4
- package/build/{index-pvm55x85.js → index-s12ksdnj.js} +1 -1
- package/build/{index-m6graaat.js → index-th12cq1c.js} +17 -17
- package/build/{index-27xpg3k0.js → index-xkdgbesy.js} +65 -26
- package/build/{issues-rscc7pny.js → issues-sx841383.js} +17 -17
- package/build/{knowledge-5vd451za.js → knowledge-sqe5z2ar.js} +17 -17
- package/build/{lance-s26xde23.js → lance-43s36cr7.js} +8 -8
- package/build/lib/{chunk-6j0mc5qw.js → chunk-036v016g.js} +4 -1
- package/build/lib/{chunk-kcq1qb6n.js → chunk-05qvh0kp.js} +12 -48
- package/build/lib/{chunk-mdfneahm.js → chunk-2zym7z9d.js} +24 -17
- package/build/lib/{chunk-6q0xnkda.js → chunk-3vvhjf9b.js} +9 -3
- package/build/lib/{chunk-3mgmff3q.js → chunk-4m0zmj0b.js} +1126 -51
- package/build/lib/{chunk-5gk78665.js → chunk-6nbh1eg1.js} +1 -1
- package/build/lib/{chunk-1gb8gefz.js → chunk-86sya3w8.js} +193 -343
- package/build/lib/{chunk-2yv9vekb.js → chunk-88y6svhr.js} +1 -1
- package/build/lib/{chunk-12qns4xq.js → chunk-9psbcps6.js} +1 -1
- package/build/lib/{chunk-66hd85x8.js → chunk-bakpxqpv.js} +1 -1
- package/build/lib/{chunk-2q39y7g0.js → chunk-dn4zp4dr.js} +1 -1
- package/build/lib/{chunk-5avnedwm.js → chunk-e0nhccd7.js} +589 -97
- package/build/lib/{chunk-pzv4df99.js → chunk-f0r8pb9d.js} +1 -1
- package/build/lib/{chunk-wtz8qt8q.js → chunk-f2esp324.js} +137 -119
- package/build/lib/{chunk-jjqcnbz9.js → chunk-g20qjtah.js} +11 -10
- package/build/lib/{chunk-j84kpwgp.js → chunk-gn18j4fc.js} +2 -2
- package/build/lib/chunk-k5ck1jqf.js +112 -0
- package/build/lib/{chunk-7jfqqwyq.js → chunk-kh2p8hzh.js} +5 -5
- package/build/lib/{chunk-nctbsa6r.js → chunk-q065dv8y.js} +5 -1
- package/build/lib/{chunk-cmb702kp.js → chunk-sbq4e99t.js} +2 -1
- package/build/lib/{chunk-5wqbq9hw.js → chunk-sfcgtqfg.js} +1 -1
- package/build/lib/{chunk-h9h4t4gc.js → chunk-tparpmzd.js} +10 -9
- package/build/lib/{chunk-a3edjxz9.js → chunk-tqs67gqe.js} +11 -11
- package/build/lib/{chunk-4x6t39xs.js → chunk-vcwyb6ba.js} +6 -6
- package/build/lib/{chunk-rsv4feh8.js → chunk-w3c69y0y.js} +1 -1
- package/build/lib/{chunk-j0qn7hzk.js → chunk-xebz8z2r.js} +2 -2
- package/build/lib/core/agents/agentRuntime.d.ts +4 -0
- package/build/lib/core/agents/offSecAgent/index.js +11 -10
- package/build/lib/core/agents/offSecAgent/offensiveSecurityAgent.d.ts +1 -0
- package/build/lib/core/agents/offSecAgent/runtimeContext.d.ts +1 -0
- package/build/lib/core/agents/offSecAgent/subagentSpawner.d.ts +1 -0
- package/build/lib/core/agents/offSecAgent/subagentSpawner.js +6 -5
- package/build/lib/core/agents/offSecAgent/tools/browserHeaderRouting.d.ts +2 -0
- package/build/lib/core/agents/offSecAgent/tools/getPage.d.ts +1 -2
- package/build/lib/core/agents/offSecAgent/tools/httpRequest.d.ts +1 -1
- package/build/lib/core/agents/offSecAgent/tools/index.js +10 -9
- package/build/lib/core/agents/offSecAgent/tools/scopeGuard.d.ts +7 -18
- package/build/lib/core/agents/offSecAgent/tools/types.d.ts +2 -1
- package/build/lib/core/agents/offSecAgent/tools/webSearch.d.ts +8 -0
- package/build/lib/core/agents/offSecAgent/types.d.ts +9 -1
- package/build/lib/core/agents/specialized/attackSurface/blackboxAgent.js +11 -10
- package/build/lib/core/agents/specialized/attackSurface/prompts.d.ts +1 -1
- package/build/lib/core/agents/specialized/attackSurface/schemas.js +11 -10
- package/build/lib/core/agents/specialized/authenticationAgent/index.js +12 -11
- package/build/lib/core/agents/specialized/codeAgent/agent.js +11 -10
- package/build/lib/core/agents/specialized/findingJudge/agent.js +10 -9
- package/build/lib/core/agents/specialized/findingJudge/index.d.ts +1 -1
- package/build/lib/core/agents/specialized/findingJudge/index.js +4 -3
- package/build/lib/core/agents/specialized/patching/index.js +12 -11
- package/build/lib/core/agents/specialized/pentest/agent.js +11 -10
- package/build/lib/core/agents/specialized/whiteboxAttackSurface/index.js +11 -10
- package/build/lib/core/ai/ai.d.ts +5 -2
- package/build/lib/core/ai/ai.js +3 -2
- package/build/lib/core/ai/index.d.ts +2 -0
- package/build/lib/core/ai/index.js +6 -3
- package/build/lib/core/ai/modelRuntime.d.ts +10 -0
- package/build/lib/core/ai/models/inference.d.ts +2 -0
- package/build/lib/core/ai/utils.d.ts +2 -0
- package/build/lib/core/ai/utils.js +3 -2
- package/build/lib/core/api/index.js +23 -21
- package/build/lib/core/api/targetedPentest.js +12 -11
- package/build/lib/core/code-mode/capabilityInvoker.d.ts +53 -0
- package/build/lib/core/code-mode/index.d.ts +3 -0
- package/build/lib/core/code-mode/runtime.d.ts +42 -0
- package/build/lib/core/code-mode/tools.d.ts +16 -0
- package/build/lib/core/config/config.d.ts +2 -0
- package/build/lib/core/config/index.js +1 -1
- package/build/lib/core/findings/registry.js +4 -3
- package/build/lib/core/http/researchFetchToken.d.ts +2 -0
- package/build/lib/core/http/targetHeaders.d.ts +2 -0
- package/build/lib/core/http/targetScope.d.ts +3 -0
- package/build/lib/core/providers/types.d.ts +1 -1
- package/build/lib/core/providers/utils.d.ts +1 -1
- package/build/lib/core/session/index.js +3 -2
- package/build/lib/core/session/persistence.js +4 -3
- package/build/lib/core/tools/backends/index.js +3 -1
- package/build/lib/core/tools/backends/types.d.ts +2 -0
- package/build/lib/core/workflows/pentest.js +17 -16
- package/build/lib/core/workflows/seams.js +5 -4
- package/build/lib/core/workflows/whiteboxAttackSurface.js +13 -12
- package/build/lib/index.js +24 -23
- package/build/{logs-tax0j5es.js → logs-5a82dn40.js} +17 -17
- package/build/module-ES6BEMUI-6ewavg9p.js +12 -0
- package/build/{native-rollout-evidence-0820cgjt.js → native-rollout-evidence-hcx5fq4d.js} +4 -4
- package/build/{offesecAgent-78zt4ce1.js → offesecAgent-36mp5t7n.js} +6 -6
- package/build/pentest-p1tjfres.js +23 -0
- package/build/{pentests-f1kh0619.js → pentests-yr3am8eg.js} +17 -17
- package/build/recordedRunClient-jrasfd3h.js +11 -0
- package/build/{subagentSpawner-xzyhb9e5.js → subagentSpawner-m17w7z4b.js} +4 -4
- package/build/{targetedPentest-p94z9n61.js → targetedPentest-bmx2w41m.js} +8 -8
- package/build/{targets-f149r24n.js → targets-8e2tmhsj.js} +17 -17
- package/build/threatModel-ec0272nc.js +24 -0
- package/build/{uninstall-7kxqrs32.js → uninstall-hgtqggvn.js} +1 -1
- package/build/{upload-03e2pj1m.js → upload-dyzsg969.js} +4 -4
- package/build/{utils-ec43nwzn.js → utils-862v7pgy.js} +8 -4
- package/package.json +3 -1
- package/src/cli/agent-runs.test.ts +1 -4
- package/src/cli/issues.test.ts +17 -1
- package/src/cli.ts +1 -0
- package/src/core/agents/agentRuntime.test.ts +16 -0
- package/src/core/agents/agentRuntime.ts +8 -0
- package/src/core/agents/offSecAgent/offensiveSecurityAgent.codeMode.test.ts +435 -0
- package/src/core/agents/offSecAgent/offensiveSecurityAgent.runtimeContext.test.ts +1 -0
- package/src/core/agents/offSecAgent/offensiveSecurityAgent.test.ts +6 -1
- package/src/core/agents/offSecAgent/offensiveSecurityAgent.ts +94 -8
- package/src/core/agents/offSecAgent/prompt.ts +2 -2
- package/src/core/agents/offSecAgent/recordedTools.test.ts +6 -1
- package/src/core/agents/offSecAgent/runtimeContext.test.ts +19 -0
- package/src/core/agents/offSecAgent/runtimeContext.ts +9 -2
- package/src/core/agents/offSecAgent/selectiveConstruction.publicPath.test.ts +2 -0
- package/src/core/agents/offSecAgent/selectiveConstruction.test.ts +6 -1
- package/src/core/agents/offSecAgent/subagentSpawner.hooks.test.ts +3 -0
- package/src/core/agents/offSecAgent/subagentSpawner.ts +7 -0
- package/src/core/agents/offSecAgent/tools/browserHeaderRouting.redirect.test.ts +141 -0
- package/src/core/agents/offSecAgent/tools/browserHeaderRouting.test.ts +106 -8
- package/src/core/agents/offSecAgent/tools/browserHeaderRouting.ts +56 -16
- package/src/core/agents/offSecAgent/tools/delegateAuth.ts +5 -0
- package/src/core/agents/offSecAgent/tools/documentFinding.ts +1 -0
- package/src/core/agents/offSecAgent/tools/executeCommand.test.ts +2 -1
- package/src/core/agents/offSecAgent/tools/getPage.test.ts +120 -0
- package/src/core/agents/offSecAgent/tools/getPage.ts +24 -19
- package/src/core/agents/offSecAgent/tools/httpBackends.test.ts +18 -25
- package/src/core/agents/offSecAgent/tools/httpRequest.body.test.ts +214 -0
- package/src/core/agents/offSecAgent/tools/httpRequest.test.ts +54 -0
- package/src/core/agents/offSecAgent/tools/httpRequest.ts +20 -11
- package/src/core/agents/offSecAgent/tools/playwrightMcp.test.ts +5 -0
- package/src/core/agents/offSecAgent/tools/playwrightMcp.ts +5 -2
- package/src/core/agents/offSecAgent/tools/runAttackSurface.ts +2 -0
- package/src/core/agents/offSecAgent/tools/runPentestWorkflow.ts +1 -0
- package/src/core/agents/offSecAgent/tools/sandboxPlaywright.test.ts +47 -0
- package/src/core/agents/offSecAgent/tools/sandboxPlaywright.ts +65 -2
- package/src/core/agents/offSecAgent/tools/scopeGuard.test.ts +121 -52
- package/src/core/agents/offSecAgent/tools/scopeGuard.ts +50 -30
- package/src/core/agents/offSecAgent/tools/spawnCodingAgent.ts +1 -0
- package/src/core/agents/offSecAgent/tools/spawnPentestAgent.test.ts +4 -3
- package/src/core/agents/offSecAgent/tools/spawnPentestAgent.ts +1 -0
- package/src/core/agents/offSecAgent/tools/spawnPentestSwarm.ts +1 -0
- package/src/core/agents/offSecAgent/tools/threatModelGenerator.ts +1 -0
- package/src/core/agents/offSecAgent/tools/types.ts +2 -0
- package/src/core/agents/offSecAgent/tools/webSearch.test.ts +154 -0
- package/src/core/agents/offSecAgent/tools/webSearch.ts +119 -87
- package/src/core/agents/offSecAgent/types.ts +10 -0
- package/src/core/agents/specialized/attackSurface/blackboxAgent.ts +3 -3
- package/src/core/agents/specialized/attackSurface/prompts.ts +9 -45
- package/src/core/agents/specialized/findingJudge/index.ts +2 -0
- package/src/core/agents/specialized/pentest/agent.ts +1 -1
- package/src/core/ai/ai.effective-tools.test.ts +27 -2
- package/src/core/ai/ai.test.ts +34 -6
- package/src/core/ai/ai.ts +22 -2
- package/src/core/ai/compactionTelemetry.test.ts +167 -5
- package/src/core/ai/index.ts +6 -0
- package/src/core/ai/inference.test.ts +292 -0
- package/src/core/ai/modelRuntime.test.ts +58 -0
- package/src/core/ai/modelRuntime.ts +63 -0
- package/src/core/ai/models/concentrate.ts +13 -0
- package/src/core/ai/models/index.ts +10 -7
- package/src/core/ai/models/inference.ts +11 -0
- package/src/core/ai/models/models.test.ts +28 -0
- package/src/core/ai/models/openai.ts +6 -0
- package/src/core/ai/providers/concentrate.ts +1 -0
- package/src/core/ai/providers/openai-models.test.ts +5 -0
- package/src/core/ai/providers/pensarResponsesStream.test.ts +117 -0
- package/src/core/ai/providers/pensarResponsesStream.ts +20 -1
- package/src/core/ai/reasoning.test.ts +4 -0
- package/src/core/ai/reasoning.ts +2 -0
- package/src/core/ai/utils.ts +47 -12
- package/src/core/api/recordedRun.loop.test.ts +67 -0
- package/src/core/code-mode/capabilityInvoker.test.ts +424 -0
- package/src/core/code-mode/capabilityInvoker.ts +383 -0
- package/src/core/code-mode/index.ts +8 -0
- package/src/core/code-mode/runtime.setup.test.ts +157 -0
- package/src/core/code-mode/runtime.test.ts +664 -0
- package/src/core/code-mode/runtime.ts +700 -0
- package/src/core/code-mode/tools.test.ts +375 -0
- package/src/core/code-mode/tools.ts +281 -0
- package/src/core/config/config.test.ts +7 -0
- package/src/core/config/config.ts +3 -0
- package/src/core/doctor.ts +1 -0
- package/src/core/http/agentNetworkPolicyFixture.test.ts +39 -0
- package/src/core/http/headers.contract.test.ts +100 -2
- package/src/core/http/researchFetchToken.test.ts +50 -0
- package/src/core/http/researchFetchToken.ts +63 -0
- package/src/core/http/targetHeaders.ts +26 -8
- package/src/core/http/targetScope.ts +47 -11
- package/src/core/providers/types.ts +7 -0
- package/src/core/providers/utils.ts +6 -1
- package/src/core/providers/verify.test.ts +54 -0
- package/src/core/providers/verify.ts +28 -0
- package/src/core/runtime/runRecoveryPlan.test.ts +18 -0
- package/src/core/runtime/runRecoveryPlan.ts +5 -0
- package/src/core/runtime/runTools.test.ts +2 -0
- package/src/core/runtime/runTools.ts +4 -1
- package/src/core/runtime/sqliteControlStore.test.ts +21 -0
- package/src/core/runtime/sqliteControlStore.ts +6 -1
- package/src/core/runtime/sqliteRecoveryStore.test.ts +24 -5
- package/src/core/tools/backends/local.test.ts +126 -0
- package/src/core/tools/backends/local.ts +256 -59
- package/src/core/tools/backends/policy.test.ts +36 -1
- package/src/core/tools/backends/policy.ts +9 -4
- package/src/core/tools/backends/types.ts +2 -0
- package/src/test-fixtures/agent-network-policy-v2.json +80 -0
- package/src/tui/components/chat/input-area.tsx +1 -0
- package/src/tui/components/commands/api-key-input.tsx +2 -0
- package/src/tui/components/commands/operator-wizard.tsx +2 -0
- package/src/tui/components/commands/provider-manager.tsx +3 -0
- package/src/tui/components/model-picker/ModelPicker.tsx +1 -0
- package/src/tui/components/model-picker/__tests__/reasoning-control.tsx +41 -14
- package/src/tui/components/model-picker/model-search.test.ts +11 -0
- package/src/tui/components/model-picker/model-search.ts +1 -0
- package/src/tui/components/model-picker/reasoning-control.test.ts +8 -2
- package/build/agent-ks4dc1q5.js +0 -14
- package/build/agent-q6ckrtd2.js +0 -14
- package/build/blackboxAgent-pe5y5hxr.js +0 -14
- package/build/pentest-0s9rgnvr.js +0 -23
- package/build/recordedRunClient-jv7ew35v.js +0 -11
- package/build/threatModel-ktqchbn1.js +0 -24
package/README.md
CHANGED
|
@@ -114,6 +114,19 @@ discovered model in `/models`. Headless commands accept
|
|
|
114
114
|
`--model-provider hoonify --model <catalog-model-id>`. See
|
|
115
115
|
[Hoonify setup](docs/hoonify.md) for model discovery, token budgets, and live checks.
|
|
116
116
|
|
|
117
|
+
### Inference.net
|
|
118
|
+
|
|
119
|
+
Connect **Inference.net** in `/providers` or set `INFERENCE_API_KEY`, then select
|
|
120
|
+
**DeepSeek V4.1 Flash 1017 Cyber** in `/models`. This is the only Inference.net model
|
|
121
|
+
currently available in Apex. Headless commands accept
|
|
122
|
+
`--model inference:deepseek-v4.1-flash-1017-cyber`.
|
|
123
|
+
|
|
124
|
+
Your team needs [approved model access](https://inference.net/model-access/deepseek-v4.1-flash-1017-cyber)
|
|
125
|
+
before inference will succeed; saving a valid API key does not grant model access.
|
|
126
|
+
Apex uses the provider's default reasoning behavior and the
|
|
127
|
+
[catalog](https://api.inference.net/v1/models) limits of 1,040,000 context tokens
|
|
128
|
+
and 393,216 output tokens.
|
|
129
|
+
|
|
117
130
|
### Custom inference endpoints
|
|
118
131
|
|
|
119
132
|
Bring an OpenAI-compatible endpoint and bearer token through `customProviders`
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CodeAgent2
|
|
3
|
+
} from "./cli-16jm0s8q.js";
|
|
4
|
+
import"./cli-q9rsfw2a.js";
|
|
5
|
+
import"./cli-qba2x69h.js";
|
|
6
|
+
import"./cli-nrz17r1p.js";
|
|
7
|
+
import"./cli-15df7cy4.js";
|
|
8
|
+
import"./cli-3ne35gxp.js";
|
|
9
|
+
import"./cli-xc4jc5g8.js";
|
|
10
|
+
import"./cli-c2k4xxaw.js";
|
|
11
|
+
import"./cli-rsdhzyxc.js";
|
|
12
|
+
export {
|
|
13
|
+
CodeAgent2 as CodeAgent
|
|
14
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TargetedPentestAgent2,
|
|
3
3
|
buildPentestSystemPrompt2
|
|
4
|
-
} from "./cli-
|
|
5
|
-
import"./cli-
|
|
4
|
+
} from "./cli-cwmkbq45.js";
|
|
5
|
+
import"./cli-q9rsfw2a.js";
|
|
6
6
|
import"./cli-qba2x69h.js";
|
|
7
|
-
import"./cli-
|
|
8
|
-
import"./cli-
|
|
9
|
-
import"./cli-
|
|
10
|
-
import"./cli-
|
|
7
|
+
import"./cli-nrz17r1p.js";
|
|
8
|
+
import"./cli-15df7cy4.js";
|
|
9
|
+
import"./cli-3ne35gxp.js";
|
|
10
|
+
import"./cli-xc4jc5g8.js";
|
|
11
11
|
import"./cli-c2k4xxaw.js";
|
|
12
|
-
import"./cli-
|
|
12
|
+
import"./cli-rsdhzyxc.js";
|
|
13
13
|
export {
|
|
14
14
|
TargetedPentestAgent2 as TargetedPentestAgent,
|
|
15
15
|
buildPentestSystemPrompt2 as buildPentestSystemPrompt
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
runAuthenticationAgent2
|
|
3
|
+
} from "./cli-5nsn1vpx.js";
|
|
4
|
+
import"./cli-q9rsfw2a.js";
|
|
5
|
+
import"./cli-qba2x69h.js";
|
|
6
|
+
import"./cli-nrz17r1p.js";
|
|
7
|
+
import"./cli-15df7cy4.js";
|
|
8
|
+
import"./cli-3ne35gxp.js";
|
|
9
|
+
import"./cli-xc4jc5g8.js";
|
|
10
|
+
import"./cli-c2k4xxaw.js";
|
|
11
|
+
import"./cli-rsdhzyxc.js";
|
|
12
|
+
export {
|
|
13
|
+
runAuthenticationAgent2 as runAuthenticationAgent
|
|
14
|
+
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import"./cli-
|
|
2
|
-
import"./cli-
|
|
3
|
-
import"./cli-
|
|
4
|
-
import"./cli-
|
|
1
|
+
import"./cli-15df7cy4.js";
|
|
2
|
+
import"./cli-rsdhzyxc.js";
|
|
3
|
+
import"./cli-xc4jc5g8.js";
|
|
4
|
+
import"./cli-nrz17r1p.js";
|
|
5
5
|
import {
|
|
6
6
|
AgentRuntime,
|
|
7
7
|
defineAgent
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-q9rsfw2a.js";
|
|
9
9
|
import"./cli-qba2x69h.js";
|
|
10
10
|
import {
|
|
11
11
|
stepCountIs2,
|
|
12
12
|
init_dist
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-3ne35gxp.js";
|
|
14
14
|
import"./cli-c2k4xxaw.js";
|
|
15
15
|
import {
|
|
16
16
|
init_zod
|
|
@@ -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-rsdhzyxc.js";
|
|
5
|
+
import"./cli-xc4jc5g8.js";
|
|
6
|
+
import"./cli-nrz17r1p.js";
|
|
7
7
|
import {
|
|
8
8
|
AgentEventBus
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-15df7cy4.js";
|
|
10
10
|
import {
|
|
11
11
|
inspectSessionEvidence2,
|
|
12
12
|
RecordedRunSpecSchema,
|
|
@@ -17,27 +17,27 @@ 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-
|
|
28
|
-
import"./cli-
|
|
29
|
-
import"./cli-
|
|
20
|
+
} from "./cli-jqf27aw9.js";
|
|
21
|
+
import"./cli-ebx3j3c5.js";
|
|
22
|
+
import"./cli-16jm0s8q.js";
|
|
23
|
+
import"./cli-veyqzxra.js";
|
|
24
|
+
import"./cli-h2r33z2v.js";
|
|
25
|
+
import"./cli-5nsn1vpx.js";
|
|
26
|
+
import"./cli-cwmkbq45.js";
|
|
27
|
+
import"./cli-f7v0fgc0.js";
|
|
28
|
+
import"./cli-1k414c58.js";
|
|
29
|
+
import"./cli-ak23knae.js";
|
|
30
30
|
import {
|
|
31
31
|
resolveWorkerExecutable,
|
|
32
32
|
launchLocalWorker
|
|
33
|
-
} from "./cli-
|
|
34
|
-
import"./cli-
|
|
35
|
-
import"./cli-
|
|
33
|
+
} from "./cli-730f1622.js";
|
|
34
|
+
import"./cli-d13d67ym.js";
|
|
35
|
+
import"./cli-q9rsfw2a.js";
|
|
36
36
|
import"./cli-qba2x69h.js";
|
|
37
37
|
import {
|
|
38
38
|
buildAuthConfig,
|
|
39
39
|
init_ai2
|
|
40
|
-
} from "./cli-
|
|
40
|
+
} from "./cli-3ne35gxp.js";
|
|
41
41
|
import"./cli-c2k4xxaw.js";
|
|
42
42
|
|
|
43
43
|
// src/cli/agent-runs.ts
|
|
@@ -118,7 +118,7 @@ async function runAgentRunsCommand(args) {
|
|
|
118
118
|
if (!isAbsolute(values.store)) {
|
|
119
119
|
throw new Error("agent-runs worker requires --store <absolute database>");
|
|
120
120
|
}
|
|
121
|
-
const { serveLocalRunWorker } = await import("./index-
|
|
121
|
+
const { serveLocalRunWorker } = await import("./index-th12cq1c.js");
|
|
122
122
|
await serveLocalRunWorker({
|
|
123
123
|
runId: values.run,
|
|
124
124
|
databasePath: resolve(values.store)
|
|
@@ -132,7 +132,7 @@ async function runAgentRunsCommand(args) {
|
|
|
132
132
|
${HELP}`);
|
|
133
133
|
}
|
|
134
134
|
if (command === "attach") {
|
|
135
|
-
const { openRecordedRunClient } = await import("./recordedRunClient-
|
|
135
|
+
const { openRecordedRunClient } = await import("./recordedRunClient-jrasfd3h.js");
|
|
136
136
|
const client = await openRecordedRunClient(values.store);
|
|
137
137
|
const controller = new AbortController;
|
|
138
138
|
const detach = () => controller.abort();
|
|
@@ -15,27 +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-
|
|
30
|
-
import"./cli-
|
|
31
|
-
import"./cli-
|
|
18
|
+
} from "./cli-nrz17r1p.js";
|
|
19
|
+
import"./cli-15df7cy4.js";
|
|
20
|
+
import"./cli-rsdhzyxc.js";
|
|
21
|
+
import"./cli-xc4jc5g8.js";
|
|
22
|
+
import"./cli-jqf27aw9.js";
|
|
23
|
+
import"./cli-ebx3j3c5.js";
|
|
24
|
+
import"./cli-16jm0s8q.js";
|
|
25
|
+
import"./cli-veyqzxra.js";
|
|
26
|
+
import"./cli-h2r33z2v.js";
|
|
27
|
+
import"./cli-5nsn1vpx.js";
|
|
28
|
+
import"./cli-cwmkbq45.js";
|
|
29
|
+
import"./cli-f7v0fgc0.js";
|
|
30
|
+
import"./cli-1k414c58.js";
|
|
31
|
+
import"./cli-ak23knae.js";
|
|
32
32
|
import {
|
|
33
33
|
markCommandFailed
|
|
34
34
|
} from "./cli-z82n3qk1.js";
|
|
35
|
-
import"./cli-
|
|
36
|
-
import"./cli-
|
|
35
|
+
import"./cli-d13d67ym.js";
|
|
36
|
+
import"./cli-q9rsfw2a.js";
|
|
37
37
|
import"./cli-qba2x69h.js";
|
|
38
|
-
import"./cli-
|
|
38
|
+
import"./cli-3ne35gxp.js";
|
|
39
39
|
import"./cli-c2k4xxaw.js";
|
|
40
40
|
|
|
41
41
|
// src/cli/apps.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
|
-
import"./cli-
|
|
3
|
-
import"./cli-
|
|
2
|
+
import"./cli-nrz17r1p.js";
|
|
3
|
+
import"./cli-15df7cy4.js";
|
|
4
4
|
import {
|
|
5
5
|
config2,
|
|
6
6
|
init_config
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-rsdhzyxc.js";
|
|
8
8
|
import {
|
|
9
9
|
getPensarApiUrl2,
|
|
10
10
|
getPensarConsoleUrl2,
|
|
@@ -20,24 +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-
|
|
32
|
-
import"./cli-
|
|
33
|
-
import"./cli-
|
|
23
|
+
} from "./cli-xc4jc5g8.js";
|
|
24
|
+
import"./cli-jqf27aw9.js";
|
|
25
|
+
import"./cli-ebx3j3c5.js";
|
|
26
|
+
import"./cli-16jm0s8q.js";
|
|
27
|
+
import"./cli-veyqzxra.js";
|
|
28
|
+
import"./cli-h2r33z2v.js";
|
|
29
|
+
import"./cli-5nsn1vpx.js";
|
|
30
|
+
import"./cli-cwmkbq45.js";
|
|
31
|
+
import"./cli-f7v0fgc0.js";
|
|
32
|
+
import"./cli-1k414c58.js";
|
|
33
|
+
import"./cli-ak23knae.js";
|
|
34
34
|
import {
|
|
35
35
|
markCommandFailed
|
|
36
36
|
} from "./cli-z82n3qk1.js";
|
|
37
|
-
import"./cli-
|
|
38
|
-
import"./cli-
|
|
37
|
+
import"./cli-d13d67ym.js";
|
|
38
|
+
import"./cli-q9rsfw2a.js";
|
|
39
39
|
import"./cli-qba2x69h.js";
|
|
40
|
-
import"./cli-
|
|
40
|
+
import"./cli-3ne35gxp.js";
|
|
41
41
|
import"./cli-c2k4xxaw.js";
|
|
42
42
|
import {
|
|
43
43
|
__require
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BlackboxAttackSurfaceAgent2
|
|
3
|
+
} from "./cli-ebx3j3c5.js";
|
|
4
|
+
import"./cli-q9rsfw2a.js";
|
|
5
|
+
import"./cli-qba2x69h.js";
|
|
6
|
+
import"./cli-nrz17r1p.js";
|
|
7
|
+
import"./cli-15df7cy4.js";
|
|
8
|
+
import"./cli-3ne35gxp.js";
|
|
9
|
+
import"./cli-xc4jc5g8.js";
|
|
10
|
+
import"./cli-c2k4xxaw.js";
|
|
11
|
+
import"./cli-rsdhzyxc.js";
|
|
12
|
+
export {
|
|
13
|
+
BlackboxAttackSurfaceAgent2 as BlackboxAttackSurfaceAgent
|
|
14
|
+
};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import"./cli-
|
|
2
|
-
import"./cli-
|
|
3
|
-
import"./cli-
|
|
4
|
-
import"./cli-
|
|
5
|
-
import"./cli-
|
|
6
|
-
import"./cli-
|
|
7
|
-
import"./cli-
|
|
1
|
+
import"./cli-rsdhzyxc.js";
|
|
2
|
+
import"./cli-xc4jc5g8.js";
|
|
3
|
+
import"./cli-15df7cy4.js";
|
|
4
|
+
import"./cli-nrz17r1p.js";
|
|
5
|
+
import"./cli-ebx3j3c5.js";
|
|
6
|
+
import"./cli-cwmkbq45.js";
|
|
7
|
+
import"./cli-f7v0fgc0.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-h2r33z2v.js";
|
|
13
|
+
import"./cli-16jm0s8q.js";
|
|
14
|
+
import"./cli-veyqzxra.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-q9rsfw2a.js";
|
|
20
20
|
import"./cli-qba2x69h.js";
|
|
21
21
|
import {
|
|
22
22
|
normalizeStepUsage,
|
|
23
23
|
init_ai2
|
|
24
|
-
} from "./cli-
|
|
24
|
+
} from "./cli-3ne35gxp.js";
|
|
25
25
|
import"./cli-c2k4xxaw.js";
|
|
26
26
|
|
|
27
27
|
// src/core/api/blackboxPentest.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
APICallError,
|
|
3
|
-
|
|
4
|
-
} from "./cli-
|
|
3
|
+
init_dist4
|
|
4
|
+
} from "./cli-7898kznf.js";
|
|
5
5
|
import {
|
|
6
6
|
init_zod
|
|
7
7
|
} from "./cli-3qznjsnr.js";
|
|
@@ -2215,7 +2215,7 @@ function withNativeRolloutEvidenceModel(model, defaultContext) {
|
|
|
2215
2215
|
}
|
|
2216
2216
|
var DEFAULT_NATIVE_ROLLOUT_CAPTURE_LIMITS, captureStore, operationStore, sessionStore, RECORDER_ONLY_INPUT;
|
|
2217
2217
|
var init_capture = __esm(() => {
|
|
2218
|
-
|
|
2218
|
+
init_dist4();
|
|
2219
2219
|
init_inference_attempt();
|
|
2220
2220
|
init_content();
|
|
2221
2221
|
init_provider_metadata();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
getCurrentVersion,
|
|
3
|
-
init_installation
|
|
4
|
-
} from "./cli-k46jmzbs.js";
|
|
5
1
|
import {
|
|
6
2
|
init_zod
|
|
7
3
|
} from "./cli-3qznjsnr.js";
|
|
4
|
+
import {
|
|
5
|
+
getCurrentVersion,
|
|
6
|
+
init_installation
|
|
7
|
+
} from "./cli-sy52tg90.js";
|
|
8
8
|
import {
|
|
9
9
|
NEVER,
|
|
10
10
|
string,
|
|
@@ -300,6 +300,7 @@ function applyEnvFallbacks(parsedConfig) {
|
|
|
300
300
|
googleAPIKey: parsedConfig.googleAPIKey ?? process.env.GOOGLE_GENERATIVE_AI_API_KEY,
|
|
301
301
|
openRouterAPIKey: parsedConfig.openRouterAPIKey ?? process.env.OPENROUTER_API_KEY,
|
|
302
302
|
concentrateAPIKey: parsedConfig.concentrateAPIKey ?? process.env.CONCENTRATE_API_KEY,
|
|
303
|
+
inferenceAPIKey: parsedConfig.inferenceAPIKey ?? process.env.INFERENCE_API_KEY,
|
|
303
304
|
inceptionAPIKey: parsedConfig.inceptionAPIKey ?? process.env.INCEPTION_API_KEY,
|
|
304
305
|
hoonifyAPIKey: parsedConfig.hoonifyAPIKey ?? process.env.HOONIFY_API_KEY,
|
|
305
306
|
hoonifyModels: undefined,
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
getModelSettings,
|
|
7
7
|
generateObjectResponse,
|
|
8
8
|
init_ai2
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-3ne35gxp.js";
|
|
10
10
|
import {
|
|
11
11
|
newSessionId,
|
|
12
12
|
init_id,
|
|
13
13
|
runWithNativeRolloutSession
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-0rhfexax.js";
|
|
15
15
|
import {
|
|
16
16
|
init_zod
|
|
17
17
|
} from "./cli-3qznjsnr.js";
|
|
@@ -909,7 +909,7 @@ async function spawnBatch2(spawner, requests, opts, limiter) {
|
|
|
909
909
|
});
|
|
910
910
|
}
|
|
911
911
|
async function runSpawnedPentestWorker(spec, input) {
|
|
912
|
-
const { TargetedPentestAgent } = await import("./agent-
|
|
912
|
+
const { TargetedPentestAgent } = await import("./agent-3nyddsj2.js");
|
|
913
913
|
const hooks = resolveItemHooks(input.hooks, input.seams, spec, 0);
|
|
914
914
|
const agent = new TargetedPentestAgent({
|
|
915
915
|
target: spec.target,
|
|
@@ -965,6 +965,7 @@ var runPentestChild = async (spec, ctx) => {
|
|
|
965
965
|
backends: ctx.backends,
|
|
966
966
|
sandbox: ctx.sandbox,
|
|
967
967
|
languageModelMiddleware: ctx.languageModelMiddleware,
|
|
968
|
+
toolProtocol: ctx.toolProtocol,
|
|
968
969
|
usageRecorder: ctx.usageRecorder,
|
|
969
970
|
toolExecutionContext: ctx.toolExecutionContext,
|
|
970
971
|
streamIdFactory: ctx.streamIdFactory
|
|
@@ -980,7 +981,7 @@ var runPentestChild = async (spec, ctx) => {
|
|
|
980
981
|
};
|
|
981
982
|
};
|
|
982
983
|
var runCodeChild = async (spec, ctx) => {
|
|
983
|
-
const { CodeAgent } = await import("./agent-
|
|
984
|
+
const { CodeAgent } = await import("./agent-34gmbmct.js");
|
|
984
985
|
const agent = new CodeAgent({
|
|
985
986
|
findingPolicy: ctx.findingPolicy,
|
|
986
987
|
codebasePath: spec.codebasePath,
|
|
@@ -1003,6 +1004,7 @@ var runCodeChild = async (spec, ctx) => {
|
|
|
1003
1004
|
onStepFinish: ctx.onStepFinish,
|
|
1004
1005
|
onCacheMetrics: ctx.onCacheMetrics,
|
|
1005
1006
|
languageModelMiddleware: ctx.languageModelMiddleware,
|
|
1007
|
+
toolProtocol: ctx.toolProtocol,
|
|
1006
1008
|
usageRecorder: ctx.usageRecorder,
|
|
1007
1009
|
toolExecutionContext: ctx.toolExecutionContext,
|
|
1008
1010
|
streamIdFactory: ctx.streamIdFactory
|
|
@@ -1010,7 +1012,7 @@ var runCodeChild = async (spec, ctx) => {
|
|
|
1010
1012
|
return { run: () => agent.consume(), drained: () => agent.drained };
|
|
1011
1013
|
};
|
|
1012
1014
|
var runWhiteboxChild = async (spec, ctx) => {
|
|
1013
|
-
const { WhiteboxAttackSurfaceAgent } = await import("./index-
|
|
1015
|
+
const { WhiteboxAttackSurfaceAgent } = await import("./index-f1a9x9ez.js");
|
|
1014
1016
|
const agent = new WhiteboxAttackSurfaceAgent({
|
|
1015
1017
|
findingPolicy: ctx.findingPolicy,
|
|
1016
1018
|
codebasePath: spec.codebasePath,
|
|
@@ -1024,6 +1026,7 @@ var runWhiteboxChild = async (spec, ctx) => {
|
|
|
1024
1026
|
sandbox: ctx.sandbox,
|
|
1025
1027
|
backends: ctx.backends,
|
|
1026
1028
|
languageModelMiddleware: ctx.languageModelMiddleware,
|
|
1029
|
+
toolProtocol: ctx.toolProtocol,
|
|
1027
1030
|
usageRecorder: ctx.usageRecorder,
|
|
1028
1031
|
toolExecutionContext: ctx.toolExecutionContext,
|
|
1029
1032
|
streamIdFactory: ctx.streamIdFactory
|
|
@@ -1031,7 +1034,7 @@ var runWhiteboxChild = async (spec, ctx) => {
|
|
|
1031
1034
|
return { run: () => agent.consume(), drained: () => agent.drained };
|
|
1032
1035
|
};
|
|
1033
1036
|
var runBlackboxChild = async (spec, ctx) => {
|
|
1034
|
-
const { BlackboxAttackSurfaceAgent } = await import("./blackboxAgent-
|
|
1037
|
+
const { BlackboxAttackSurfaceAgent } = await import("./blackboxAgent-d7xv0thk.js");
|
|
1035
1038
|
const agent = new BlackboxAttackSurfaceAgent({
|
|
1036
1039
|
findingPolicy: ctx.findingPolicy,
|
|
1037
1040
|
target: spec.target,
|
|
@@ -1044,6 +1047,7 @@ var runBlackboxChild = async (spec, ctx) => {
|
|
|
1044
1047
|
sandbox: ctx.sandbox,
|
|
1045
1048
|
backends: ctx.backends,
|
|
1046
1049
|
languageModelMiddleware: ctx.languageModelMiddleware,
|
|
1050
|
+
toolProtocol: ctx.toolProtocol,
|
|
1047
1051
|
usageRecorder: ctx.usageRecorder,
|
|
1048
1052
|
toolExecutionContext: ctx.toolExecutionContext,
|
|
1049
1053
|
streamIdFactory: ctx.streamIdFactory
|
|
@@ -1051,7 +1055,7 @@ var runBlackboxChild = async (spec, ctx) => {
|
|
|
1051
1055
|
return { run: () => agent.consume(), drained: () => agent.drained };
|
|
1052
1056
|
};
|
|
1053
1057
|
var runAuthChild = async (spec, ctx) => {
|
|
1054
|
-
const { runAuthenticationAgent } = await import("./agent-
|
|
1058
|
+
const { runAuthenticationAgent } = await import("./agent-jdcbh4s0.js");
|
|
1055
1059
|
return {
|
|
1056
1060
|
run: () => runAuthenticationAgent({
|
|
1057
1061
|
findingPolicy: ctx.findingPolicy,
|
|
@@ -1067,6 +1071,7 @@ var runAuthChild = async (spec, ctx) => {
|
|
|
1067
1071
|
secretValues: ctx.secretValues,
|
|
1068
1072
|
backends: ctx.backends,
|
|
1069
1073
|
languageModelMiddleware: ctx.languageModelMiddleware,
|
|
1074
|
+
toolProtocol: ctx.toolProtocol,
|
|
1070
1075
|
usageRecorder: ctx.usageRecorder,
|
|
1071
1076
|
toolExecutionContext: ctx.toolExecutionContext,
|
|
1072
1077
|
streamIdFactory: ctx.streamIdFactory
|
|
@@ -1074,7 +1079,7 @@ var runAuthChild = async (spec, ctx) => {
|
|
|
1074
1079
|
};
|
|
1075
1080
|
};
|
|
1076
1081
|
var runJudgeChild = async (spec, ctx) => {
|
|
1077
|
-
const { judgeFinding } = await import("./index-
|
|
1082
|
+
const { judgeFinding } = await import("./index-mgq7hqhw.js");
|
|
1078
1083
|
return {
|
|
1079
1084
|
run: () => judgeFinding(spec.judgeInput, {
|
|
1080
1085
|
waitForDrain: spec.waitForDrain,
|
|
@@ -1088,6 +1093,7 @@ var runJudgeChild = async (spec, ctx) => {
|
|
|
1088
1093
|
backends: ctx.backends,
|
|
1089
1094
|
target: spec.target,
|
|
1090
1095
|
languageModelMiddleware: ctx.languageModelMiddleware,
|
|
1096
|
+
toolProtocol: ctx.toolProtocol,
|
|
1091
1097
|
usageRecorder: ctx.usageRecorder,
|
|
1092
1098
|
toolExecutionContext: ctx.toolExecutionContext,
|
|
1093
1099
|
streamIdFactory: ctx.streamIdFactory
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentRuntime,
|
|
3
3
|
defineAgent
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-q9rsfw2a.js";
|
|
5
5
|
import {
|
|
6
6
|
stepCountIs2,
|
|
7
7
|
init_dist
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-3ne35gxp.js";
|
|
9
9
|
|
|
10
10
|
// src/core/agents/specialized/codeAgent/agent.ts
|
|
11
11
|
init_dist();
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
openSqliteRunStore,
|
|
5
5
|
resolveWorkerEndpoint,
|
|
6
6
|
workerRequest
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-jqf27aw9.js";
|
|
8
8
|
import {
|
|
9
9
|
launchLocalWorker
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-730f1622.js";
|
|
11
11
|
|
|
12
12
|
// src/core/runtime/recordedRunClient.ts
|
|
13
13
|
import { setTimeout as delay } from "node:timers/promises";
|