dreadnode 1.17.1__tar.gz → 2.0.2__tar.gz

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 (566) hide show
  1. {dreadnode-1.17.1 → dreadnode-2.0.2}/.gitignore +74 -37
  2. dreadnode-2.0.2/LICENSE +203 -0
  3. dreadnode-2.0.2/PKG-INFO +391 -0
  4. dreadnode-2.0.2/README.md +321 -0
  5. dreadnode-2.0.2/dreadnode/__init__.py +336 -0
  6. dreadnode-2.0.2/dreadnode/__main__.py +13 -0
  7. dreadnode-2.0.2/dreadnode/agents/__init__.py +113 -0
  8. dreadnode-2.0.2/dreadnode/agents/agent.py +1041 -0
  9. dreadnode-2.0.2/dreadnode/agents/events.py +979 -0
  10. dreadnode-1.17.1/dreadnode/agent/error.py → dreadnode-2.0.2/dreadnode/agents/exceptions.py +4 -0
  11. {dreadnode-1.17.1/dreadnode/agent → dreadnode-2.0.2/dreadnode/agents}/format.py +6 -6
  12. dreadnode-2.0.2/dreadnode/agents/hooks.py +419 -0
  13. dreadnode-2.0.2/dreadnode/agents/mcp/__init__.py +60 -0
  14. dreadnode-2.0.2/dreadnode/agents/mcp/auth.py +140 -0
  15. dreadnode-2.0.2/dreadnode/agents/mcp/client.py +435 -0
  16. dreadnode-2.0.2/dreadnode/agents/mcp/config.py +95 -0
  17. dreadnode-2.0.2/dreadnode/agents/mcp/server.py +118 -0
  18. dreadnode-2.0.2/dreadnode/agents/reactions.py +48 -0
  19. dreadnode-2.0.2/dreadnode/agents/skills.py +438 -0
  20. dreadnode-2.0.2/dreadnode/agents/stopping.py +495 -0
  21. dreadnode-2.0.2/dreadnode/agents/subagent.py +199 -0
  22. dreadnode-2.0.2/dreadnode/agents/tools.py +904 -0
  23. dreadnode-2.0.2/dreadnode/agents/trajectory.py +469 -0
  24. dreadnode-2.0.2/dreadnode/airt/__init__.py +70 -0
  25. dreadnode-2.0.2/dreadnode/airt/analytics/__init__.py +45 -0
  26. dreadnode-2.0.2/dreadnode/airt/analytics/aggregator.py +153 -0
  27. dreadnode-2.0.2/dreadnode/airt/analytics/classifier.py +136 -0
  28. dreadnode-2.0.2/dreadnode/airt/analytics/compliance.py +140 -0
  29. dreadnode-2.0.2/dreadnode/airt/analytics/engine.py +375 -0
  30. dreadnode-2.0.2/dreadnode/airt/analytics/recommendations.py +193 -0
  31. dreadnode-2.0.2/dreadnode/airt/analytics/types.py +338 -0
  32. dreadnode-2.0.2/dreadnode/airt/assessment.py +486 -0
  33. dreadnode-2.0.2/dreadnode/airt/autodan_turbo.py +373 -0
  34. dreadnode-2.0.2/dreadnode/airt/beast.py +427 -0
  35. dreadnode-2.0.2/dreadnode/airt/compliance/__init__.py +224 -0
  36. dreadnode-2.0.2/dreadnode/airt/compliance/atlas.py +120 -0
  37. dreadnode-2.0.2/dreadnode/airt/compliance/nist.py +63 -0
  38. dreadnode-2.0.2/dreadnode/airt/compliance/owasp.py +86 -0
  39. dreadnode-2.0.2/dreadnode/airt/compliance/owasp_agentic.py +153 -0
  40. dreadnode-2.0.2/dreadnode/airt/compliance/saif.py +69 -0
  41. dreadnode-2.0.2/dreadnode/airt/constants.py +46 -0
  42. dreadnode-2.0.2/dreadnode/airt/crescendo.py +304 -0
  43. dreadnode-2.0.2/dreadnode/airt/data/__init__.py +1 -0
  44. dreadnode-2.0.2/dreadnode/airt/data/assets/audio/adversarial_query.mp3 +0 -0
  45. dreadnode-2.0.2/dreadnode/airt/data/rubrics/data_exfiltration.yaml +95 -0
  46. dreadnode-2.0.2/dreadnode/airt/data/rubrics/goal_hijacking.yaml +102 -0
  47. dreadnode-2.0.2/dreadnode/airt/data/rubrics/memory_poisoning.yaml +107 -0
  48. dreadnode-2.0.2/dreadnode/airt/data/rubrics/privilege_escalation.yaml +109 -0
  49. dreadnode-2.0.2/dreadnode/airt/data/rubrics/rce.yaml +87 -0
  50. dreadnode-2.0.2/dreadnode/airt/data/rubrics/scope_creep.yaml +136 -0
  51. dreadnode-2.0.2/dreadnode/airt/data/rubrics/tool_chaining.yaml +117 -0
  52. dreadnode-2.0.2/dreadnode/airt/data/rubrics/tool_selection_safety.yaml +164 -0
  53. dreadnode-2.0.2/dreadnode/airt/data/rubrics/unbounded_agency.yaml +206 -0
  54. dreadnode-2.0.2/dreadnode/airt/data/rubrics/web_chatbot_security.yaml +226 -0
  55. dreadnode-2.0.2/dreadnode/airt/deep_inception.py +291 -0
  56. dreadnode-2.0.2/dreadnode/airt/drattack.py +729 -0
  57. dreadnode-2.0.2/dreadnode/airt/events.py +551 -0
  58. {dreadnode-1.17.1/dreadnode/airt/attack → dreadnode-2.0.2/dreadnode/airt}/goat.py +110 -56
  59. dreadnode-2.0.2/dreadnode/airt/gptfuzzer.py +349 -0
  60. dreadnode-2.0.2/dreadnode/airt/image.py +266 -0
  61. dreadnode-2.0.2/dreadnode/airt/multimodal.py +196 -0
  62. dreadnode-2.0.2/dreadnode/airt/pair.py +269 -0
  63. dreadnode-2.0.2/dreadnode/airt/prompt.py +325 -0
  64. dreadnode-2.0.2/dreadnode/airt/rainbow.py +305 -0
  65. dreadnode-2.0.2/dreadnode/airt/renellm.py +377 -0
  66. dreadnode-2.0.2/dreadnode/airt/reporting/__init__.py +16 -0
  67. dreadnode-2.0.2/dreadnode/airt/reporting/json_report.py +121 -0
  68. dreadnode-2.0.2/dreadnode/airt/reporting/llm_summary.py +159 -0
  69. dreadnode-2.0.2/dreadnode/airt/reporting/markdown.py +254 -0
  70. {dreadnode-1.17.1/dreadnode/airt/attack → dreadnode-2.0.2/dreadnode/airt}/tap.py +85 -19
  71. dreadnode-2.0.2/dreadnode/app/__init__.py +22 -0
  72. dreadnode-2.0.2/dreadnode/app/api/__init__.py +3 -0
  73. dreadnode-2.0.2/dreadnode/app/api/client.py +2327 -0
  74. dreadnode-2.0.2/dreadnode/app/api/models.py +1566 -0
  75. dreadnode-2.0.2/dreadnode/app/cli/__init__.py +5 -0
  76. dreadnode-2.0.2/dreadnode/app/cli/airt.py +358 -0
  77. dreadnode-2.0.2/dreadnode/app/cli/capability.py +252 -0
  78. dreadnode-2.0.2/dreadnode/app/cli/dataset.py +101 -0
  79. dreadnode-2.0.2/dreadnode/app/cli/evaluation.py +185 -0
  80. dreadnode-2.0.2/dreadnode/app/cli/main.py +337 -0
  81. dreadnode-2.0.2/dreadnode/app/cli/model.py +101 -0
  82. dreadnode-2.0.2/dreadnode/app/cli/optimize.py +382 -0
  83. dreadnode-2.0.2/dreadnode/app/cli/runtime.py +52 -0
  84. dreadnode-2.0.2/dreadnode/app/cli/shared.py +704 -0
  85. dreadnode-2.0.2/dreadnode/app/cli/task.py +139 -0
  86. dreadnode-2.0.2/dreadnode/app/cli/train.py +453 -0
  87. dreadnode-2.0.2/dreadnode/app/cli/worlds.py +579 -0
  88. dreadnode-2.0.2/dreadnode/app/main.py +2583 -0
  89. dreadnode-2.0.2/dreadnode/app/print_mode.py +212 -0
  90. dreadnode-2.0.2/dreadnode/app/server/__init__.py +5 -0
  91. dreadnode-2.0.2/dreadnode/app/server/app.py +2699 -0
  92. dreadnode-2.0.2/dreadnode/app/server/default-agent/tools/coding.py +968 -0
  93. dreadnode-2.0.2/dreadnode/app/server/default-agent/tools/subagent.py +214 -0
  94. dreadnode-2.0.2/dreadnode/app/server/session.py +263 -0
  95. dreadnode-2.0.2/dreadnode/app/server/system-prompt.md +8 -0
  96. dreadnode-2.0.2/dreadnode/app/server/utils.py +25 -0
  97. dreadnode-2.0.2/dreadnode/app/tui/__init__.py +1 -0
  98. dreadnode-2.0.2/dreadnode/app/tui/app.py +3573 -0
  99. dreadnode-2.0.2/dreadnode/app/tui/client.py +746 -0
  100. dreadnode-2.0.2/dreadnode/app/tui/commands.py +401 -0
  101. dreadnode-2.0.2/dreadnode/app/tui/dreadnode.tcss +667 -0
  102. dreadnode-2.0.2/dreadnode/app/tui/event_contract.py +293 -0
  103. dreadnode-2.0.2/dreadnode/app/tui/model_variants.py +236 -0
  104. dreadnode-2.0.2/dreadnode/app/tui/screens/__init__.py +31 -0
  105. dreadnode-2.0.2/dreadnode/app/tui/screens/auth.py +478 -0
  106. dreadnode-2.0.2/dreadnode/app/tui/screens/base.py +97 -0
  107. dreadnode-2.0.2/dreadnode/app/tui/screens/capabilities.py +1126 -0
  108. dreadnode-2.0.2/dreadnode/app/tui/screens/console.py +179 -0
  109. dreadnode-2.0.2/dreadnode/app/tui/screens/environments.py +310 -0
  110. dreadnode-2.0.2/dreadnode/app/tui/screens/evaluations.py +561 -0
  111. dreadnode-2.0.2/dreadnode/app/tui/screens/hub.py +224 -0
  112. dreadnode-2.0.2/dreadnode/app/tui/screens/model_picker.py +127 -0
  113. dreadnode-2.0.2/dreadnode/app/tui/screens/runtimes.py +314 -0
  114. dreadnode-2.0.2/dreadnode/app/tui/screens/sandboxes.py +380 -0
  115. dreadnode-2.0.2/dreadnode/app/tui/screens/secrets.py +167 -0
  116. dreadnode-2.0.2/dreadnode/app/tui/screens/sessions.py +307 -0
  117. dreadnode-2.0.2/dreadnode/app/tui/screens/traces.py +634 -0
  118. dreadnode-2.0.2/dreadnode/app/tui/theme.py +48 -0
  119. dreadnode-2.0.2/dreadnode/app/tui/turn_reducer.py +225 -0
  120. dreadnode-2.0.2/dreadnode/app/tui/widgets/__init__.py +52 -0
  121. dreadnode-2.0.2/dreadnode/app/tui/widgets/agent_dialog.py +102 -0
  122. dreadnode-2.0.2/dreadnode/app/tui/widgets/agent_suggester.py +42 -0
  123. dreadnode-2.0.2/dreadnode/app/tui/widgets/composer.py +277 -0
  124. dreadnode-2.0.2/dreadnode/app/tui/widgets/context_bar.py +175 -0
  125. dreadnode-2.0.2/dreadnode/app/tui/widgets/conversation.py +262 -0
  126. dreadnode-2.0.2/dreadnode/app/tui/widgets/flash.py +74 -0
  127. dreadnode-2.0.2/dreadnode/app/tui/widgets/header_bar.py +58 -0
  128. dreadnode-2.0.2/dreadnode/app/tui/widgets/help_panel.py +120 -0
  129. dreadnode-2.0.2/dreadnode/app/tui/widgets/mcp_dialog.py +72 -0
  130. dreadnode-2.0.2/dreadnode/app/tui/widgets/mention_overlay.py +75 -0
  131. dreadnode-2.0.2/dreadnode/app/tui/widgets/message_queue.py +50 -0
  132. dreadnode-2.0.2/dreadnode/app/tui/widgets/overlay_mixin.py +37 -0
  133. dreadnode-2.0.2/dreadnode/app/tui/widgets/permission_prompt.py +155 -0
  134. dreadnode-2.0.2/dreadnode/app/tui/widgets/prompt_info.py +57 -0
  135. dreadnode-2.0.2/dreadnode/app/tui/widgets/session_sidebar.py +111 -0
  136. dreadnode-2.0.2/dreadnode/app/tui/widgets/skills_dialog.py +84 -0
  137. dreadnode-2.0.2/dreadnode/app/tui/widgets/slash_overlay.py +78 -0
  138. dreadnode-2.0.2/dreadnode/app/tui/widgets/status_bar.py +81 -0
  139. dreadnode-2.0.2/dreadnode/app/tui/widgets/throbber.py +87 -0
  140. dreadnode-2.0.2/dreadnode/app/tui/widgets/tool.py +60 -0
  141. dreadnode-2.0.2/dreadnode/app/tui/widgets/tool_progress.py +95 -0
  142. dreadnode-2.0.2/dreadnode/app/tui/widgets/tools_dialog.py +76 -0
  143. dreadnode-2.0.2/dreadnode/app/tui/widgets/welcome.py +81 -0
  144. dreadnode-2.0.2/dreadnode/capabilities/__init__.py +49 -0
  145. dreadnode-2.0.2/dreadnode/capabilities/capability.py +383 -0
  146. dreadnode-2.0.2/dreadnode/capabilities/loader.py +1173 -0
  147. dreadnode-2.0.2/dreadnode/capabilities/sync.py +325 -0
  148. dreadnode-2.0.2/dreadnode/capabilities/tool_rules.py +51 -0
  149. dreadnode-2.0.2/dreadnode/capabilities/types.py +116 -0
  150. dreadnode-2.0.2/dreadnode/core/__init__.py +83 -0
  151. dreadnode-2.0.2/dreadnode/core/conditions.py +1124 -0
  152. {dreadnode-1.17.1/dreadnode → dreadnode-2.0.2/dreadnode/core}/discovery.py +1 -1
  153. dreadnode-2.0.2/dreadnode/core/environment.py +67 -0
  154. dreadnode-2.0.2/dreadnode/core/exceptions.py +224 -0
  155. dreadnode-2.0.2/dreadnode/core/execution.py +216 -0
  156. dreadnode-2.0.2/dreadnode/core/hook.py +235 -0
  157. dreadnode-2.0.2/dreadnode/core/judge.py +43 -0
  158. dreadnode-2.0.2/dreadnode/core/load.py +268 -0
  159. dreadnode-2.0.2/dreadnode/core/log.py +346 -0
  160. {dreadnode-1.17.1/dreadnode → dreadnode-2.0.2/dreadnode/core}/meta/__init__.py +22 -11
  161. {dreadnode-1.17.1/dreadnode → dreadnode-2.0.2/dreadnode/core}/meta/config.py +17 -12
  162. {dreadnode-1.17.1/dreadnode → dreadnode-2.0.2/dreadnode/core}/meta/context.py +200 -65
  163. {dreadnode-1.17.1/dreadnode → dreadnode-2.0.2/dreadnode/core}/meta/hydrate.py +7 -6
  164. {dreadnode-1.17.1/dreadnode → dreadnode-2.0.2/dreadnode/core}/meta/introspect.py +21 -13
  165. dreadnode-2.0.2/dreadnode/core/metric.py +228 -0
  166. {dreadnode-1.17.1/dreadnode → dreadnode-2.0.2/dreadnode/core}/object.py +1 -1
  167. dreadnode-1.17.1/dreadnode/scorers/base.py → dreadnode-2.0.2/dreadnode/core/scorer.py +404 -47
  168. {dreadnode-1.17.1/dreadnode → dreadnode-2.0.2/dreadnode/core}/serialization.py +29 -18
  169. dreadnode-2.0.2/dreadnode/core/stopping.py +396 -0
  170. {dreadnode-1.17.1/dreadnode → dreadnode-2.0.2/dreadnode/core}/task.py +226 -138
  171. dreadnode-2.0.2/dreadnode/core/transforms.py +389 -0
  172. {dreadnode-1.17.1/dreadnode/data_types → dreadnode-2.0.2/dreadnode/core/types}/__init__.py +12 -14
  173. {dreadnode-1.17.1/dreadnode/data_types → dreadnode-2.0.2/dreadnode/core/types}/audio.py +1 -5
  174. dreadnode-1.17.1/dreadnode/common_types.py → dreadnode-2.0.2/dreadnode/core/types/common.py +4 -4
  175. {dreadnode-1.17.1/dreadnode/data_types → dreadnode-2.0.2/dreadnode/core/types}/image.py +5 -9
  176. {dreadnode-1.17.1/dreadnode/data_types → dreadnode-2.0.2/dreadnode/core/types}/object_3d.py +1 -1
  177. {dreadnode-1.17.1/dreadnode/data_types → dreadnode-2.0.2/dreadnode/core/types}/table.py +1 -1
  178. {dreadnode-1.17.1/dreadnode/data_types → dreadnode-2.0.2/dreadnode/core/types}/text.py +2 -2
  179. {dreadnode-1.17.1/dreadnode/data_types → dreadnode-2.0.2/dreadnode/core/types}/video.py +11 -25
  180. {dreadnode-1.17.1/dreadnode → dreadnode-2.0.2/dreadnode/core}/util.py +54 -195
  181. dreadnode-2.0.2/dreadnode/datasets/__init__.py +4 -0
  182. dreadnode-2.0.2/dreadnode/datasets/dataset.py +34 -0
  183. dreadnode-2.0.2/dreadnode/datasets/hf.py +64 -0
  184. dreadnode-2.0.2/dreadnode/datasets/local.py +558 -0
  185. dreadnode-2.0.2/dreadnode/evaluations/__init__.py +109 -0
  186. {dreadnode-1.17.1/dreadnode/eval → dreadnode-2.0.2/dreadnode/evaluations}/console.py +35 -71
  187. dreadnode-2.0.2/dreadnode/evaluations/evaluation.py +476 -0
  188. dreadnode-2.0.2/dreadnode/evaluations/events.py +134 -0
  189. {dreadnode-1.17.1/dreadnode/eval → dreadnode-2.0.2/dreadnode/evaluations}/format.py +38 -128
  190. dreadnode-2.0.2/dreadnode/evaluations/result.py +159 -0
  191. dreadnode-2.0.2/dreadnode/evaluations/sample.py +142 -0
  192. dreadnode-2.0.2/dreadnode/generators/__init__.py +1 -0
  193. dreadnode-2.0.2/dreadnode/generators/caching.py +42 -0
  194. dreadnode-2.0.2/dreadnode/generators/chat.py +504 -0
  195. dreadnode-2.0.2/dreadnode/generators/data.py +360 -0
  196. dreadnode-2.0.2/dreadnode/generators/exceptions.py +208 -0
  197. dreadnode-2.0.2/dreadnode/generators/generator/__init__.py +84 -0
  198. dreadnode-2.0.2/dreadnode/generators/generator/base.py +740 -0
  199. dreadnode-2.0.2/dreadnode/generators/generator/http.py +686 -0
  200. dreadnode-2.0.2/dreadnode/generators/generator/litellm_.py +534 -0
  201. dreadnode-2.0.2/dreadnode/generators/generator/transformers_.py +200 -0
  202. dreadnode-2.0.2/dreadnode/generators/generator/vllm_.py +196 -0
  203. dreadnode-2.0.2/dreadnode/generators/message.py +1449 -0
  204. dreadnode-2.0.2/dreadnode/generators/models.py +1071 -0
  205. dreadnode-2.0.2/dreadnode/generators/parsing.py +143 -0
  206. dreadnode-2.0.2/dreadnode/generators/tokenizer/__init__.py +41 -0
  207. dreadnode-2.0.2/dreadnode/generators/tokenizer/base.py +335 -0
  208. dreadnode-2.0.2/dreadnode/generators/tokenizer/transformers_.py +93 -0
  209. dreadnode-2.0.2/dreadnode/generators/utils.py +356 -0
  210. dreadnode-2.0.2/dreadnode/models/__init__.py +6 -0
  211. dreadnode-2.0.2/dreadnode/models/hf.py +167 -0
  212. dreadnode-2.0.2/dreadnode/models/local.py +494 -0
  213. dreadnode-2.0.2/dreadnode/models/model.py +36 -0
  214. dreadnode-2.0.2/dreadnode/optimization/__init__.py +128 -0
  215. dreadnode-2.0.2/dreadnode/optimization/adapters/__init__.py +3 -0
  216. dreadnode-2.0.2/dreadnode/optimization/adapters/agent.py +186 -0
  217. dreadnode-2.0.2/dreadnode/optimization/api.py +176 -0
  218. dreadnode-2.0.2/dreadnode/optimization/backends/__init__.py +19 -0
  219. dreadnode-2.0.2/dreadnode/optimization/backends/base.py +118 -0
  220. dreadnode-2.0.2/dreadnode/optimization/backends/gepa.py +716 -0
  221. {dreadnode-1.17.1 → dreadnode-2.0.2}/dreadnode/optimization/collectors.py +8 -15
  222. dreadnode-2.0.2/dreadnode/optimization/config.py +191 -0
  223. dreadnode-2.0.2/dreadnode/optimization/console.py +446 -0
  224. dreadnode-2.0.2/dreadnode/optimization/events.py +545 -0
  225. dreadnode-2.0.2/dreadnode/optimization/format.py +337 -0
  226. dreadnode-2.0.2/dreadnode/optimization/jobs.py +830 -0
  227. dreadnode-2.0.2/dreadnode/optimization/result.py +234 -0
  228. dreadnode-2.0.2/dreadnode/optimization/sampler.py +121 -0
  229. {dreadnode-1.17.1 → dreadnode-2.0.2}/dreadnode/optimization/sampling.py +7 -20
  230. dreadnode-2.0.2/dreadnode/optimization/search.py +60 -0
  231. dreadnode-2.0.2/dreadnode/optimization/stopping.py +389 -0
  232. dreadnode-2.0.2/dreadnode/optimization/study.py +701 -0
  233. dreadnode-2.0.2/dreadnode/optimization/trial.py +166 -0
  234. dreadnode-2.0.2/dreadnode/packaging/loader.py +125 -0
  235. dreadnode-2.0.2/dreadnode/packaging/manifest.py +68 -0
  236. dreadnode-2.0.2/dreadnode/packaging/oci.py +639 -0
  237. dreadnode-2.0.2/dreadnode/packaging/package.py +492 -0
  238. dreadnode-2.0.2/dreadnode/samplers/__init__.py +74 -0
  239. dreadnode-2.0.2/dreadnode/samplers/boundary.py +143 -0
  240. dreadnode-2.0.2/dreadnode/samplers/fuzzing.py +362 -0
  241. dreadnode-2.0.2/dreadnode/samplers/graph.py +261 -0
  242. dreadnode-2.0.2/dreadnode/samplers/grid.py +82 -0
  243. dreadnode-2.0.2/dreadnode/samplers/image.py +789 -0
  244. dreadnode-2.0.2/dreadnode/samplers/mapelites.py +355 -0
  245. dreadnode-2.0.2/dreadnode/samplers/optuna.py +155 -0
  246. dreadnode-2.0.2/dreadnode/samplers/random.py +148 -0
  247. dreadnode-2.0.2/dreadnode/samplers/registry.py +71 -0
  248. dreadnode-2.0.2/dreadnode/samplers/strategy.py +479 -0
  249. dreadnode-2.0.2/dreadnode/scorers/__init__.py +307 -0
  250. dreadnode-2.0.2/dreadnode/scorers/advanced_jailbreak_detection.py +530 -0
  251. dreadnode-2.0.2/dreadnode/scorers/agent_security.py +711 -0
  252. dreadnode-2.0.2/dreadnode/scorers/agentic.py +841 -0
  253. dreadnode-2.0.2/dreadnode/scorers/agentic_workflow.py +999 -0
  254. {dreadnode-1.17.1 → dreadnode-2.0.2}/dreadnode/scorers/classification.py +7 -6
  255. {dreadnode-1.17.1 → dreadnode-2.0.2}/dreadnode/scorers/consistency.py +3 -3
  256. {dreadnode-1.17.1 → dreadnode-2.0.2}/dreadnode/scorers/contains.py +2 -2
  257. dreadnode-2.0.2/dreadnode/scorers/credentials.py +267 -0
  258. {dreadnode-1.17.1 → dreadnode-2.0.2}/dreadnode/scorers/crucible.py +2 -2
  259. dreadnode-2.0.2/dreadnode/scorers/documentation_security.py +506 -0
  260. dreadnode-2.0.2/dreadnode/scorers/exfiltration_detection.py +275 -0
  261. {dreadnode-1.17.1 → dreadnode-2.0.2}/dreadnode/scorers/format.py +3 -3
  262. {dreadnode-1.17.1 → dreadnode-2.0.2}/dreadnode/scorers/harm.py +3 -3
  263. dreadnode-2.0.2/dreadnode/scorers/ide_security.py +419 -0
  264. {dreadnode-1.17.1 → dreadnode-2.0.2}/dreadnode/scorers/image.py +5 -5
  265. {dreadnode-1.17.1 → dreadnode-2.0.2}/dreadnode/scorers/json.py +6 -5
  266. dreadnode-2.0.2/dreadnode/scorers/judge.py +366 -0
  267. {dreadnode-1.17.1 → dreadnode-2.0.2}/dreadnode/scorers/length.py +2 -2
  268. {dreadnode-1.17.1 → dreadnode-2.0.2}/dreadnode/scorers/lexical.py +2 -2
  269. dreadnode-2.0.2/dreadnode/scorers/mcp_security.py +475 -0
  270. dreadnode-2.0.2/dreadnode/scorers/memorization.py +171 -0
  271. dreadnode-2.0.2/dreadnode/scorers/multi_agent_security.py +431 -0
  272. {dreadnode-1.17.1 → dreadnode-2.0.2}/dreadnode/scorers/pii.py +7 -7
  273. dreadnode-2.0.2/dreadnode/scorers/prompt_leak.py +265 -0
  274. {dreadnode-1.17.1 → dreadnode-2.0.2}/dreadnode/scorers/readability.py +4 -4
  275. dreadnode-2.0.2/dreadnode/scorers/reasoning_security.py +348 -0
  276. {dreadnode-1.17.1 → dreadnode-2.0.2}/dreadnode/scorers/sentiment.py +6 -6
  277. {dreadnode-1.17.1 → dreadnode-2.0.2}/dreadnode/scorers/similarity.py +13 -13
  278. dreadnode-2.0.2/dreadnode/storage/__init__.py +50 -0
  279. dreadnode-2.0.2/dreadnode/storage/providers.py +252 -0
  280. dreadnode-2.0.2/dreadnode/storage/session_store.py +499 -0
  281. dreadnode-2.0.2/dreadnode/storage/storage.py +826 -0
  282. dreadnode-2.0.2/dreadnode/tools/__init__.py +102 -0
  283. dreadnode-2.0.2/dreadnode/tools/_ripgrep.py +51 -0
  284. dreadnode-2.0.2/dreadnode/tools/apply_patch.py +490 -0
  285. dreadnode-2.0.2/dreadnode/tools/editing.py +580 -0
  286. dreadnode-2.0.2/dreadnode/tools/execute.py +200 -0
  287. dreadnode-2.0.2/dreadnode/tools/fetch.py +162 -0
  288. dreadnode-2.0.2/dreadnode/tools/glob.py +143 -0
  289. dreadnode-2.0.2/dreadnode/tools/grep.py +285 -0
  290. dreadnode-2.0.2/dreadnode/tools/interaction.py +326 -0
  291. dreadnode-2.0.2/dreadnode/tools/ls.py +219 -0
  292. {dreadnode-1.17.1/dreadnode/agent → dreadnode-2.0.2/dreadnode}/tools/memory.py +1 -1
  293. dreadnode-2.0.2/dreadnode/tools/read.py +336 -0
  294. dreadnode-1.17.1/dreadnode/agent/tools/tasking.py → dreadnode-2.0.2/dreadnode/tools/task.py +4 -4
  295. dreadnode-2.0.2/dreadnode/tools/think.py +28 -0
  296. dreadnode-1.17.1/dreadnode/agent/tools/planning.py → dreadnode-2.0.2/dreadnode/tools/todo.py +16 -34
  297. dreadnode-2.0.2/dreadnode/tools/web_search.py +170 -0
  298. dreadnode-2.0.2/dreadnode/tools/write.py +52 -0
  299. dreadnode-2.0.2/dreadnode/tracing/constants.py +162 -0
  300. dreadnode-2.0.2/dreadnode/tracing/convert.py +61 -0
  301. {dreadnode-1.17.1/dreadnode → dreadnode-2.0.2/dreadnode/tracing}/exporter.py +3 -5
  302. dreadnode-2.0.2/dreadnode/tracing/exporters.py +278 -0
  303. dreadnode-2.0.2/dreadnode/tracing/span.py +980 -0
  304. dreadnode-2.0.2/dreadnode/tracing/spans.py +196 -0
  305. dreadnode-2.0.2/dreadnode/tracing/trace_converter.py +556 -0
  306. dreadnode-2.0.2/dreadnode/training/__init__.py +442 -0
  307. dreadnode-2.0.2/dreadnode/training/base.py +244 -0
  308. dreadnode-2.0.2/dreadnode/training/dpo.py +10 -0
  309. dreadnode-2.0.2/dreadnode/training/etl/__init__.py +85 -0
  310. dreadnode-2.0.2/dreadnode/training/etl/_common.py +73 -0
  311. dreadnode-2.0.2/dreadnode/training/etl/rl.py +118 -0
  312. dreadnode-2.0.2/dreadnode/training/etl/sft.py +102 -0
  313. dreadnode-2.0.2/dreadnode/training/etl/worlds.py +1178 -0
  314. dreadnode-2.0.2/dreadnode/training/events.py +143 -0
  315. dreadnode-2.0.2/dreadnode/training/grpo.py +16 -0
  316. dreadnode-2.0.2/dreadnode/training/jobs.py +1395 -0
  317. dreadnode-2.0.2/dreadnode/training/ppo.py +14 -0
  318. dreadnode-2.0.2/dreadnode/training/prime.py +155 -0
  319. dreadnode-2.0.2/dreadnode/training/ray/__init__.py +275 -0
  320. dreadnode-2.0.2/dreadnode/training/ray/async_trainer.py +473 -0
  321. dreadnode-2.0.2/dreadnode/training/ray/config.py +230 -0
  322. dreadnode-2.0.2/dreadnode/training/ray/coordinator.py +591 -0
  323. dreadnode-2.0.2/dreadnode/training/ray/distributed.py +615 -0
  324. dreadnode-2.0.2/dreadnode/training/ray/dpo.py +569 -0
  325. dreadnode-2.0.2/dreadnode/training/ray/experience.py +526 -0
  326. dreadnode-2.0.2/dreadnode/training/ray/fsdp2_learner.py +748 -0
  327. dreadnode-2.0.2/dreadnode/training/ray/inference.py +356 -0
  328. dreadnode-2.0.2/dreadnode/training/ray/learner.py +464 -0
  329. dreadnode-2.0.2/dreadnode/training/ray/multi_turn.py +777 -0
  330. dreadnode-2.0.2/dreadnode/training/ray/ppo.py +889 -0
  331. dreadnode-2.0.2/dreadnode/training/ray/reward_model.py +670 -0
  332. dreadnode-2.0.2/dreadnode/training/ray/rollout_env.py +211 -0
  333. dreadnode-2.0.2/dreadnode/training/ray/rollout_worker.py +628 -0
  334. dreadnode-2.0.2/dreadnode/training/ray/sft.py +640 -0
  335. dreadnode-2.0.2/dreadnode/training/ray/trainer.py +765 -0
  336. dreadnode-2.0.2/dreadnode/training/recipes.py +201 -0
  337. dreadnode-2.0.2/dreadnode/training/rewards/__init__.py +96 -0
  338. dreadnode-2.0.2/dreadnode/training/rewards/aggregator.py +291 -0
  339. dreadnode-2.0.2/dreadnode/training/rewards/functions.py +333 -0
  340. dreadnode-2.0.2/dreadnode/training/rewards/scorer_bridge.py +265 -0
  341. dreadnode-2.0.2/dreadnode/training/rewards/shaping.py +363 -0
  342. dreadnode-2.0.2/dreadnode/training/rewards/types.py +186 -0
  343. dreadnode-2.0.2/dreadnode/training/rollouts/__init__.py +100 -0
  344. dreadnode-2.0.2/dreadnode/training/rollouts/adapters.py +306 -0
  345. dreadnode-2.0.2/dreadnode/training/rollouts/orchestrator.py +553 -0
  346. dreadnode-2.0.2/dreadnode/training/rollouts/types.py +259 -0
  347. dreadnode-2.0.2/dreadnode/training/rollouts/worlds.py +920 -0
  348. dreadnode-2.0.2/dreadnode/training/serving/__init__.py +35 -0
  349. dreadnode-2.0.2/dreadnode/training/serving/vllm_client.py +292 -0
  350. dreadnode-2.0.2/dreadnode/training/sft.py +10 -0
  351. dreadnode-2.0.2/dreadnode/training/tinker/__init__.py +184 -0
  352. dreadnode-2.0.2/dreadnode/training/tinker/config.py +129 -0
  353. dreadnode-2.0.2/dreadnode/training/tinker/data.py +488 -0
  354. dreadnode-2.0.2/dreadnode/training/tinker/renderer.py +533 -0
  355. dreadnode-2.0.2/dreadnode/training/tinker/rl.py +386 -0
  356. dreadnode-2.0.2/dreadnode/training/tinker/trainer.py +654 -0
  357. dreadnode-2.0.2/dreadnode/training/tinker_sft.py +174 -0
  358. dreadnode-2.0.2/dreadnode/training/utils.py +997 -0
  359. dreadnode-2.0.2/dreadnode/transforms/__init__.py +143 -0
  360. dreadnode-2.0.2/dreadnode/transforms/advanced_jailbreak.py +1144 -0
  361. dreadnode-2.0.2/dreadnode/transforms/adversarial_suffix.py +337 -0
  362. dreadnode-2.0.2/dreadnode/transforms/agent_skill.py +800 -0
  363. dreadnode-2.0.2/dreadnode/transforms/agentic_workflow.py +1089 -0
  364. dreadnode-2.0.2/dreadnode/transforms/audio.py +990 -0
  365. dreadnode-2.0.2/dreadnode/transforms/browser_agent_attacks.py +976 -0
  366. {dreadnode-1.17.1 → dreadnode-2.0.2}/dreadnode/transforms/cipher.py +65 -41
  367. dreadnode-2.0.2/dreadnode/transforms/constitutional.py +1001 -0
  368. dreadnode-2.0.2/dreadnode/transforms/document.py +300 -0
  369. dreadnode-2.0.2/dreadnode/transforms/documentation_poison.py +514 -0
  370. dreadnode-2.0.2/dreadnode/transforms/encoding.py +1446 -0
  371. dreadnode-2.0.2/dreadnode/transforms/exfiltration.py +797 -0
  372. dreadnode-2.0.2/dreadnode/transforms/flip_attack.py +377 -0
  373. dreadnode-2.0.2/dreadnode/transforms/guardrail_bypass.py +976 -0
  374. dreadnode-2.0.2/dreadnode/transforms/ide_injection.py +623 -0
  375. dreadnode-2.0.2/dreadnode/transforms/image.py +893 -0
  376. dreadnode-2.0.2/dreadnode/transforms/injection.py +311 -0
  377. dreadnode-2.0.2/dreadnode/transforms/json_tools.py +417 -0
  378. dreadnode-2.0.2/dreadnode/transforms/language.py +575 -0
  379. dreadnode-2.0.2/dreadnode/transforms/logic_bomb.py +287 -0
  380. dreadnode-2.0.2/dreadnode/transforms/mcp_attacks.py +1062 -0
  381. dreadnode-2.0.2/dreadnode/transforms/multi_agent_attacks.py +1161 -0
  382. dreadnode-2.0.2/dreadnode/transforms/persuasion.py +312 -0
  383. {dreadnode-1.17.1 → dreadnode-2.0.2}/dreadnode/transforms/perturbation.py +282 -191
  384. dreadnode-2.0.2/dreadnode/transforms/pii_extraction.py +343 -0
  385. dreadnode-2.0.2/dreadnode/transforms/pythonic_tools.py +297 -0
  386. dreadnode-2.0.2/dreadnode/transforms/rag_poisoning.py +654 -0
  387. dreadnode-2.0.2/dreadnode/transforms/reasoning_attacks.py +1120 -0
  388. dreadnode-2.0.2/dreadnode/transforms/refine.py +242 -0
  389. dreadnode-2.0.2/dreadnode/transforms/response_steering.py +425 -0
  390. dreadnode-2.0.2/dreadnode/transforms/stylistic.py +85 -0
  391. {dreadnode-1.17.1 → dreadnode-2.0.2}/dreadnode/transforms/substitution.py +12 -14
  392. {dreadnode-1.17.1 → dreadnode-2.0.2}/dreadnode/transforms/swap.py +4 -4
  393. dreadnode-2.0.2/dreadnode/transforms/system_prompt_extraction.py +483 -0
  394. {dreadnode-1.17.1 → dreadnode-2.0.2}/dreadnode/transforms/text.py +34 -46
  395. dreadnode-2.0.2/dreadnode/transforms/video.py +234 -0
  396. dreadnode-2.0.2/dreadnode/transforms/xml_tools.py +403 -0
  397. dreadnode-2.0.2/dreadnode/version.py +6 -0
  398. dreadnode-2.0.2/pyproject.toml +356 -0
  399. dreadnode-1.17.1/LICENSE +0 -201
  400. dreadnode-1.17.1/PKG-INFO +0 -396
  401. dreadnode-1.17.1/README.md +0 -126
  402. dreadnode-1.17.1/dreadnode/__init__.py +0 -175
  403. dreadnode-1.17.1/dreadnode/__main__.py +0 -10
  404. dreadnode-1.17.1/dreadnode/agent/__init__.py +0 -37
  405. dreadnode-1.17.1/dreadnode/agent/agent.py +0 -1001
  406. dreadnode-1.17.1/dreadnode/agent/events.py +0 -329
  407. dreadnode-1.17.1/dreadnode/agent/hooks/__init__.py +0 -16
  408. dreadnode-1.17.1/dreadnode/agent/hooks/backoff.py +0 -134
  409. dreadnode-1.17.1/dreadnode/agent/hooks/base.py +0 -44
  410. dreadnode-1.17.1/dreadnode/agent/hooks/metrics.py +0 -84
  411. dreadnode-1.17.1/dreadnode/agent/hooks/summarize.py +0 -178
  412. dreadnode-1.17.1/dreadnode/agent/prompts/__init__.py +0 -5
  413. dreadnode-1.17.1/dreadnode/agent/prompts/summarize.py +0 -102
  414. dreadnode-1.17.1/dreadnode/agent/reactions.py +0 -32
  415. dreadnode-1.17.1/dreadnode/agent/result.py +0 -38
  416. dreadnode-1.17.1/dreadnode/agent/stop.py +0 -348
  417. dreadnode-1.17.1/dreadnode/agent/thread.py +0 -47
  418. dreadnode-1.17.1/dreadnode/agent/tools/__init__.py +0 -58
  419. dreadnode-1.17.1/dreadnode/agent/tools/base.py +0 -292
  420. dreadnode-1.17.1/dreadnode/agent/tools/execute.py +0 -145
  421. dreadnode-1.17.1/dreadnode/agent/tools/fs.py +0 -867
  422. dreadnode-1.17.1/dreadnode/agent/tools/reporting.py +0 -35
  423. dreadnode-1.17.1/dreadnode/airt/__init__.py +0 -29
  424. dreadnode-1.17.1/dreadnode/airt/attack/__init__.py +0 -21
  425. dreadnode-1.17.1/dreadnode/airt/attack/base.py +0 -38
  426. dreadnode-1.17.1/dreadnode/airt/attack/crescendo.py +0 -221
  427. dreadnode-1.17.1/dreadnode/airt/attack/hop_skip_jump.py +0 -89
  428. dreadnode-1.17.1/dreadnode/airt/attack/nes.py +0 -86
  429. dreadnode-1.17.1/dreadnode/airt/attack/prompt.py +0 -125
  430. dreadnode-1.17.1/dreadnode/airt/attack/simba.py +0 -78
  431. dreadnode-1.17.1/dreadnode/airt/attack/zoo.py +0 -84
  432. dreadnode-1.17.1/dreadnode/airt/search/__init__.py +0 -6
  433. dreadnode-1.17.1/dreadnode/airt/search/hop_skip_jump.py +0 -242
  434. dreadnode-1.17.1/dreadnode/airt/search/image_utils.py +0 -96
  435. dreadnode-1.17.1/dreadnode/airt/search/nes.py +0 -173
  436. dreadnode-1.17.1/dreadnode/airt/search/simba.py +0 -98
  437. dreadnode-1.17.1/dreadnode/airt/search/zoo.py +0 -313
  438. dreadnode-1.17.1/dreadnode/airt/target/__init__.py +0 -5
  439. dreadnode-1.17.1/dreadnode/airt/target/base.py +0 -25
  440. dreadnode-1.17.1/dreadnode/airt/target/custom.py +0 -47
  441. dreadnode-1.17.1/dreadnode/airt/target/llm.py +0 -88
  442. dreadnode-1.17.1/dreadnode/api/__init__.py +0 -3
  443. dreadnode-1.17.1/dreadnode/api/client.py +0 -912
  444. dreadnode-1.17.1/dreadnode/api/models.py +0 -550
  445. dreadnode-1.17.1/dreadnode/api/util.py +0 -177
  446. dreadnode-1.17.1/dreadnode/artifact/credential_manager.py +0 -132
  447. dreadnode-1.17.1/dreadnode/artifact/merger.py +0 -595
  448. dreadnode-1.17.1/dreadnode/artifact/storage.py +0 -136
  449. dreadnode-1.17.1/dreadnode/artifact/tree_builder.py +0 -456
  450. dreadnode-1.17.1/dreadnode/cli/__init__.py +0 -3
  451. dreadnode-1.17.1/dreadnode/cli/agent/__init__.py +0 -3
  452. dreadnode-1.17.1/dreadnode/cli/agent/cli.py +0 -174
  453. dreadnode-1.17.1/dreadnode/cli/api.py +0 -82
  454. dreadnode-1.17.1/dreadnode/cli/attack/__init__.py +0 -3
  455. dreadnode-1.17.1/dreadnode/cli/attack/cli.py +0 -162
  456. dreadnode-1.17.1/dreadnode/cli/docker.py +0 -387
  457. dreadnode-1.17.1/dreadnode/cli/eval/__init__.py +0 -3
  458. dreadnode-1.17.1/dreadnode/cli/eval/cli.py +0 -164
  459. dreadnode-1.17.1/dreadnode/cli/github.py +0 -265
  460. dreadnode-1.17.1/dreadnode/cli/main.py +0 -274
  461. dreadnode-1.17.1/dreadnode/cli/platform/__init__.py +0 -3
  462. dreadnode-1.17.1/dreadnode/cli/platform/cli.py +0 -291
  463. dreadnode-1.17.1/dreadnode/cli/platform/compose.py +0 -212
  464. dreadnode-1.17.1/dreadnode/cli/platform/constants.py +0 -16
  465. dreadnode-1.17.1/dreadnode/cli/platform/download.py +0 -95
  466. dreadnode-1.17.1/dreadnode/cli/platform/env_mgmt.py +0 -412
  467. dreadnode-1.17.1/dreadnode/cli/platform/tag.py +0 -40
  468. dreadnode-1.17.1/dreadnode/cli/platform/version.py +0 -216
  469. dreadnode-1.17.1/dreadnode/cli/profile/__init__.py +0 -3
  470. dreadnode-1.17.1/dreadnode/cli/profile/cli.py +0 -106
  471. dreadnode-1.17.1/dreadnode/cli/rbac/__init__.py +0 -3
  472. dreadnode-1.17.1/dreadnode/cli/rbac/organizations.py +0 -29
  473. dreadnode-1.17.1/dreadnode/cli/rbac/workspaces.py +0 -151
  474. dreadnode-1.17.1/dreadnode/cli/shared.py +0 -46
  475. dreadnode-1.17.1/dreadnode/cli/study/__init__.py +0 -3
  476. dreadnode-1.17.1/dreadnode/cli/study/cli.py +0 -164
  477. dreadnode-1.17.1/dreadnode/cli/task/__init__.py +0 -3
  478. dreadnode-1.17.1/dreadnode/cli/task/cli.py +0 -165
  479. dreadnode-1.17.1/dreadnode/constants.py +0 -92
  480. dreadnode-1.17.1/dreadnode/convert.py +0 -43
  481. dreadnode-1.17.1/dreadnode/data_types/message.py +0 -229
  482. dreadnode-1.17.1/dreadnode/error.py +0 -19
  483. dreadnode-1.17.1/dreadnode/eval/__init__.py +0 -11
  484. dreadnode-1.17.1/dreadnode/eval/dataset.py +0 -58
  485. dreadnode-1.17.1/dreadnode/eval/eval.py +0 -616
  486. dreadnode-1.17.1/dreadnode/eval/events.py +0 -100
  487. dreadnode-1.17.1/dreadnode/eval/hooks/__init__.py +0 -13
  488. dreadnode-1.17.1/dreadnode/eval/hooks/base.py +0 -26
  489. dreadnode-1.17.1/dreadnode/eval/hooks/transforms.py +0 -104
  490. dreadnode-1.17.1/dreadnode/eval/reactions.py +0 -35
  491. dreadnode-1.17.1/dreadnode/eval/result.py +0 -272
  492. dreadnode-1.17.1/dreadnode/eval/sample.py +0 -162
  493. dreadnode-1.17.1/dreadnode/format.py +0 -60
  494. dreadnode-1.17.1/dreadnode/integrations/transformers.py +0 -286
  495. dreadnode-1.17.1/dreadnode/logging_.py +0 -80
  496. dreadnode-1.17.1/dreadnode/main.py +0 -2006
  497. dreadnode-1.17.1/dreadnode/metric.py +0 -139
  498. dreadnode-1.17.1/dreadnode/optimization/__init__.py +0 -17
  499. dreadnode-1.17.1/dreadnode/optimization/console.py +0 -356
  500. dreadnode-1.17.1/dreadnode/optimization/events.py +0 -54
  501. dreadnode-1.17.1/dreadnode/optimization/format.py +0 -157
  502. dreadnode-1.17.1/dreadnode/optimization/result.py +0 -104
  503. dreadnode-1.17.1/dreadnode/optimization/search/__init__.py +0 -35
  504. dreadnode-1.17.1/dreadnode/optimization/search/base.py +0 -53
  505. dreadnode-1.17.1/dreadnode/optimization/search/boundary.py +0 -146
  506. dreadnode-1.17.1/dreadnode/optimization/search/graph.py +0 -198
  507. dreadnode-1.17.1/dreadnode/optimization/search/optuna_.py +0 -93
  508. dreadnode-1.17.1/dreadnode/optimization/search/random.py +0 -133
  509. dreadnode-1.17.1/dreadnode/optimization/stop.py +0 -171
  510. dreadnode-1.17.1/dreadnode/optimization/study.py +0 -673
  511. dreadnode-1.17.1/dreadnode/optimization/trial.py +0 -228
  512. dreadnode-1.17.1/dreadnode/scorers/__init__.py +0 -151
  513. dreadnode-1.17.1/dreadnode/scorers/judge.py +0 -121
  514. dreadnode-1.17.1/dreadnode/scorers/rigging.py +0 -128
  515. dreadnode-1.17.1/dreadnode/tracing/__init__.py +0 -0
  516. dreadnode-1.17.1/dreadnode/tracing/constants.py +0 -35
  517. dreadnode-1.17.1/dreadnode/tracing/exporters.py +0 -156
  518. dreadnode-1.17.1/dreadnode/tracing/span.py +0 -1160
  519. dreadnode-1.17.1/dreadnode/transforms/__init__.py +0 -69
  520. dreadnode-1.17.1/dreadnode/transforms/base.py +0 -227
  521. dreadnode-1.17.1/dreadnode/transforms/encoding.py +0 -598
  522. dreadnode-1.17.1/dreadnode/transforms/image.py +0 -202
  523. dreadnode-1.17.1/dreadnode/transforms/multimodal.py +0 -155
  524. dreadnode-1.17.1/dreadnode/transforms/refine.py +0 -189
  525. dreadnode-1.17.1/dreadnode/transforms/stylistic.py +0 -15
  526. dreadnode-1.17.1/dreadnode/user_config.py +0 -108
  527. dreadnode-1.17.1/dreadnode/version.py +0 -3
  528. dreadnode-1.17.1/examples/airt/ai_red_teaming_eval.ipynb +0 -1898
  529. dreadnode-1.17.1/examples/airt/beam_search.ipynb +0 -57
  530. dreadnode-1.17.1/examples/airt/crescendo_attack.ipynb +0 -162
  531. dreadnode-1.17.1/examples/airt/graph_of_attacks_with_pruning.ipynb +0 -181
  532. dreadnode-1.17.1/examples/airt/multimodal_attack_eval.ipynb +0 -263
  533. dreadnode-1.17.1/examples/airt/tap_vs_goat_eval.ipynb +0 -549
  534. dreadnode-1.17.1/examples/airt/tree_of_attacks_with_pruning.ipynb +0 -183
  535. dreadnode-1.17.1/examples/airt/tree_of_attacks_with_pruning_transforms.ipynb +0 -186
  536. dreadnode-1.17.1/examples/data_export.ipynb +0 -133
  537. dreadnode-1.17.1/examples/log_artifact.ipynb +0 -182
  538. dreadnode-1.17.1/examples/log_object/audio.ipynb +0 -191
  539. dreadnode-1.17.1/examples/log_object/image.ipynb +0 -290
  540. dreadnode-1.17.1/examples/log_object/object3d.ipynb +0 -109
  541. dreadnode-1.17.1/examples/log_object/table.ipynb +0 -157
  542. dreadnode-1.17.1/examples/log_object/video.ipynb +0 -242
  543. dreadnode-1.17.1/examples/model_training.ipynb +0 -118
  544. dreadnode-1.17.1/examples/rigging.ipynb +0 -95
  545. dreadnode-1.17.1/pyproject.toml +0 -191
  546. dreadnode-1.17.1/tests/cli/test_config.py +0 -79
  547. dreadnode-1.17.1/tests/cli/test_docker.py +0 -161
  548. dreadnode-1.17.1/tests/cli/test_github.py +0 -201
  549. dreadnode-1.17.1/tests/test_agent.py +0 -629
  550. dreadnode-1.17.1/tests/test_agent_lifecycle.py +0 -239
  551. dreadnode-1.17.1/tests/test_meta.py +0 -1185
  552. dreadnode-1.17.1/tests/test_task_output_linking.py +0 -141
  553. {dreadnode-1.17.1/dreadnode/data/assets → dreadnode-2.0.2/dreadnode/airt/data/assets/image}/bomb.jpg +0 -0
  554. {dreadnode-1.17.1/dreadnode/data/assets → dreadnode-2.0.2/dreadnode/airt/data/assets/image}/meth.png +0 -0
  555. {dreadnode-1.17.1/dreadnode/data/assets → dreadnode-2.0.2/dreadnode/airt/data/prompts}/adversarial_benchmark_subset.csv +0 -0
  556. {dreadnode-1.17.1/dreadnode/data/assets → dreadnode-2.0.2/dreadnode/airt/data/prompts}/ai_safety.csv +0 -0
  557. {dreadnode-1.17.1/dreadnode → dreadnode-2.0.2/dreadnode/airt}/data/templates/crescendo/variant_1.yaml +0 -0
  558. {dreadnode-1.17.1/dreadnode → dreadnode-2.0.2/dreadnode/airt}/data/templates/crescendo/variant_2.yaml +0 -0
  559. {dreadnode-1.17.1/dreadnode → dreadnode-2.0.2/dreadnode/airt}/data/templates/crescendo/variant_3.yaml +0 -0
  560. {dreadnode-1.17.1/dreadnode → dreadnode-2.0.2/dreadnode/airt}/data/templates/crescendo/variant_4.yaml +0 -0
  561. {dreadnode-1.17.1/dreadnode → dreadnode-2.0.2/dreadnode/airt}/data/templates/crescendo/variant_5.yaml +0 -0
  562. {dreadnode-1.17.1/dreadnode/data_types → dreadnode-2.0.2/dreadnode/core/types}/base.py +0 -0
  563. {dreadnode-1.17.1/dreadnode/artifact → dreadnode-2.0.2/dreadnode/packaging}/__init__.py +0 -0
  564. {dreadnode-1.17.1 → dreadnode-2.0.2}/dreadnode/py.typed +0 -0
  565. /dreadnode-1.17.1/dreadnode/scorers/util.py → /dreadnode-2.0.2/dreadnode/scorers/cosine_sim.py +0 -0
  566. {dreadnode-1.17.1/dreadnode/integrations → dreadnode-2.0.2/dreadnode/tracing}/__init__.py +0 -0
@@ -1,26 +1,6 @@
1
- # Poetry deprecated
2
- poetry.lock
3
-
4
- # Testing code
5
- notebooks/
6
- examples/.logfire
7
-
8
- # Logfire temp
9
- .logfire/
10
-
11
- # Mlflow
12
- mlruns/
13
-
14
- # Large disk files
15
- *.parquet
16
- *.jsonl
17
-
18
- # Macos
19
- .DS_Store
20
-
21
1
  # Byte-compiled / optimized / DLL files
22
2
  __pycache__/
23
- *.py[cod]
3
+ *.py[codz]
24
4
  *$py.class
25
5
 
26
6
  # C extensions
@@ -47,8 +27,8 @@ share/python-wheels/
47
27
  MANIFEST
48
28
 
49
29
  # PyInstaller
50
- # Usually these files are written by a python script from a template
51
- # before PyInstaller builds the exe, so as to inject date/other infos into it.
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
52
32
  *.manifest
53
33
  *.spec
54
34
 
@@ -66,7 +46,7 @@ htmlcov/
66
46
  nosetests.xml
67
47
  coverage.xml
68
48
  *.cover
69
- *.py,cover
49
+ *.py.cover
70
50
  .hypothesis/
71
51
  .pytest_cache/
72
52
  cover/
@@ -93,6 +73,7 @@ docs/_build/
93
73
 
94
74
  # PyBuilder
95
75
  .pybuilder/
76
+ target/
96
77
 
97
78
  # Jupyter Notebook
98
79
  .ipynb_checkpoints
@@ -111,22 +92,37 @@ ipython_config.py
111
92
  # However, in case of collaboration, if having platform-specific dependencies or dependencies
112
93
  # having no cross-platform support, pipenv may install dependencies that don't work, or not
113
94
  # install all needed dependencies.
114
- #Pipfile.lock
95
+ # Pipfile.lock
96
+
97
+ # UV
98
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
99
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
100
+ # commonly ignored for libraries.
101
+ # uv.lock
115
102
 
116
103
  # poetry
117
104
  # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
118
105
  # This is especially recommended for binary packages to ensure reproducibility, and is more
119
106
  # commonly ignored for libraries.
120
107
  # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
121
- #poetry.lock
108
+ # poetry.lock
109
+ # poetry.toml
122
110
 
123
111
  # pdm
124
112
  # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
125
- #pdm.lock
126
- # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
127
- # in version control.
128
- # https://pdm.fming.dev/#use-with-ide
129
- .pdm.toml
113
+ # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
114
+ # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
115
+ # pdm.lock
116
+ # pdm.toml
117
+ .pdm-python
118
+ .pdm-build/
119
+
120
+ # pixi
121
+ # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
122
+ # pixi.lock
123
+ # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
124
+ # in the .venv directory. It is recommended not to include this directory in version control.
125
+ .pixi
130
126
 
131
127
  # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
132
128
  __pypackages__/
@@ -135,11 +131,25 @@ __pypackages__/
135
131
  celerybeat-schedule
136
132
  celerybeat.pid
137
133
 
134
+ # Redis
135
+ *.rdb
136
+ *.aof
137
+ *.pid
138
+
139
+ # RabbitMQ
140
+ mnesia/
141
+ rabbitmq/
142
+ rabbitmq-data/
143
+
144
+ # ActiveMQ
145
+ activemq-data/
146
+
138
147
  # SageMath parsed files
139
148
  *.sage.py
140
149
 
141
150
  # Environments
142
151
  .env
152
+ .envrc
143
153
  .venv
144
154
  env/
145
155
  venv/
@@ -156,7 +166,6 @@ venv.bak/
156
166
 
157
167
  # mkdocs documentation
158
168
  /site
159
- debug.html
160
169
 
161
170
  # mypy
162
171
  .mypy_cache/
@@ -173,8 +182,36 @@ dmypy.json
173
182
  cython_debug/
174
183
 
175
184
  # PyCharm
176
- # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
177
- # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
178
- # and can be added to the global gitignore or merged into this file. For a more nuclear
179
- # option (not recommended) you can uncomment the following to ignore the entire idea folder.
180
- #.idea/
185
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
186
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
187
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
188
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
189
+ # .idea/
190
+
191
+ # Abstra
192
+ # Abstra is an AI-powered process automation framework.
193
+ # Ignore directories containing user credentials, local state, and settings.
194
+ # Learn more at https://abstra.io/docs
195
+ .abstra/
196
+
197
+ # Visual Studio Code
198
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
199
+ # that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
200
+ # and can be added to the global gitignore or merged into this file. However, if you prefer,
201
+ # you could uncomment the following to ignore the entire vscode folder
202
+ # .vscode/
203
+
204
+ # Ruff stuff:
205
+ .ruff_cache/
206
+
207
+ # PyPI configuration file
208
+ .pypirc
209
+
210
+ # Marimo
211
+ marimo/_static/
212
+ marimo/_lsp/
213
+ __marimo__/
214
+
215
+ # Streamlit
216
+ .streamlit/secrets.toml
217
+ .claude/
@@ -0,0 +1,203 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
202
+
203
+ # TODO change me