@pensar/apex 2.7.0-canary.c5791908 → 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.
Files changed (118) hide show
  1. package/build/agent-ks4dc1q5.js +14 -0
  2. package/build/{agent-q85c8mrh.js → agent-pdaya70z.js} +6 -6
  3. package/build/agent-q6ckrtd2.js +14 -0
  4. package/build/{agent-runs-cqa7xz7d.js → agent-runs-f0fpf651.js} +19 -19
  5. package/build/{agent-x8nf3k1v.js → agent-y7w88qe9.js} +7 -7
  6. package/build/{apps-pxdathp4.js → apps-6hstfsy5.js} +16 -16
  7. package/build/{auth-dcmykx6e.js → auth-sdg0sqa0.js} +16 -16
  8. package/build/blackboxAgent-pe5y5hxr.js +14 -0
  9. package/build/{blackboxPentest-pbh960ms.js → blackboxPentest-1850fx09.js} +12 -12
  10. package/build/{cli-z41890cy.js → cli-1h046yxp.js} +1 -1
  11. package/build/{cli-am8b7hr4.js → cli-1qyejhv5.js} +2 -2
  12. package/build/{cli-78pm8byz.js → cli-4h9d98y6.js} +1 -1
  13. package/build/{cli-8wkays8e.js → cli-67d2744b.js} +2 -2
  14. package/build/{cli-6g5p7cfd.js → cli-739g9qgd.js} +5 -5
  15. package/build/{cli-40gstjf7.js → cli-7xf5h4pb.js} +7 -7
  16. package/build/{cli-m57v3wm9.js → cli-9dka0an3.js} +2 -2
  17. package/build/{cli-jvhswf25.js → cli-c29xr0h0.js} +2 -2
  18. package/build/{cli-kr28rrsa.js → cli-fnth71q3.js} +2 -2
  19. package/build/{cli-pepjaeek.js → cli-gt29d4q6.js} +11 -10
  20. package/build/{cli-jpjj10xv.js → cli-gy5stwkg.js} +1 -1
  21. package/build/{cli-vb4den7a.js → cli-k46jmzbs.js} +1 -1
  22. package/build/{cli-xb0pqkbk.js → cli-qmt07txj.js} +3 -3
  23. package/build/{cli-ps5hmkhw.js → cli-qp8413xr.js} +7 -7
  24. package/build/{cli-mfgsx6hc.js → cli-rv2d03xr.js} +1 -1
  25. package/build/{cli-b8jmzd32.js → cli-ssstde7z.js} +1 -1
  26. package/build/{cli-7nrpp1ks.js → cli-tmr100n4.js} +1 -1
  27. package/build/{cli-xpfw29g5.js → cli-vfkmdrkb.js} +1 -1
  28. package/build/{cli-v084p264.js → cli-y1z3vemx.js} +1 -1
  29. package/build/{cli-b3hef9fp.js → cli-z85qmtjd.js} +8 -8
  30. package/build/{cli-ygcbxb1m.js → cli-zs7rp1f6.js} +3 -3
  31. package/build/cli.js +38 -38
  32. package/build/{config-d9mdqs9w.js → config-kgz8rzkt.js} +1 -1
  33. package/build/{fastStrike-z096431v.js → fastStrike-65d7njyn.js} +6 -6
  34. package/build/{fixes-9ppnsazw.js → fixes-xmq89hve.js} +16 -16
  35. package/build/{index-vq0132nv.js → index-1z234ygf.js} +7 -7
  36. package/build/{index-f0v1bbhs.js → index-27xpg3k0.js} +22 -22
  37. package/build/{index-pvb4d38m.js → index-cxa5jxva.js} +5 -5
  38. package/build/{index-cn1pgs79.js → index-hx133hms.js} +4 -4
  39. package/build/{index-pxhc0cbs.js → index-js3zc3cb.js} +2 -2
  40. package/build/{index-1j283k20.js → index-m6graaat.js} +16 -16
  41. package/build/{index-y5t6w61g.js → index-pvm55x85.js} +1 -1
  42. package/build/{index-4gfq7kzj.js → index-t0p01qg4.js} +5 -5
  43. package/build/{index-t8ncgcc9.js → index-wh328kzg.js} +1 -1
  44. package/build/{issues-hnw2wt5k.js → issues-rscc7pny.js} +16 -16
  45. package/build/{knowledge-66kn0fwh.js → knowledge-5vd451za.js} +16 -16
  46. package/build/{lance-qyph9jw1.js → lance-s26xde23.js} +7 -7
  47. package/build/lib/{chunk-c5w6byvf.js → chunk-12qns4xq.js} +1 -1
  48. package/build/lib/{chunk-00jhhedd.js → chunk-1gb8gefz.js} +4 -4
  49. package/build/lib/{chunk-qn9512q7.js → chunk-2q39y7g0.js} +1 -1
  50. package/build/lib/{chunk-bq643vks.js → chunk-2yv9vekb.js} +1 -1
  51. package/build/lib/{chunk-486zwtmg.js → chunk-3mgmff3q.js} +3 -3
  52. package/build/lib/{chunk-10p58fqe.js → chunk-4x6t39xs.js} +7 -6
  53. package/build/lib/{chunk-q3f1tjdx.js → chunk-5gk78665.js} +1 -1
  54. package/build/lib/{chunk-6vhf2dvv.js → chunk-5wqbq9hw.js} +1 -1
  55. package/build/lib/{chunk-y9pm3xqv.js → chunk-66hd85x8.js} +1 -1
  56. package/build/lib/{chunk-ptp3er5d.js → chunk-6j0mc5qw.js} +1 -1
  57. package/build/lib/{chunk-2svje0df.js → chunk-6q0xnkda.js} +3 -3
  58. package/build/lib/{chunk-w9cs2h48.js → chunk-7jfqqwyq.js} +3 -3
  59. package/build/lib/{chunk-7350h8ab.js → chunk-a3edjxz9.js} +11 -11
  60. package/build/lib/{chunk-7syrjsr5.js → chunk-cmb702kp.js} +1 -1
  61. package/build/lib/{chunk-dj7bk5xm.js → chunk-h9h4t4gc.js} +8 -8
  62. package/build/lib/{chunk-rh6fz13n.js → chunk-j0qn7hzk.js} +2 -2
  63. package/build/lib/{chunk-98gxfne9.js → chunk-j84kpwgp.js} +2 -2
  64. package/build/lib/{chunk-y82jpv2x.js → chunk-jjqcnbz9.js} +9 -9
  65. package/build/lib/{chunk-rcneqwt6.js → chunk-kcq1qb6n.js} +1 -1
  66. package/build/lib/{chunk-zntm5p3b.js → chunk-mdfneahm.js} +11 -11
  67. package/build/lib/{chunk-tcdd68ax.js → chunk-nctbsa6r.js} +1 -1
  68. package/build/lib/{chunk-qpewr18w.js → chunk-pzv4df99.js} +1 -1
  69. package/build/lib/{chunk-pr63gfsd.js → chunk-rsv4feh8.js} +1 -1
  70. package/build/lib/{chunk-0hqjfqxb.js → chunk-wtz8qt8q.js} +1 -1
  71. package/build/lib/core/agents/offSecAgent/index.js +7 -7
  72. package/build/lib/core/agents/offSecAgent/subagentSpawner.js +5 -5
  73. package/build/lib/core/agents/offSecAgent/tools/index.js +6 -6
  74. package/build/lib/core/agents/specialized/attackSurface/blackboxAgent.js +9 -9
  75. package/build/lib/core/agents/specialized/attackSurface/schemas.js +9 -9
  76. package/build/lib/core/agents/specialized/authenticationAgent/index.js +10 -10
  77. package/build/lib/core/agents/specialized/codeAgent/agent.js +9 -9
  78. package/build/lib/core/agents/specialized/findingJudge/agent.js +8 -8
  79. package/build/lib/core/agents/specialized/findingJudge/index.js +3 -3
  80. package/build/lib/core/agents/specialized/patching/index.js +10 -10
  81. package/build/lib/core/agents/specialized/pentest/agent.js +9 -9
  82. package/build/lib/core/agents/specialized/whiteboxAttackSurface/index.js +9 -9
  83. package/build/lib/core/ai/ai.js +2 -2
  84. package/build/lib/core/ai/index.js +2 -2
  85. package/build/lib/core/ai/utils.js +2 -2
  86. package/build/lib/core/api/index.js +19 -19
  87. package/build/lib/core/api/targetedPentest.js +10 -10
  88. package/build/lib/core/config/index.js +1 -1
  89. package/build/lib/core/findings/registry.js +3 -3
  90. package/build/lib/core/session/index.js +2 -2
  91. package/build/lib/core/session/persistence.js +3 -3
  92. package/build/lib/core/workflows/pentest.js +15 -15
  93. package/build/lib/core/workflows/seams.js +4 -4
  94. package/build/lib/core/workflows/whiteboxAttackSurface.d.ts +3 -3
  95. package/build/lib/core/workflows/whiteboxAttackSurface.js +11 -11
  96. package/build/lib/index.js +22 -22
  97. package/build/{logs-h3rxtq6w.js → logs-tax0j5es.js} +16 -16
  98. package/build/{native-rollout-evidence-kt4rd2bp.js → native-rollout-evidence-0820cgjt.js} +3 -3
  99. package/build/{offesecAgent-e3ea8mr6.js → offesecAgent-78zt4ce1.js} +6 -6
  100. package/build/pentest-0s9rgnvr.js +23 -0
  101. package/build/{pentests-39hy0dre.js → pentests-f1kh0619.js} +16 -16
  102. package/build/recordedRunClient-jv7ew35v.js +11 -0
  103. package/build/{subagentSpawner-2sx2edxp.js → subagentSpawner-xzyhb9e5.js} +4 -4
  104. package/build/{targetedPentest-ttafan4t.js → targetedPentest-p94z9n61.js} +8 -8
  105. package/build/{targets-fzte2kq9.js → targets-f149r24n.js} +16 -16
  106. package/build/threatModel-ktqchbn1.js +24 -0
  107. package/build/{uninstall-0m52nyc0.js → uninstall-7kxqrs32.js} +1 -1
  108. package/build/{upload-cnnhkzgt.js → upload-03e2pj1m.js} +4 -4
  109. package/build/{utils-pq6pdv6p.js → utils-ec43nwzn.js} +3 -3
  110. package/package.json +1 -1
  111. package/src/core/workflows/whiteboxAttackSurface.test.ts +40 -0
  112. package/src/core/workflows/whiteboxAttackSurface.ts +9 -4
  113. package/build/agent-htj3ww3e.js +0 -14
  114. package/build/agent-km3wss0b.js +0 -14
  115. package/build/blackboxAgent-g18ps9hs.js +0 -14
  116. package/build/pentest-qx9c8wtg.js +0 -23
  117. package/build/recordedRunClient-gra1x1y6.js +0 -11
  118. package/build/threatModel-nm449g6b.js +0 -24
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  config2,
3
3
  init_config
4
- } from "./cli-mfgsx6hc.js";
4
+ } from "./cli-rv2d03xr.js";
5
5
  import {
6
6
  init_constants
7
- } from "./cli-z41890cy.js";
7
+ } from "./cli-1h046yxp.js";
8
8
  import {
9
9
  buildSessionWorkspaceSection,
10
10
  buildBaseSystemPrompt,
@@ -12,13 +12,13 @@ import {
12
12
  apiRequest,
13
13
  ALL_TOOL_NAMES2,
14
14
  SKILL_TOOL_NAMES2
15
- } from "./cli-b3hef9fp.js";
15
+ } from "./cli-z85qmtjd.js";
16
16
  import {
17
17
  runOffensiveSecurityAgent2
18
- } from "./cli-jvhswf25.js";
18
+ } from "./cli-c29xr0h0.js";
19
19
  import {
20
20
  defineAgent
21
- } from "./cli-jpjj10xv.js";
21
+ } from "./cli-gy5stwkg.js";
22
22
  import {
23
23
  toolModelMessageSchema,
24
24
  modelMessageSchema,
@@ -41,7 +41,7 @@ import {
41
41
  getModelInfo,
42
42
  buildAuthConfig,
43
43
  init_ai2
44
- } from "./cli-6g5p7cfd.js";
44
+ } from "./cli-739g9qgd.js";
45
45
  import {
46
46
  newSessionId,
47
47
  isSessionId,
@@ -53,7 +53,7 @@ import {
53
53
  import {
54
54
  getCurrentVersion,
55
55
  init_installation
56
- } from "./cli-vb4den7a.js";
56
+ } from "./cli-k46jmzbs.js";
57
57
  import {
58
58
  init_zod
59
59
  } from "./cli-3qznjsnr.js";
@@ -3,7 +3,7 @@ import {
3
3
  get2,
4
4
  update2,
5
5
  init_config2
6
- } from "./cli-xpfw29g5.js";
6
+ } from "./cli-vfkmdrkb.js";
7
7
  import {
8
8
  __esm
9
9
  } from "./cli-h6y3bt60.js";
@@ -4,7 +4,7 @@ import {
4
4
  ValidatedCweEntrySchema,
5
5
  hasCanonicalName,
6
6
  EvidenceFileEntrySchema
7
- } from "./cli-b3hef9fp.js";
7
+ } from "./cli-z85qmtjd.js";
8
8
  import {
9
9
  init_zod
10
10
  } from "./cli-3qznjsnr.js";
@@ -3,7 +3,7 @@ import {
3
3
  init_session,
4
4
  getModelSettings,
5
5
  init_ai2
6
- } from "./cli-6g5p7cfd.js";
6
+ } from "./cli-739g9qgd.js";
7
7
 
8
8
  // src/core/runtime/agentExecution.ts
9
9
  function startAgentExecution(agent) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getCurrentVersion,
3
3
  init_installation
4
- } from "./cli-vb4den7a.js";
4
+ } from "./cli-k46jmzbs.js";
5
5
  import {
6
6
  init_zod
7
7
  } from "./cli-3qznjsnr.js";
@@ -4,7 +4,7 @@ import {
4
4
  LocalWorkerTransportError,
5
5
  WorkerConnectionError,
6
6
  workerRequest
7
- } from "./cli-ps5hmkhw.js";
7
+ } from "./cli-qp8413xr.js";
8
8
 
9
9
  // src/core/runtime/launchLocalWorker.ts
10
10
  import { spawn } from "node:child_process";
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  config2,
3
3
  init_config
4
- } from "./cli-mfgsx6hc.js";
4
+ } from "./cli-rv2d03xr.js";
5
5
  import {
6
6
  getPensarApiUrl2,
7
7
  init_constants,
8
8
  ensureValidToken2,
9
9
  signGatewayRequest2,
10
10
  init_auth
11
- } from "./cli-z41890cy.js";
11
+ } from "./cli-1h046yxp.js";
12
12
  import {
13
13
  AgentEventBus,
14
14
  FindingsRegistry,
15
15
  spawnBatch2,
16
16
  inProcessSubagentSpawner2
17
- } from "./cli-40gstjf7.js";
17
+ } from "./cli-7xf5h4pb.js";
18
18
  import {
19
19
  parseTargetUrl
20
20
  } from "./cli-0wsh8j2t.js";
@@ -49,7 +49,7 @@ import {
49
49
  streamResponse,
50
50
  generateObjectResponse,
51
51
  init_ai2
52
- } from "./cli-6g5p7cfd.js";
52
+ } from "./cli-739g9qgd.js";
53
53
  import {
54
54
  init_v4,
55
55
  tool
@@ -62,7 +62,7 @@ import {
62
62
  import {
63
63
  getCurrentVersion,
64
64
  init_installation
65
- } from "./cli-vb4den7a.js";
65
+ } from "./cli-k46jmzbs.js";
66
66
  import {
67
67
  init_zod
68
68
  } from "./cli-3qznjsnr.js";
@@ -100374,7 +100374,7 @@ function createLanceJudgeVerifier(input, runtime) {
100374
100374
  };
100375
100375
  }
100376
100376
  signal.throwIfAborted();
100377
- const { inProcessSubagentSpawner } = await import("./subagentSpawner-2sx2edxp.js");
100377
+ const { inProcessSubagentSpawner } = await import("./subagentSpawner-xzyhb9e5.js");
100378
100378
  signal.throwIfAborted();
100379
100379
  const middleware = input.languageModelMiddleware;
100380
100380
  const result = await inProcessSubagentSpawner.spawn({
@@ -125409,7 +125409,7 @@ Omit \`cwd\` for blackbox mode (live target probing only).`,
125409
125409
  toolCallDescription: string().describe("A concise, human-readable description of what this tool call is doing")
125410
125410
  }),
125411
125411
  execute: async ({ target, cwd }) => {
125412
- const { runPentestWorkflow: workflow } = await import("./pentest-qx9c8wtg.js");
125412
+ const { runPentestWorkflow: workflow } = await import("./pentest-0s9rgnvr.js");
125413
125413
  if (!ctx.model) {
125414
125414
  return {
125415
125415
  success: false,
@@ -126024,7 +126024,7 @@ Pass every target you want tested — the swarm handles concurrency automaticall
126024
126024
  toolCallDescription: string().describe("A concise, human-readable description of what this tool call is doing")
126025
126025
  }),
126026
126026
  execute: async ({ targets }) => {
126027
- const { runPentestSwarm, DEFAULT_CONCURRENCY } = await import("./pentest-qx9c8wtg.js");
126027
+ const { runPentestSwarm, DEFAULT_CONCURRENCY } = await import("./pentest-0s9rgnvr.js");
126028
126028
  if (!ctx.model) {
126029
126029
  return {
126030
126030
  success: false,
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  EndpointTransportEnum,
3
3
  GrpcEndpointMetadataSchema
4
- } from "./cli-b3hef9fp.js";
4
+ } from "./cli-z85qmtjd.js";
5
5
  import {
6
6
  AgentRuntime,
7
7
  defineAgent
8
- } from "./cli-jpjj10xv.js";
8
+ } from "./cli-gy5stwkg.js";
9
9
  import {
10
10
  stepCountIs2,
11
11
  init_dist
12
- } from "./cli-6g5p7cfd.js";
12
+ } from "./cli-739g9qgd.js";
13
13
  import {
14
14
  tool
15
15
  } from "./cli-pwm29ks7.js";
package/build/cli.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env bun
2
2
  // @bun
3
- import"./cli-mfgsx6hc.js";
4
- import"./cli-z41890cy.js";
3
+ import"./cli-rv2d03xr.js";
4
+ import"./cli-1h046yxp.js";
5
5
  import {
6
6
  require_src,
7
7
  require_src2,
@@ -33,7 +33,7 @@ import {
33
33
  init_ai,
34
34
  init_model_history,
35
35
  init_ai2
36
- } from "./cli-6g5p7cfd.js";
36
+ } from "./cli-739g9qgd.js";
37
37
  import {
38
38
  init_inference_attempt,
39
39
  init_native_rollout_evidence
@@ -46,13 +46,13 @@ import {
46
46
  init_customProviders,
47
47
  resolveHoonifyModel,
48
48
  init_hoonify
49
- } from "./cli-xpfw29g5.js";
49
+ } from "./cli-vfkmdrkb.js";
50
50
  import {
51
51
  init_package,
52
52
  version,
53
53
  package_default,
54
54
  init_installation
55
- } from "./cli-vb4den7a.js";
55
+ } from "./cli-k46jmzbs.js";
56
56
  import {
57
57
  require_src6
58
58
  } from "./cli-bb02pjt0.js";
@@ -771,7 +771,7 @@ var package_default2 = {
771
771
  tsc: "tsc --noEmit"
772
772
  },
773
773
  type: "module",
774
- version: "2.7.0-canary.c5791908"
774
+ version: "2.7.0-canary.e18bef4d"
775
775
  };
776
776
 
777
777
  // src/core/ai/index.ts
@@ -1633,7 +1633,7 @@ async function createInstrumentedBus(session, model) {
1633
1633
  reportHerdrState("working");
1634
1634
  const bus = new AgentEventBus;
1635
1635
  attachCliAgentStreamListeners(bus);
1636
- const { attachWandbToEventBus } = await import("./upload-cnnhkzgt.js");
1636
+ const { attachWandbToEventBus } = await import("./upload-03e2pj1m.js");
1637
1637
  const wandbCleanup = await attachWandbToEventBus(session, bus).catch((e) => {
1638
1638
  console.warn("[wandb] Tracing disabled:", e.message);
1639
1639
  return null;
@@ -1653,7 +1653,7 @@ async function resolveCliHeaders() {
1653
1653
  const { parseHeaderLine, parseHeadersFromFile, formatParseError } = await import("./parse-cqecqrc5.js");
1654
1654
  const merged = {};
1655
1655
  if (!noGlobal) {
1656
- const { config: appConfig } = await import("./index-y5t6w61g.js");
1656
+ const { config: appConfig } = await import("./index-pvm55x85.js");
1657
1657
  const cfg = await appConfig.get();
1658
1658
  if (cfg.defaultHeaders) {
1659
1659
  Object.assign(merged, cfg.defaultHeaders);
@@ -1684,8 +1684,8 @@ ${formatParseError(parsed.error)}`);
1684
1684
  return merged;
1685
1685
  }
1686
1686
  async function resolveCliModel() {
1687
- const { config: appConfig } = await import("./index-y5t6w61g.js");
1688
- const { getDefaultModelForConfig } = await import("./utils-pq6pdv6p.js");
1687
+ const { config: appConfig } = await import("./index-pvm55x85.js");
1688
+ const { getDefaultModelForConfig } = await import("./utils-ec43nwzn.js");
1689
1689
  const pensarConfig = await appConfig.get();
1690
1690
  const explicit = resolveExplicitCliModel({
1691
1691
  model: getArg("--model"),
@@ -1824,8 +1824,8 @@ Custom inference:
1824
1824
  `);
1825
1825
  }
1826
1826
  async function runPentest() {
1827
- const { sessions } = await import("./index-4gfq7kzj.js");
1828
- const { config: appConfig } = await import("./index-y5t6w61g.js");
1827
+ const { sessions } = await import("./index-t0p01qg4.js");
1828
+ const { config: appConfig } = await import("./index-pvm55x85.js");
1829
1829
  const target = getArgRequired("--target");
1830
1830
  const cwd = getArg("--cwd");
1831
1831
  const mode = getArg("--mode");
@@ -1885,7 +1885,7 @@ Headers: ${Object.keys(headers).length} configured` : ""}
1885
1885
  });
1886
1886
  console.log(`PENSAR_SESSION_PATH:${session.rootPath}`);
1887
1887
  if (lance) {
1888
- const { runCliLance } = await import("./lance-qyph9jw1.js");
1888
+ const { runCliLance } = await import("./lance-s26xde23.js");
1889
1889
  await runCliLance({
1890
1890
  prompt: resolvedPrompt,
1891
1891
  model,
@@ -1902,8 +1902,8 @@ Headers: ${Object.keys(headers).length} configured` : ""}
1902
1902
  });
1903
1903
  return;
1904
1904
  }
1905
- const { runPentestAgent } = await import("./blackboxPentest-pbh960ms.js");
1906
- const { runWithCliNativeRolloutEvidence } = await import("./native-rollout-evidence-kt4rd2bp.js");
1905
+ const { runPentestAgent } = await import("./blackboxPentest-1850fx09.js");
1906
+ const { runWithCliNativeRolloutEvidence } = await import("./native-rollout-evidence-0820cgjt.js");
1907
1907
  const evidence = await runWithCliNativeRolloutEvidence({
1908
1908
  session,
1909
1909
  outputDirectory: evidenceOutput,
@@ -1967,9 +1967,9 @@ Report: ${reportPath}` : ""}`);
1967
1967
  }
1968
1968
  }
1969
1969
  async function runTargetedPentest() {
1970
- const { runTargetedPentestAgent } = await import("./targetedPentest-ttafan4t.js");
1971
- const { sessions } = await import("./index-4gfq7kzj.js");
1972
- const { config: appConfig } = await import("./index-y5t6w61g.js");
1970
+ const { runTargetedPentestAgent } = await import("./targetedPentest-p94z9n61.js");
1971
+ const { sessions } = await import("./index-t0p01qg4.js");
1972
+ const { config: appConfig } = await import("./index-pvm55x85.js");
1973
1973
  const target = getArgRequired("--target");
1974
1974
  const objectives = getAllArgs("--objective");
1975
1975
  const evidenceOutput = nativeRolloutEvidenceOutput();
@@ -2004,7 +2004,7 @@ ${objectivesList}
2004
2004
  } : {}
2005
2005
  });
2006
2006
  console.log(`PENSAR_SESSION_PATH:${session.rootPath}`);
2007
- const { runWithCliNativeRolloutEvidence } = await import("./native-rollout-evidence-kt4rd2bp.js");
2007
+ const { runWithCliNativeRolloutEvidence } = await import("./native-rollout-evidence-0820cgjt.js");
2008
2008
  const evidence = await runWithCliNativeRolloutEvidence({
2009
2009
  session,
2010
2010
  outputDirectory: evidenceOutput,
@@ -2037,8 +2037,8 @@ POCs: ${pocsPath}`);
2037
2037
  }
2038
2038
  }
2039
2039
  async function runThreatModel() {
2040
- const { runThreatModelWorkflow } = await import("./threatModel-nm449g6b.js");
2041
- const { config: appConfig } = await import("./index-y5t6w61g.js");
2040
+ const { runThreatModelWorkflow } = await import("./threatModel-ktqchbn1.js");
2041
+ const { config: appConfig } = await import("./index-pvm55x85.js");
2042
2042
  const path = await import("path");
2043
2043
  const pensarConfig = await appConfig.get();
2044
2044
  const model = await resolveCliModel();
@@ -2075,10 +2075,10 @@ ${sep}
2075
2075
  Threat model written to: ${resolvedPath}`);
2076
2076
  }
2077
2077
  async function runOperator() {
2078
- const { runOffensiveSecurityAgent } = await import("./offesecAgent-e3ea8mr6.js");
2079
- const { sessions, normalizeMessages, getResumeMessages } = await import("./index-4gfq7kzj.js");
2080
- const { ALL_TOOL_NAMES, SKILL_TOOL_NAMES } = await import("./index-pvb4d38m.js");
2081
- const { config: appConfig } = await import("./index-y5t6w61g.js");
2078
+ const { runOffensiveSecurityAgent } = await import("./offesecAgent-78zt4ce1.js");
2079
+ const { sessions, normalizeMessages, getResumeMessages } = await import("./index-t0p01qg4.js");
2080
+ const { ALL_TOOL_NAMES, SKILL_TOOL_NAMES } = await import("./index-cxa5jxva.js");
2081
+ const { config: appConfig } = await import("./index-pvm55x85.js");
2082
2082
  const { createInterface } = await import("readline");
2083
2083
  const { readFileSync, existsSync } = await import("fs");
2084
2084
  const path = await import("path");
@@ -2121,7 +2121,7 @@ ${sep}
2121
2121
  ...evidenceOutput ? { nativeRolloutEvidence: { outputDirectory: evidenceOutput } } : {}
2122
2122
  }
2123
2123
  });
2124
- const { runWithCliNativeRolloutEvidence } = await import("./native-rollout-evidence-kt4rd2bp.js");
2124
+ const { runWithCliNativeRolloutEvidence } = await import("./native-rollout-evidence-0820cgjt.js");
2125
2125
  const evidence = await runWithCliNativeRolloutEvidence({
2126
2126
  session,
2127
2127
  outputDirectory: evidenceOutput,
@@ -2224,7 +2224,7 @@ try {
2224
2224
  await standaloneRuntime?.shutdown();
2225
2225
  process.exitCode = 1;
2226
2226
  } else {
2227
- const { startTui } = await import("./index-f0v1bbhs.js");
2227
+ const { startTui } = await import("./index-27xpg3k0.js");
2228
2228
  await startTui(options);
2229
2229
  }
2230
2230
  } else if (hasFlag("-p") || command === "--prompt") {
@@ -2244,37 +2244,37 @@ try {
2244
2244
  await runTargetedPentest();
2245
2245
  } else if (command === "login" || command === "auth") {
2246
2246
  process.argv = [process.argv[0], process.argv[1], ...args.slice(1)];
2247
- await import("./auth-dcmykx6e.js");
2247
+ await import("./auth-sdg0sqa0.js");
2248
2248
  } else if (command === "uninstall") {
2249
2249
  process.argv = [process.argv[0], process.argv[1], ...args.slice(1)];
2250
- await import("./uninstall-0m52nyc0.js");
2250
+ await import("./uninstall-7kxqrs32.js");
2251
2251
  } else if (command === "apps") {
2252
2252
  process.argv = [process.argv[0], process.argv[1], ...args.slice(1)];
2253
- await import("./apps-pxdathp4.js");
2253
+ await import("./apps-6hstfsy5.js");
2254
2254
  } else if (command === "pentests") {
2255
2255
  process.argv = [process.argv[0], process.argv[1], ...args.slice(1)];
2256
- await import("./pentests-39hy0dre.js");
2256
+ await import("./pentests-f1kh0619.js");
2257
2257
  } else if (command === "agent-runs") {
2258
- const { runAgentRunsCommand } = await import("./agent-runs-cqa7xz7d.js");
2258
+ const { runAgentRunsCommand } = await import("./agent-runs-f0fpf651.js");
2259
2259
  await runAgentRunsCommand(args.slice(1));
2260
2260
  } else if (command === "targets") {
2261
2261
  process.argv = [process.argv[0], process.argv[1], ...args.slice(1)];
2262
- await import("./targets-fzte2kq9.js");
2262
+ await import("./targets-f149r24n.js");
2263
2263
  } else if (command === "issues") {
2264
2264
  process.argv = [process.argv[0], process.argv[1], ...args.slice(1)];
2265
- await import("./issues-hnw2wt5k.js");
2265
+ await import("./issues-rscc7pny.js");
2266
2266
  } else if (command === "knowledge") {
2267
2267
  process.argv = [process.argv[0], process.argv[1], ...args.slice(1)];
2268
- await import("./knowledge-66kn0fwh.js");
2268
+ await import("./knowledge-5vd451za.js");
2269
2269
  } else if (command === "fixes") {
2270
2270
  process.argv = [process.argv[0], process.argv[1], ...args.slice(1)];
2271
- await import("./fixes-9ppnsazw.js");
2271
+ await import("./fixes-xmq89hve.js");
2272
2272
  } else if (command === "logs") {
2273
2273
  process.argv = [process.argv[0], process.argv[1], ...args.slice(1)];
2274
- await import("./logs-h3rxtq6w.js");
2274
+ await import("./logs-tax0j5es.js");
2275
2275
  } else if (command === "config") {
2276
2276
  process.argv = [process.argv[0], process.argv[1], ...args.slice(1)];
2277
- await import("./config-d9mdqs9w.js");
2277
+ await import("./config-kgz8rzkt.js");
2278
2278
  } else if (command === "threat-model") {
2279
2279
  await runThreatModel();
2280
2280
  } else if (command === "doctor") {
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  config2,
4
4
  init_config
5
- } from "./cli-mfgsx6hc.js";
5
+ } from "./cli-rv2d03xr.js";
6
6
  import {
7
7
  isSensitiveHeaderName,
8
8
  renderHeaderValue
@@ -4,24 +4,24 @@ import {
4
4
  withFindingPersistedHook,
5
5
  assertDepth,
6
6
  inProcessSeams
7
- } from "./cli-40gstjf7.js";
8
- import"./cli-mfgsx6hc.js";
9
- import"./cli-z41890cy.js";
7
+ } from "./cli-7xf5h4pb.js";
8
+ import"./cli-rv2d03xr.js";
9
+ import"./cli-1h046yxp.js";
10
10
  import {
11
11
  OffensiveSecurityAgent
12
- } from "./cli-b3hef9fp.js";
12
+ } from "./cli-z85qmtjd.js";
13
13
  import {
14
14
  buildPentestReport,
15
15
  renderJson,
16
16
  renderMarkdown,
17
17
  REPORT_FILENAME_MD,
18
18
  REPORT_FILENAME_JSON
19
- } from "./cli-b8jmzd32.js";
19
+ } from "./cli-ssstde7z.js";
20
20
  import"./cli-qba2x69h.js";
21
21
  import {
22
22
  createThreatModelPrompt
23
23
  } from "./cli-q126f6ef.js";
24
- import"./cli-6g5p7cfd.js";
24
+ import"./cli-739g9qgd.js";
25
25
  import"./cli-c2k4xxaw.js";
26
26
  import {
27
27
  init_zod
@@ -1,28 +1,28 @@
1
1
  #!/usr/bin/env bun
2
- import"./cli-b3hef9fp.js";
3
- import"./cli-40gstjf7.js";
4
- import"./cli-mfgsx6hc.js";
5
- import"./cli-z41890cy.js";
2
+ import"./cli-z85qmtjd.js";
3
+ import"./cli-7xf5h4pb.js";
4
+ import"./cli-rv2d03xr.js";
5
+ import"./cli-1h046yxp.js";
6
6
  import {
7
7
  listFixes2,
8
8
  getFix2
9
- } from "./cli-ps5hmkhw.js";
10
- import"./cli-8wkays8e.js";
11
- import"./cli-m57v3wm9.js";
12
- import"./cli-ygcbxb1m.js";
13
- import"./cli-pepjaeek.js";
14
- import"./cli-am8b7hr4.js";
15
- import"./cli-xb0pqkbk.js";
16
- import"./cli-b8jmzd32.js";
17
- import"./cli-7nrpp1ks.js";
9
+ } from "./cli-qp8413xr.js";
10
+ import"./cli-67d2744b.js";
11
+ import"./cli-9dka0an3.js";
12
+ import"./cli-zs7rp1f6.js";
13
+ import"./cli-gt29d4q6.js";
14
+ import"./cli-1qyejhv5.js";
15
+ import"./cli-qmt07txj.js";
16
+ import"./cli-ssstde7z.js";
17
+ import"./cli-tmr100n4.js";
18
18
  import"./cli-xcy2vxj2.js";
19
19
  import {
20
20
  markCommandFailed
21
21
  } from "./cli-z82n3qk1.js";
22
- import"./cli-jvhswf25.js";
23
- import"./cli-jpjj10xv.js";
22
+ import"./cli-c29xr0h0.js";
23
+ import"./cli-gy5stwkg.js";
24
24
  import"./cli-qba2x69h.js";
25
- import"./cli-6g5p7cfd.js";
25
+ import"./cli-739g9qgd.js";
26
26
  import"./cli-c2k4xxaw.js";
27
27
 
28
28
  // src/cli/fixes.ts
@@ -6,15 +6,15 @@ import {
6
6
  AppsDiscoveryResultSchema2,
7
7
  DiscoverySummarySchema2,
8
8
  WhiteboxAttackSurfaceAgent2
9
- } from "./cli-ygcbxb1m.js";
10
- import"./cli-jpjj10xv.js";
9
+ } from "./cli-zs7rp1f6.js";
10
+ import"./cli-gy5stwkg.js";
11
11
  import"./cli-qba2x69h.js";
12
- import"./cli-b3hef9fp.js";
13
- import"./cli-40gstjf7.js";
14
- import"./cli-6g5p7cfd.js";
15
- import"./cli-z41890cy.js";
12
+ import"./cli-z85qmtjd.js";
13
+ import"./cli-7xf5h4pb.js";
14
+ import"./cli-739g9qgd.js";
15
+ import"./cli-1h046yxp.js";
16
16
  import"./cli-c2k4xxaw.js";
17
- import"./cli-mfgsx6hc.js";
17
+ import"./cli-rv2d03xr.js";
18
18
  export {
19
19
  AppInfoSchema2 as AppInfoSchema,
20
20
  AppsDiscoveryResultSchema2 as AppsDiscoveryResultSchema,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  config2,
3
3
  init_config
4
- } from "./cli-mfgsx6hc.js";
4
+ } from "./cli-rv2d03xr.js";
5
5
  import {
6
6
  getPensarApiUrl2,
7
7
  getPensarConsoleUrl2,
@@ -16,7 +16,7 @@ import {
16
16
  pollForWorkspaceCreation2,
17
17
  selectWorkspace2,
18
18
  init_auth
19
- } from "./cli-z41890cy.js";
19
+ } from "./cli-1h046yxp.js";
20
20
  import {
21
21
  require_src,
22
22
  require_src2,
@@ -32,10 +32,10 @@ import {
32
32
  buildPentestPrompt,
33
33
  buildThreatModelPrompt,
34
34
  createSkillsRegistry
35
- } from "./cli-ps5hmkhw.js";
35
+ } from "./cli-qp8413xr.js";
36
36
  import {
37
37
  openRecordedRunClient2
38
- } from "./cli-kr28rrsa.js";
38
+ } from "./cli-fnth71q3.js";
39
39
  import {
40
40
  INTERNAL_ID_PATTERN,
41
41
  ApprovalGate,
@@ -51,40 +51,40 @@ import {
51
51
  ALL_TOOL_NAMES2,
52
52
  PLAN_MODE_TOOL_NAMES,
53
53
  SKILL_TOOL_NAMES2
54
- } from "./cli-b3hef9fp.js";
54
+ } from "./cli-z85qmtjd.js";
55
55
  import {
56
56
  AgentEventBus
57
- } from "./cli-40gstjf7.js";
58
- import"./cli-8wkays8e.js";
59
- import"./cli-m57v3wm9.js";
60
- import"./cli-ygcbxb1m.js";
57
+ } from "./cli-7xf5h4pb.js";
58
+ import"./cli-67d2744b.js";
59
+ import"./cli-9dka0an3.js";
60
+ import"./cli-zs7rp1f6.js";
61
61
  import {
62
62
  readExecutionMetrics,
63
63
  writeExecutionMetrics,
64
64
  convertModelMessagesToUI,
65
65
  loadSubagents
66
- } from "./cli-pepjaeek.js";
67
- import"./cli-am8b7hr4.js";
68
- import"./cli-xb0pqkbk.js";
66
+ } from "./cli-gt29d4q6.js";
67
+ import"./cli-1qyejhv5.js";
68
+ import"./cli-qmt07txj.js";
69
69
  import {
70
70
  REPORT_FILENAME_MD
71
- } from "./cli-b8jmzd32.js";
72
- import"./cli-7nrpp1ks.js";
71
+ } from "./cli-ssstde7z.js";
72
+ import"./cli-tmr100n4.js";
73
73
  import"./cli-xcy2vxj2.js";
74
74
  import {
75
75
  resolveConfig,
76
76
  createWeaveTracer
77
- } from "./cli-78pm8byz.js";
77
+ } from "./cli-4h9d98y6.js";
78
78
  import {
79
79
  isSensitiveHeaderName,
80
80
  renderHeaderValue
81
81
  } from "./cli-b3dvxjgk.js";
82
82
  import {
83
83
  resolveWorkerExecutable
84
- } from "./cli-v084p264.js";
84
+ } from "./cli-y1z3vemx.js";
85
85
  import {
86
86
  createOffensiveSecurityAgentClient2
87
- } from "./cli-jvhswf25.js";
87
+ } from "./cli-c29xr0h0.js";
88
88
  import {
89
89
  EMPTY_SESSION_TOKEN_USAGE,
90
90
  accumulateSessionTokens,
@@ -94,7 +94,7 @@ import {
94
94
  AVAILABLE_PROVIDERS,
95
95
  init_types
96
96
  } from "./cli-3gt761d2.js";
97
- import"./cli-jpjj10xv.js";
97
+ import"./cli-gy5stwkg.js";
98
98
  import"./cli-qba2x69h.js";
99
99
  import {
100
100
  parseHeaderLine2,
@@ -139,18 +139,18 @@ import {
139
139
  addRecentModelId,
140
140
  getRecentModels,
141
141
  init_ai2
142
- } from "./cli-6g5p7cfd.js";
142
+ } from "./cli-739g9qgd.js";
143
143
  import"./cli-c2k4xxaw.js";
144
144
  import {
145
145
  loadHoonifyModels,
146
146
  init_hoonify
147
- } from "./cli-xpfw29g5.js";
147
+ } from "./cli-vfkmdrkb.js";
148
148
  import {
149
149
  init_package,
150
150
  version,
151
151
  checkForUpdate,
152
152
  init_installation
153
- } from "./cli-vb4den7a.js";
153
+ } from "./cli-k46jmzbs.js";
154
154
  import {
155
155
  require_src6
156
156
  } from "./cli-bb02pjt0.js";
@@ -72007,7 +72007,7 @@ function AppContent({
72007
72007
  toast(`Update available: v${currentVersion} → v${latestVersion}. Run: pensar upgrade`, "warn", 8000);
72008
72008
  });
72009
72009
  const checkAuthToken = async () => {
72010
- const { isTokenExpired, isConnected } = await import("./index-pxhc0cbs.js");
72010
+ const { isTokenExpired, isConnected } = await import("./index-js3zc3cb.js");
72011
72011
  if (isConnected(config.data) && config.data.accessToken && isTokenExpired(config.data.accessToken, 60) && !config.data.refreshToken && !config.data.pensarAPIKey) {
72012
72012
  toast("Your Pensar Console session has expired. Run /login to refresh.", "warn", 8000);
72013
72013
  }
@@ -1,11 +1,11 @@
1
- import"./cli-40gstjf7.js";
2
- import"./cli-mfgsx6hc.js";
3
- import"./cli-z41890cy.js";
1
+ import"./cli-7xf5h4pb.js";
2
+ import"./cli-rv2d03xr.js";
3
+ import"./cli-1h046yxp.js";
4
4
  import {
5
5
  ALL_TOOL_NAMES2,
6
6
  SKILL_TOOL_NAMES2
7
- } from "./cli-b3hef9fp.js";
8
- import"./cli-6g5p7cfd.js";
7
+ } from "./cli-z85qmtjd.js";
8
+ import"./cli-739g9qgd.js";
9
9
  import"./cli-c2k4xxaw.js";
10
10
  export {
11
11
  ALL_TOOL_NAMES2 as ALL_TOOL_NAMES,