diting-agent 0.1.0__py3-none-any.whl

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 (303) hide show
  1. diting_agent-0.1.0.dist-info/METADATA +770 -0
  2. diting_agent-0.1.0.dist-info/RECORD +303 -0
  3. diting_agent-0.1.0.dist-info/WHEEL +4 -0
  4. diting_agent-0.1.0.dist-info/entry_points.txt +3 -0
  5. trace_agent/__init__.py +3 -0
  6. trace_agent/__main__.py +4 -0
  7. trace_agent/agent/__init__.py +63 -0
  8. trace_agent/agent/adapters/claude/__init__.py +48 -0
  9. trace_agent/agent/adapters/claude/client.py +83 -0
  10. trace_agent/agent/adapters/claude/session.py +72 -0
  11. trace_agent/agent/adapters/claude/skills.py +68 -0
  12. trace_agent/agent/adapters/claude/tools.py +290 -0
  13. trace_agent/agent/adapters/codex/__init__.py +534 -0
  14. trace_agent/agent/adapters/codex/client.py +315 -0
  15. trace_agent/agent/adapters/codex/events.py +342 -0
  16. trace_agent/agent/adapters/codex/prompt.py +164 -0
  17. trace_agent/agent/adapters/codex/session.py +283 -0
  18. trace_agent/agent/adapters/openai/__init__.py +481 -0
  19. trace_agent/agent/adapters/openai/client.py +539 -0
  20. trace_agent/agent/adapters/openai/prompt.py +127 -0
  21. trace_agent/agent/adapters/openai/session.py +357 -0
  22. trace_agent/agent/adapters/qoder/__init__.py +44 -0
  23. trace_agent/agent/adapters/qoder/client.py +68 -0
  24. trace_agent/agent/adapters/qoder/session.py +72 -0
  25. trace_agent/agent/adapters/qoder/tools.py +301 -0
  26. trace_agent/agent/base.py +33 -0
  27. trace_agent/agent/claude.py +697 -0
  28. trace_agent/agent/core/__init__.py +55 -0
  29. trace_agent/agent/core/audit.py +166 -0
  30. trace_agent/agent/core/diagnostics.py +101 -0
  31. trace_agent/agent/core/helpers.py +75 -0
  32. trace_agent/agent/core/parsing.py +104 -0
  33. trace_agent/agent/core/payload.py +186 -0
  34. trace_agent/agent/core/prompts.py +265 -0
  35. trace_agent/agent/factory.py +118 -0
  36. trace_agent/agent/local.py +48 -0
  37. trace_agent/agent/protocols.py +90 -0
  38. trace_agent/agent/providers.py +116 -0
  39. trace_agent/agent/qoder.py +722 -0
  40. trace_agent/agent/qoder_transport.py +118 -0
  41. trace_agent/agent/registry.py +93 -0
  42. trace_agent/agent/runtime.py +390 -0
  43. trace_agent/agent/sdk_guard.py +50 -0
  44. trace_agent/agent/transport.py +169 -0
  45. trace_agent/application/__init__.py +31 -0
  46. trace_agent/application/analyze.py +1634 -0
  47. trace_agent/application/boundary_normalization.py +310 -0
  48. trace_agent/application/checkpoint.py +101 -0
  49. trace_agent/application/completion_phase_evidence.py +160 -0
  50. trace_agent/application/composition.py +237 -0
  51. trace_agent/application/evidence_normalization.py +453 -0
  52. trace_agent/application/normalization.py +381 -0
  53. trace_agent/application/preflight.py +148 -0
  54. trace_agent/cli.py +642 -0
  55. trace_agent/cli_progress.py +271 -0
  56. trace_agent/cli_run.py +213 -0
  57. trace_agent/cli_text.py +29 -0
  58. trace_agent/compat.py +382 -0
  59. trace_agent/config.py +154 -0
  60. trace_agent/contract/__init__.py +13 -0
  61. trace_agent/contract/result.py +86 -0
  62. trace_agent/contract/task.py +76 -0
  63. trace_agent/database/__init__.py +49 -0
  64. trace_agent/database/cold_start.py +1291 -0
  65. trace_agent/database/completion_latency.py +972 -0
  66. trace_agent/database/completion_phases.py +749 -0
  67. trace_agent/database/frame_jank.py +1789 -0
  68. trace_agent/database/perf.py +595 -0
  69. trace_agent/database/perf_analysis.py +1342 -0
  70. trace_agent/database/problem_window.py +464 -0
  71. trace_agent/database/repository.py +286 -0
  72. trace_agent/database/startup_modules.py +231 -0
  73. trace_agent/database/thread_dependencies.py +334 -0
  74. trace_agent/database/thread_execution.py +643 -0
  75. trace_agent/database/trace_indexes.py +73 -0
  76. trace_agent/demo/__init__.py +105 -0
  77. trace_agent/demo/agent.py +2114 -0
  78. trace_agent/demo/capture.py +130 -0
  79. trace_agent/demo/cli.py +463 -0
  80. trace_agent/demo/runner.py +327 -0
  81. trace_agent/demo/scenarios.py +207 -0
  82. trace_agent/demo/synth.py +1160 -0
  83. trace_agent/demo/trace_adapter.py +234 -0
  84. trace_agent/doctor/__init__.py +38 -0
  85. trace_agent/doctor/checks.py +828 -0
  86. trace_agent/doctor/cli.py +87 -0
  87. trace_agent/doctor/context.py +149 -0
  88. trace_agent/doctor/healthcheck.py +215 -0
  89. trace_agent/doctor/model.py +120 -0
  90. trace_agent/doctor/render.py +85 -0
  91. trace_agent/errors.py +300 -0
  92. trace_agent/eval/__init__.py +121 -0
  93. trace_agent/eval/cli.py +429 -0
  94. trace_agent/eval/grader.py +398 -0
  95. trace_agent/eval/harness.py +466 -0
  96. trace_agent/eval/loader.py +201 -0
  97. trace_agent/eval/memory_audit.py +666 -0
  98. trace_agent/eval/models.py +773 -0
  99. trace_agent/eval/multi_trial.py +227 -0
  100. trace_agent/eval/report.py +402 -0
  101. trace_agent/eval/runner.py +244 -0
  102. trace_agent/eval/service.py +638 -0
  103. trace_agent/eval/trajectory.py +267 -0
  104. trace_agent/evidence/__init__.py +4 -0
  105. trace_agent/evidence/index.py +191 -0
  106. trace_agent/evidence/store.py +58 -0
  107. trace_agent/llm/__init__.py +21 -0
  108. trace_agent/llm/deepseek.py +38 -0
  109. trace_agent/llm/ports.py +47 -0
  110. trace_agent/mcp_server/__init__.py +243 -0
  111. trace_agent/mcp_server/__main__.py +11 -0
  112. trace_agent/mcp_server/analyze.py +1450 -0
  113. trace_agent/mcp_server/binding.py +649 -0
  114. trace_agent/mcp_server/cli.py +1465 -0
  115. trace_agent/mcp_server/config.py +1017 -0
  116. trace_agent/mcp_server/conversion.py +743 -0
  117. trace_agent/mcp_server/eval_tools.py +1894 -0
  118. trace_agent/mcp_server/guard.py +1158 -0
  119. trace_agent/mcp_server/jobs.py +1288 -0
  120. trace_agent/mcp_server/memory_tools.py +1841 -0
  121. trace_agent/mcp_server/namespaces.py +316 -0
  122. trace_agent/mcp_server/ops.py +357 -0
  123. trace_agent/mcp_server/progress.py +351 -0
  124. trace_agent/mcp_server/prompts.py +818 -0
  125. trace_agent/mcp_server/resources.py +1264 -0
  126. trace_agent/mcp_server/schema.py +351 -0
  127. trace_agent/mcp_server/server.py +3520 -0
  128. trace_agent/mcp_server/session.py +423 -0
  129. trace_agent/mcp_server/submission.py +69 -0
  130. trace_agent/mcp_server/transport.py +1102 -0
  131. trace_agent/memory/__init__.py +311 -0
  132. trace_agent/memory/backend.py +287 -0
  133. trace_agent/memory/backup.py +416 -0
  134. trace_agent/memory/base.py +64 -0
  135. trace_agent/memory/cache.py +426 -0
  136. trace_agent/memory/calibrate.py +1501 -0
  137. trace_agent/memory/cli.py +2493 -0
  138. trace_agent/memory/consolidation.py +408 -0
  139. trace_agent/memory/context/__init__.py +29 -0
  140. trace_agent/memory/context/composer.py +345 -0
  141. trace_agent/memory/deep_recall.py +166 -0
  142. trace_agent/memory/dreaming.py +496 -0
  143. trace_agent/memory/embedding/__init__.py +43 -0
  144. trace_agent/memory/embedding/cache.py +88 -0
  145. trace_agent/memory/embedding/factory.py +192 -0
  146. trace_agent/memory/embedding/index.py +311 -0
  147. trace_agent/memory/embedding/lexicon.py +158 -0
  148. trace_agent/memory/embedding/local.py +142 -0
  149. trace_agent/memory/embedding/ollama.py +288 -0
  150. trace_agent/memory/embedding/ports.py +218 -0
  151. trace_agent/memory/embedding/remote.py +151 -0
  152. trace_agent/memory/episode.py +183 -0
  153. trace_agent/memory/eval_probe.py +148 -0
  154. trace_agent/memory/execution.py +49 -0
  155. trace_agent/memory/feedback.py +795 -0
  156. trace_agent/memory/flags.py +1527 -0
  157. trace_agent/memory/intent.py +52 -0
  158. trace_agent/memory/lifecycle/__init__.py +114 -0
  159. trace_agent/memory/lifecycle/conflicts.py +889 -0
  160. trace_agent/memory/lifecycle/contamination.py +239 -0
  161. trace_agent/memory/lifecycle/promoter.py +666 -0
  162. trace_agent/memory/lifecycle/quality_gate.py +371 -0
  163. trace_agent/memory/lifecycle/retention.py +238 -0
  164. trace_agent/memory/migrate.py +863 -0
  165. trace_agent/memory/models.py +595 -0
  166. trace_agent/memory/paths.py +40 -0
  167. trace_agent/memory/ports.py +637 -0
  168. trace_agent/memory/project.py +417 -0
  169. trace_agent/memory/quality_gate.py +33 -0
  170. trace_agent/memory/query_rewrite.py +1074 -0
  171. trace_agent/memory/recall.py +1124 -0
  172. trace_agent/memory/redaction.py +1372 -0
  173. trace_agent/memory/registry.py +162 -0
  174. trace_agent/memory/rerank.py +503 -0
  175. trace_agent/memory/retrieval_eval.py +2272 -0
  176. trace_agent/memory/runtime.py +507 -0
  177. trace_agent/memory/scope.py +407 -0
  178. trace_agent/memory/search_text.py +74 -0
  179. trace_agent/memory/seed.py +504 -0
  180. trace_agent/memory/semantic_profiles.py +462 -0
  181. trace_agent/memory/session.py +137 -0
  182. trace_agent/memory/store/__init__.py +170 -0
  183. trace_agent/memory/store/fts.py +44 -0
  184. trace_agent/memory/store/json_store.py +1302 -0
  185. trace_agent/memory/store/pg_schema.py +618 -0
  186. trace_agent/memory/store/postgres_store.py +986 -0
  187. trace_agent/memory/store/rows.py +277 -0
  188. trace_agent/memory/store/schema.py +381 -0
  189. trace_agent/memory/store/sql_core.py +2914 -0
  190. trace_agent/memory/store/sqlite_store.py +354 -0
  191. trace_agent/memory/store/version_race.py +124 -0
  192. trace_agent/memory/summarize.py +323 -0
  193. trace_agent/memory/text.py +192 -0
  194. trace_agent/memory/thresholds.py +809 -0
  195. trace_agent/models.py +624 -0
  196. trace_agent/observability/__init__.py +157 -0
  197. trace_agent/observability/cli.py +316 -0
  198. trace_agent/observability/collect.py +675 -0
  199. trace_agent/observability/export.py +588 -0
  200. trace_agent/observability/registry.py +583 -0
  201. trace_agent/observability/vocabulary.py +448 -0
  202. trace_agent/policies/__init__.py +6 -0
  203. trace_agent/policies/submission.py +328 -0
  204. trace_agent/progress.py +160 -0
  205. trace_agent/py.typed +0 -0
  206. trace_agent/qoder_config.py +69 -0
  207. trace_agent/report/__init__.py +4 -0
  208. trace_agent/report/projection.py +3993 -0
  209. trace_agent/report/renderer.py +83 -0
  210. trace_agent/report/templates/report.html.j2 +4293 -0
  211. trace_agent/runtime/__init__.py +68 -0
  212. trace_agent/runtime/cancellation.py +66 -0
  213. trace_agent/runtime/commands.py +80 -0
  214. trace_agent/runtime/context.py +61 -0
  215. trace_agent/runtime/event_bus.py +192 -0
  216. trace_agent/runtime/events.py +92 -0
  217. trace_agent/runtime/latency.py +199 -0
  218. trace_agent/runtime/persistence.py +122 -0
  219. trace_agent/runtime/sessions.py +216 -0
  220. trace_agent/runtime/sink.py +38 -0
  221. trace_agent/runtime/state.py +82 -0
  222. trace_agent/runtime_project/.qoder/skills/cold-start-analysis/SKILL.md +159 -0
  223. trace_agent/runtime_project/.qoder/skills/cold-start-analysis/SKILLCN.md +71 -0
  224. trace_agent/runtime_project/.qoder/skills/cold-start-analysis/agents/openai.yaml +4 -0
  225. trace_agent/runtime_project/.qoder/skills/cold-start-analysis/references/app-startup-phase-semantics.md +54 -0
  226. trace_agent/runtime_project/.qoder/skills/cold-start-analysis/references/app-startup-phase-semanticsCN.md +38 -0
  227. trace_agent/runtime_project/.qoder/skills/completion-latency-analysis/SKILL.md +135 -0
  228. trace_agent/runtime_project/.qoder/skills/completion-latency-analysis/SKILLCN.md +74 -0
  229. trace_agent/runtime_project/.qoder/skills/completion-latency-analysis/agents/openai.yaml +4 -0
  230. trace_agent/runtime_project/.qoder/skills/frame-jank-analysis/SKILL.md +105 -0
  231. trace_agent/runtime_project/.qoder/skills/frame-jank-analysis/SKILLCN.md +61 -0
  232. trace_agent/runtime_project/.qoder/skills/frame-jank-analysis/agents/openai.yaml +4 -0
  233. trace_agent/runtime_project/.qoder/skills/perf-sample-analysis/SKILL.md +189 -0
  234. trace_agent/runtime_project/.qoder/skills/perf-sample-analysis/SKILLCN.md +98 -0
  235. trace_agent/runtime_project/.qoder/skills/perf-sample-analysis/agents/openai.yaml +4 -0
  236. trace_agent/runtime_project/.qoder/skills/perf-sample-analysis/references/perf-trace-streamer-schema.md +182 -0
  237. trace_agent/runtime_project/.qoder/skills/perf-sample-analysis/references/perf-trace-streamer-schemaCN.md +160 -0
  238. trace_agent/runtime_project/.qoder/skills/response-latency-analysis/SKILL.md +195 -0
  239. trace_agent/runtime_project/.qoder/skills/response-latency-analysis/SKILLCN.md +104 -0
  240. trace_agent/runtime_project/.qoder/skills/response-latency-analysis/agents/openai.yaml +4 -0
  241. trace_agent/runtime_project/.qoder/skills/trace-analysis/SKILL.md +127 -0
  242. trace_agent/runtime_project/.qoder/skills/trace-analysis/SKILLCN.md +76 -0
  243. trace_agent/runtime_project/.qoder/skills/trace-analysis/agents/openai.yaml +4 -0
  244. trace_agent/runtime_project/.qoder/skills/trace-analysis/references/io-analysis.md +15 -0
  245. trace_agent/runtime_project/.qoder/skills/trace-analysis/references/io-analysisCN.md +13 -0
  246. trace_agent/runtime_project/.qoder/skills/trace-analysis/references/rendering-analysis.md +9 -0
  247. trace_agent/runtime_project/.qoder/skills/trace-analysis/references/rendering-analysisCN.md +5 -0
  248. trace_agent/runtime_project/.qoder/skills/trace-analysis/references/report-standard.md +23 -0
  249. trace_agent/runtime_project/.qoder/skills/trace-analysis/references/report-standardCN.md +22 -0
  250. trace_agent/runtime_project/.qoder/skills/trace-analysis/references/thread-execution-critical-path.md +150 -0
  251. trace_agent/runtime_project/.qoder/skills/trace-analysis/references/thread-execution-critical-pathCN.md +125 -0
  252. trace_agent/runtime_project/.qoder/skills/trace-analysis/references/trace-streamer-schema.md +257 -0
  253. trace_agent/runtime_project/.qoder/skills/trace-analysis/references/trace-streamer-schemaCN.md +216 -0
  254. trace_agent/runtime_tools/trace_streamer/CHECKSUMS.sha256 +15 -0
  255. trace_agent/runtime_tools/trace_streamer/LICENSE +201 -0
  256. trace_agent/runtime_tools/trace_streamer/README.md +69 -0
  257. trace_agent/runtime_tools/trace_streamer/VERSION +11 -0
  258. trace_agent/runtime_tools/trace_streamer/darwin-aarch64/trace_streamer +0 -0
  259. trace_agent/runtime_tools/trace_streamer/linux-x86_64/trace_streamer +0 -0
  260. trace_agent/runtime_tools/trace_streamer/windows-x86_64/trace_streamer.exe +0 -0
  261. trace_agent/scenarios/__init__.py +11 -0
  262. trace_agent/scenarios/catalog.py +156 -0
  263. trace_agent/secret_files.py +172 -0
  264. trace_agent/service/__init__.py +20 -0
  265. trace_agent/service/audit.py +230 -0
  266. trace_agent/service/ratelimit.py +320 -0
  267. trace_agent/service/tenancy.py +253 -0
  268. trace_agent/settings.py +1759 -0
  269. trace_agent/skills/__init__.py +22 -0
  270. trace_agent/skills/catalog.py +174 -0
  271. trace_agent/skills/inlining.py +198 -0
  272. trace_agent/skills/router.py +31 -0
  273. trace_agent/time_range.py +55 -0
  274. trace_agent/tools/__init__.py +29 -0
  275. trace_agent/tools/factory.py +26 -0
  276. trace_agent/tools/parameters.py +322 -0
  277. trace_agent/tools/registry.py +347 -0
  278. trace_agent/tools/trace_tools.py +1772 -0
  279. trace_agent/trace/__init__.py +17 -0
  280. trace_agent/trace/asset_root.py +120 -0
  281. trace_agent/trace/base.py +15 -0
  282. trace_agent/trace/cache.py +260 -0
  283. trace_agent/trace/cancellation.py +183 -0
  284. trace_agent/trace/htrace.py +204 -0
  285. trace_agent/trace/provision.py +626 -0
  286. trace_agent/trace/trace_streamer.py +602 -0
  287. trace_agent/trace/vendor_integrity.py +330 -0
  288. trace_agent/validation/__init__.py +15 -0
  289. trace_agent/validation/analysis.py +1964 -0
  290. trace_agent/verification/__init__.py +13 -0
  291. trace_agent/verification/result_verifier.py +197 -0
  292. trace_agent/web/__init__.py +4 -0
  293. trace_agent/web/app.py +584 -0
  294. trace_agent/web/asgi.py +321 -0
  295. trace_agent/web/routes_memory.py +399 -0
  296. trace_agent/web/routes_runs.py +788 -0
  297. trace_agent/web/routes_sse.py +109 -0
  298. trace_agent/web/server.py +530 -0
  299. trace_agent/web/state.py +303 -0
  300. trace_agent/web/static/app.js +1717 -0
  301. trace_agent/web/static/index.html +225 -0
  302. trace_agent/web/static/styles.css +830 -0
  303. trace_agent/web/static.py +51 -0
@@ -0,0 +1,303 @@
1
+ trace_agent/__init__.py,sha256=2CxQI0d7Lu3SU4uzih9HTx1_Qc8krEiqLEIEUlTFK-Q,50
2
+ trace_agent/__main__.py,sha256=ibj4DEy0BF9uzZz0u6VWnOp3Qjhl_sCIBs_vaVhmGqs,70
3
+ trace_agent/cli.py,sha256=HpCtX0SRaqzufPUmcOgaqgq3NmMKSzuRjwoGXDvdHyA,20284
4
+ trace_agent/cli_progress.py,sha256=NBx4_6Kw9QurLb2VQ6riV8brRB9Fq3F2l5UrVWTYjdI,9337
5
+ trace_agent/cli_run.py,sha256=V47U7uTNlaT2-alaB-SBLUowkhDwmDsB-YXt_ATqocI,8056
6
+ trace_agent/cli_text.py,sha256=_6DVViP1yClfaeiSllhDdy1J9_dR3PfNKl7FWK5pbLw,1023
7
+ trace_agent/compat.py,sha256=Re-34nXFLCSMz23QVIkkYbua7CIQb9cQf4eIe0Zv5r0,13926
8
+ trace_agent/config.py,sha256=ATLmyj8jBPeI256dQTJlIpjnO6aq30giyAJWVEgkR04,4901
9
+ trace_agent/errors.py,sha256=6xDRahEE30oev9LjOtPGjWTzRLcP03dp2-9qvpVKRMA,11000
10
+ trace_agent/models.py,sha256=Ck7NyBheg_7B2uUGbCJZ4VpnCJu91Vafe9vu_C2_8bk,20391
11
+ trace_agent/progress.py,sha256=o2qElyaVfe8nztZnkLnwusG84g6hIfUmSUp5PTLWhXc,4822
12
+ trace_agent/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
+ trace_agent/qoder_config.py,sha256=uHrAYvnvW1UlWAHHjO-n1BtcDwg0fbpxTH8LT9TSshM,2321
14
+ trace_agent/secret_files.py,sha256=zQtuuVWB-B4wLE2UBTLncjdADFZJRcwdiKTgGk7ffk4,7019
15
+ trace_agent/settings.py,sha256=JZZBHLbSpm4K0rdbhK464_s8D7YKuVJblDMcWZcXEOQ,72696
16
+ trace_agent/time_range.py,sha256=ORdkKRzW8oAoBSIfKcT8FYelEAOSP8Qd2bef_uZEqPc,1754
17
+ trace_agent/agent/__init__.py,sha256=6RZq0LOeAkBx-wHZ-YogacdR4pXfiLo47umlHHGoLls,1556
18
+ trace_agent/agent/base.py,sha256=Ru0dgUKfxM9z6QllWCtLu-9vogxuWbwXJpkvUm1kPYY,1048
19
+ trace_agent/agent/claude.py,sha256=l9QBNAH3hhxG128Skf-w3fdS7sG_tRblS4DJL_yNAfE,24781
20
+ trace_agent/agent/factory.py,sha256=XFliqwwHJ1CjykA2fWEUaQ3Sarb9yuYra6q-74JJBRA,4797
21
+ trace_agent/agent/local.py,sha256=Ia65MLomqkzphBEdgJ7Wmha9lsTrOn-tg3B7a3hTMX4,1937
22
+ trace_agent/agent/protocols.py,sha256=o25p4SybwnwtMzjWNZhUsVy7Vv-vPkZSkuz19kk51mU,2805
23
+ trace_agent/agent/providers.py,sha256=SSzTlOcaULq0ywe_rboeNopfxHMYpkuey9pY3Iobv0Y,4250
24
+ trace_agent/agent/qoder.py,sha256=AEmcklJNWFbsQ-1xcprIIkOlz-QNpfo-mjrCM5a03os,24875
25
+ trace_agent/agent/qoder_transport.py,sha256=Y-WN7sIiiC58v4Z_VHtG83HDSCn5oGNVGAVykQoQsOg,4302
26
+ trace_agent/agent/registry.py,sha256=GVLdsQBk9EdiLky9e-FcIMpcVkPrrY0ucz2_xzhj5MY,3106
27
+ trace_agent/agent/runtime.py,sha256=t4TjudTr2GuwLznLAHauD4AdPD6Ly_2p54xZfEEuh2A,14051
28
+ trace_agent/agent/sdk_guard.py,sha256=isVEKgmpamPmQHI2dhrQoKr0Mw-ruFJ1PDFGrbY0guo,1627
29
+ trace_agent/agent/transport.py,sha256=SuOSw7RtkicCWxNUQostKnEuORqGpWUd-Xg_HQmFUKw,5069
30
+ trace_agent/agent/adapters/claude/__init__.py,sha256=xnyoUcQ0emnxCX8OLJAV-r1HYC70BOG6i9__5y2Jupo,1371
31
+ trace_agent/agent/adapters/claude/client.py,sha256=krQKEQTWDz2FoHPIL9jMZBCi12xa9LgfxZihKN7JN5Q,2670
32
+ trace_agent/agent/adapters/claude/session.py,sha256=RmQrkVxOeUscn6UNPGJJAotw1q0GeoRbRw28kEefKNQ,2528
33
+ trace_agent/agent/adapters/claude/skills.py,sha256=dj2QyF5KZJ0qsrS4Brw0R8X-kv5FOGi9VudMH-Cu5IY,2607
34
+ trace_agent/agent/adapters/claude/tools.py,sha256=jUgj-7zRNGKdnayug7Y-69RMTPG1e7YNHOPWKsmltSk,9429
35
+ trace_agent/agent/adapters/codex/__init__.py,sha256=wMo8MV6fi0x0V-ZezfqUJwgVoW_DDbL1RibjHZj3J3M,21930
36
+ trace_agent/agent/adapters/codex/client.py,sha256=IDdFKHe-sCuwvS8w3abPeFrp4rPqdfy0p574lhLikkg,10770
37
+ trace_agent/agent/adapters/codex/events.py,sha256=9Mr0dZSlxMeAZgAw2A3n6-IH9mVQdeNhkhG-8L5ZeHQ,10782
38
+ trace_agent/agent/adapters/codex/prompt.py,sha256=ODl2VnRlaaOpThq-JmXx3BzSWNa1vgeDP8YnIv6UjlQ,6947
39
+ trace_agent/agent/adapters/codex/session.py,sha256=xeD_z1Q1kH3P8d6dLTZwnmfinbR9NmH8JvlJv9vwnII,10014
40
+ trace_agent/agent/adapters/openai/__init__.py,sha256=A0ZP1hjRn97PoOLf10ulSlasGmoELkjG8TdB5sWExVs,19523
41
+ trace_agent/agent/adapters/openai/client.py,sha256=U25JJd7YUmr8wVgKExUCQ7UQvP0_hCPDnNqGNBu-pMU,20932
42
+ trace_agent/agent/adapters/openai/prompt.py,sha256=iftwZBd9E6jvV46UKHBUiY9k-Qx67ctHNYH8vQMOOYY,5640
43
+ trace_agent/agent/adapters/openai/session.py,sha256=-OTO1e8Jy530FNcssgqLhxMTWrrOWbQbfz4XdFM1ssw,14966
44
+ trace_agent/agent/adapters/qoder/__init__.py,sha256=XVCCWhKuM0d0vVJwUoiThV34b1CrHhAR_uKf0KffmN0,1220
45
+ trace_agent/agent/adapters/qoder/client.py,sha256=fyBNta1BzWZjBRjMZZh5SIlQgGqXGLoibPIltmhXDVE,2109
46
+ trace_agent/agent/adapters/qoder/session.py,sha256=LKXbpJwzkZZrFP9O3Rif1QgPS8yMHaYCTXiWb34jBJk,2523
47
+ trace_agent/agent/adapters/qoder/tools.py,sha256=Eq77sO3BB_vW5JPSGCirPMXjh85S60JFCe1g223p-0s,10167
48
+ trace_agent/agent/core/__init__.py,sha256=nABu783btXiYUBgYvzm_l3pEn1nYlRkRzaDvYK4X1mU,1507
49
+ trace_agent/agent/core/audit.py,sha256=j7qJfprh35-gj7mdUoihVMAeNfIgUKDTW_g7_Q3EEOA,6078
50
+ trace_agent/agent/core/diagnostics.py,sha256=43mzv-5KgjyYxX8f0e-G3t7KfoCNstPJ5YVdK0rQ4zc,2785
51
+ trace_agent/agent/core/helpers.py,sha256=ecKEJG76nKHyQGBynS6xaUlDrPwxTvQ7Y62fiHbdzO8,2066
52
+ trace_agent/agent/core/parsing.py,sha256=-EdnyqhZ438USsDscyV6ONzllSMXllKQJb1GmZMWj0M,3231
53
+ trace_agent/agent/core/payload.py,sha256=sgbzosJ-M1E8Sn8AhTjJt_EIXE4iAlVAuAqPNiNg0DQ,6029
54
+ trace_agent/agent/core/prompts.py,sha256=F1n7MzX8dSn3hrnInn_tqnwvIv4T-QEy9owN3Z6Ubps,13685
55
+ trace_agent/application/__init__.py,sha256=mGZFP3PHq9dQYxvWejRqKcYgzyAx83Zanvx134GBMRc,794
56
+ trace_agent/application/analyze.py,sha256=bUj68aOs_TD4T6mdo4LU6fZ5ELIVrVI31xJBpA564mU,66804
57
+ trace_agent/application/boundary_normalization.py,sha256=Ib0x61kRFtsHhLNyICz7fOJtQmDLIirLB4Wy_b6OLWA,11385
58
+ trace_agent/application/checkpoint.py,sha256=yGxrb_y6pp2CPILhYehkbFSdJuX_7vuxEg9b9Jfhffw,3153
59
+ trace_agent/application/completion_phase_evidence.py,sha256=XFsJPe0sYT4kFNAyQ-dFjTT5dAs1ORd7P0Ikpk2M9-4,5341
60
+ trace_agent/application/composition.py,sha256=WMx3h6gi9BBaCWGyzichII84kQhQNzB4oIFC1NbJmHo,8872
61
+ trace_agent/application/evidence_normalization.py,sha256=MBgpyx0zuidCVapuErhedk9B0vqCPxL08vY0tQVytXo,18556
62
+ trace_agent/application/normalization.py,sha256=A8YgVVXwEorYB9KfyCm1mqRtm1O_IDT2VZbRAwDwsTI,14961
63
+ trace_agent/application/preflight.py,sha256=FWKLKYV5j1QM6ov1PAYRsgFkQEmeQ1-INVpcMypWVu8,5300
64
+ trace_agent/contract/__init__.py,sha256=De1LRc75uMCbUjYihB7I9n_lRexzpt1iwtp8toewbrc,291
65
+ trace_agent/contract/result.py,sha256=YyBH-xqh0FVBRspeQbfCj7aw4x58YHNs6J3YPZCdL4c,2618
66
+ trace_agent/contract/task.py,sha256=KluKkW6T6MQLBL6mO1lzTw54lVX_6OAxbHRTgHl8frE,2683
67
+ trace_agent/database/__init__.py,sha256=pSNAx02hYBQf0Uo6YAONWVjHkLS7gyxY2tu3MxOlNN4,1575
68
+ trace_agent/database/cold_start.py,sha256=bijhRaAazRkYOpy93OJOAWbQ4VpwQdzrs_mFUI0W-fA,47229
69
+ trace_agent/database/completion_latency.py,sha256=jrIAZ3z0A8LznAFg2Lu2KB17z_g8_0UrS1ZMtEK2wKg,36694
70
+ trace_agent/database/completion_phases.py,sha256=_B3WrGWnsuHu0NhRgL3JEwSMHdHCvQgAlUXGsQVJ1o8,28342
71
+ trace_agent/database/frame_jank.py,sha256=BteO-6AqiRP_BZ-MmghSBQEP6PPm3Jz0rq41tpI3PE8,70868
72
+ trace_agent/database/perf.py,sha256=5tGoQE9PkKh4hHh0_yqyVLqDvmH3GyDhwwJfpgBOWgY,21903
73
+ trace_agent/database/perf_analysis.py,sha256=fXZi_No92ESPq2IVG30jkPRD37jlo8Qsdv__T7QOy98,52667
74
+ trace_agent/database/problem_window.py,sha256=u5bNbIgHfPussvu-S3qiCJ9GzOkVPNB1uUTNyVcxAlw,17792
75
+ trace_agent/database/repository.py,sha256=1zkjDqJdBAMIi3Zcf1nUIG6LXPuX04INuZVXm8ajowI,10320
76
+ trace_agent/database/startup_modules.py,sha256=poaPnmtm4WJGWYSwEKJPwibSQlsaUx_B3XgznNUf46w,8486
77
+ trace_agent/database/thread_dependencies.py,sha256=TvXUxpmaXVUbBm5VoCtvk1sbQQQ1TlIFwvE9yRQVfWQ,12694
78
+ trace_agent/database/thread_execution.py,sha256=H7OolSfDhR_VyKekerZUm2rhf3gicyvW4fcr2MdrRZ8,23727
79
+ trace_agent/database/trace_indexes.py,sha256=3kmAM22GLyu2eZBNrUepevQyrxYQa003WSDRWl503o0,3030
80
+ trace_agent/demo/__init__.py,sha256=07qUCaTMUQUL0S2d66zwRdBtG7euZo1VjfLyhCuDssc,3077
81
+ trace_agent/demo/agent.py,sha256=BCIAlzyrMaPYfYI68zAEQ_nR7nWcgWu2kUiE1rXFgKM,86580
82
+ trace_agent/demo/capture.py,sha256=0havTyciO9JkYeYO2QcwMSlDA6hCAeUHXT8MrEuL22U,4736
83
+ trace_agent/demo/cli.py,sha256=mbdT6xWHdC2eKzmG5QqGVP138CR2lyElYBJDH1DFQsw,15685
84
+ trace_agent/demo/runner.py,sha256=5-dgSj6qoKSfvgibLW7PxUcXGAVhdWFeGjJgFj-jvv4,11318
85
+ trace_agent/demo/scenarios.py,sha256=gwF7on2-gDK2Ye7jxMKD6jiG3NyMzQAvjD1vom0lC80,8089
86
+ trace_agent/demo/synth.py,sha256=QvoCkj4KLrbd3rBFm07SmqbSIbAFA6ZY3O3uYzZmHwU,45530
87
+ trace_agent/demo/trace_adapter.py,sha256=wKsA53RoB4SPqrf5zJEF54PN6A1npdG1p_jtbaVapV4,8578
88
+ trace_agent/doctor/__init__.py,sha256=tcXgGIbXfFhHWBYL2jb4Y9lS2xA2mY0juaq7OiQEw9U,1153
89
+ trace_agent/doctor/checks.py,sha256=vcip_Kvh7T5oSUuBIj4kSV96nGrOlewqs9ewWMOuqvU,33123
90
+ trace_agent/doctor/cli.py,sha256=V4Ghws3EwblrkSvIFWwhnXpDGpsc_iRccviMszETWcE,2695
91
+ trace_agent/doctor/context.py,sha256=V6laFf8dlxfrjialVVrMPBAA7AsvXKDJaBPgttHcO8w,6447
92
+ trace_agent/doctor/healthcheck.py,sha256=nwWw4jfL2I7wQd0XiGfZ-xdyYr0GFxBh76Fgy0TuU4Q,7979
93
+ trace_agent/doctor/model.py,sha256=vpM87HHDlGypX-Xn9NsMqTAYQhVX6YSfZJbReb4kx1s,3540
94
+ trace_agent/doctor/render.py,sha256=yMqaPvgTpe9Uo4ddRikqDV8vB3d_BfBNGMwmlgBO1f0,2898
95
+ trace_agent/eval/__init__.py,sha256=GolSVg0aUIa59UzCvjIRqNuhfuj_DY4fjgn_D90n8L0,2393
96
+ trace_agent/eval/cli.py,sha256=s-zlTrD7DtnTIbR0n8C8TuTw5DZ5kSHiN6OvRpRzIvA,16534
97
+ trace_agent/eval/grader.py,sha256=IesnIgF-M4ldsBee2NZmPKeGuK0TJTFHlB8zuhM7hx0,14179
98
+ trace_agent/eval/harness.py,sha256=buRQAHzQKvKT3TT5qzAgS4rkPauhgQHw6fr9OV9xLK4,19095
99
+ trace_agent/eval/loader.py,sha256=ETw17belHgIxARV6ksDUpST_JX252kzW1BSe6gXZDG4,7861
100
+ trace_agent/eval/memory_audit.py,sha256=hi0NJvg1Gb6vR1kXB88tpAPji9uv1bddgqsyiNe4cVI,25734
101
+ trace_agent/eval/models.py,sha256=gW22oEZOjkvHxFJoKWC7PQQrOKQ3Qk8ECmRp4OFHb9Q,28884
102
+ trace_agent/eval/multi_trial.py,sha256=kAbwBuNXsKdG6cp9Rw6scXBFFOMxxNRjd6MmoIpG4qk,7456
103
+ trace_agent/eval/report.py,sha256=1E4CzQaR1rLKQ73U_HaiyQQcrbEFVMpGaxxtQoN-Q50,18402
104
+ trace_agent/eval/runner.py,sha256=6eKkNcruB491Nu-wU9lvKPo8sJjBpdn1E941q6nkGCI,9216
105
+ trace_agent/eval/service.py,sha256=ZtK26OLCXPWbfkRKp48mdoBLySiF5DKKwOiY4anNzzE,25597
106
+ trace_agent/eval/trajectory.py,sha256=8tv1IPQKwrHqVJUW38L1Z_tdznOyNa5-UhnEsZy2ueo,8754
107
+ trace_agent/evidence/__init__.py,sha256=P0OFp52xQ8euKoARsFoTKsBaCFjRq8yCWsp3cKdWH_s,152
108
+ trace_agent/evidence/index.py,sha256=9So12u8gQKn2AX_0iUPD4YGhrUNRsNm2Ih26z8uA49A,7042
109
+ trace_agent/evidence/store.py,sha256=NjbPVel8anISa0tTJ22lS-COCNJAx97IkP5c3ql0ouo,1694
110
+ trace_agent/llm/__init__.py,sha256=kkhjzisSGcw9u3Us7JPlTN8Av4qSECniluw1S3R48Bk,474
111
+ trace_agent/llm/deepseek.py,sha256=JYCjaiXfaEXb6TW1tfjLGrr9HbJrUf7ClCggYx2nruY,1230
112
+ trace_agent/llm/ports.py,sha256=mhsw2l5oLc7xFBYzeT9br7a_DWBVcuAr64gh12XhCNw,1414
113
+ trace_agent/mcp_server/__init__.py,sha256=Oz81qQzfFxGVehIa8gfFAEzZc4Zp97_UsrB5VxH7t0o,7697
114
+ trace_agent/mcp_server/__main__.py,sha256=iervBGewSJsqjzGjpCq0M_TGbj3kQAbRwFjGkNsFX0k,371
115
+ trace_agent/mcp_server/analyze.py,sha256=haVPqmUHqHx0q5mJsYx1FrMB2wOHLCwqKhkMvvut59M,62825
116
+ trace_agent/mcp_server/binding.py,sha256=Si1k7ll1rF4oCIH9DLcg_412DH0Vvpp3NC6aTwsk7wQ,25514
117
+ trace_agent/mcp_server/cli.py,sha256=RpgHvQk2MyZHEdnMjV87K-3TyMSNTmtBbOYKmoZVtuQ,58122
118
+ trace_agent/mcp_server/config.py,sha256=tDmJ7tR2aWckvY6bEx9-RuM-t_QXLO6jd_h8_g9hFzk,42539
119
+ trace_agent/mcp_server/conversion.py,sha256=P4QVLUI3rnZDHhpYoUEBVTcO0rU68PVtkHk7q9Irx-8,32117
120
+ trace_agent/mcp_server/eval_tools.py,sha256=lFlU9jmg_aLBUhtc4rVzLqEAeQpLYJZouUryDyt4QDk,85416
121
+ trace_agent/mcp_server/guard.py,sha256=Cfa9VlPr-_83aO2KatQ9bCfIXBrHbzWW85WZvsZgXm4,48750
122
+ trace_agent/mcp_server/jobs.py,sha256=9PW9jt12yTcy9lBOMeYcQZUlT48dzql3VXfLlufLJ9o,55895
123
+ trace_agent/mcp_server/memory_tools.py,sha256=V9AoFy3fsprA7mL9tRp87DFZue4fLqKzcYWhkbakInc,82147
124
+ trace_agent/mcp_server/namespaces.py,sha256=5WlX2SEyZ4ppZrrnqzOiOHC451kU2-O_krrYDFqMGmI,13056
125
+ trace_agent/mcp_server/ops.py,sha256=Q3RaK8JfSrs_LIe5v18Ly9CC_31dNi5UcS5PQTFY5HA,14091
126
+ trace_agent/mcp_server/progress.py,sha256=pnbroOklBQU34xTboO78XtWkoHKeek2wxUucMrGCPwc,15244
127
+ trace_agent/mcp_server/prompts.py,sha256=bhX71l1G9D5gIn8a8363WaGkijj9bJKkNYtgHn5bgYs,30407
128
+ trace_agent/mcp_server/resources.py,sha256=8hiFtsMCEj-NqAJuRyoLXYhptzLWr5JSOqy7VJ_PsH0,49864
129
+ trace_agent/mcp_server/schema.py,sha256=as1Z2Wu5wkV7x430y88zlD2ph0czHng3T5Ch1MIj-8Q,16226
130
+ trace_agent/mcp_server/server.py,sha256=J1CIs63BlkZ28jb6OMF-CGJY7j9YIQVqnZVY4uOnqCc,163886
131
+ trace_agent/mcp_server/session.py,sha256=JAMSguHcYi2T_-RO2K55luZSUZWnnnjQED-QTbL_-zk,18354
132
+ trace_agent/mcp_server/submission.py,sha256=xvCUzX-PTp7ymvVgV8I2BNQ4zla5XcD0CLIj3SwaZkg,2305
133
+ trace_agent/mcp_server/transport.py,sha256=myGm3zMO6RGtzI6VGYtvDVgazuBvf6dvbUOoCGoVPuw,49813
134
+ trace_agent/memory/__init__.py,sha256=p5InRP1Mw6aPdmjIqCN9eQC_cJ0gPO1i83pz_usQN4U,8789
135
+ trace_agent/memory/backend.py,sha256=dKJDr0_5Tk0x4wxXSt1_sKoL4Pk3wLsuuQwF2wYzyn8,10845
136
+ trace_agent/memory/backup.py,sha256=Is44VH6qUq-fqtqCPva2vEPWUEgfPVImL4x1ol2-Wn4,16319
137
+ trace_agent/memory/base.py,sha256=P4qqwT1m3k4wDMEfbHu6ugt0h_QiK_6fd7W_Oge9vMg,3064
138
+ trace_agent/memory/cache.py,sha256=YkNdn2UCrZqaOOJHqk0GSVUMskAIzfyub0n3IoZPwJk,15672
139
+ trace_agent/memory/calibrate.py,sha256=5JDWbQQKS0EOMA1m5-riYqCQF1Tg-v3GVrRc9n1riJo,63297
140
+ trace_agent/memory/cli.py,sha256=zBKZwKRoGG06-NezlRRppa-xFVYV6Jm1Cm31U1wFaBg,101051
141
+ trace_agent/memory/consolidation.py,sha256=shzcEwzMQahYCV2FamtPRInUbkisx_DBJnu90tHJBIU,16997
142
+ trace_agent/memory/deep_recall.py,sha256=8fTP0SQo3BuXnOraHYvjolKWw2Y4f265MZ6wfTT6Fm8,6748
143
+ trace_agent/memory/dreaming.py,sha256=_2SzS5g6FI7kNJuZIQ0yMmRSVNKcLo9kggH-eI_cIgw,22165
144
+ trace_agent/memory/episode.py,sha256=0y0lZx-oMGeDgmgo96k3rrwpNjNydetdJLpaFLHIkBk,7633
145
+ trace_agent/memory/eval_probe.py,sha256=D3osMxkPu1E8XSTsN7YP53Sx8tuCSUYsoSV7dxOWo0c,5377
146
+ trace_agent/memory/execution.py,sha256=6TkDA5RjSL0Ho4j5UyMelaLYOX6GednEsEyVz_yAuGM,1786
147
+ trace_agent/memory/feedback.py,sha256=i0Z1QGvOqGDVJEKUM06GLMTFiHB9SOqJZ3IW2uPmNDI,32083
148
+ trace_agent/memory/flags.py,sha256=tOfPrGHJDM7j79dG5nNFB6cG2bHllwD5DwEeOc6vhBA,69925
149
+ trace_agent/memory/intent.py,sha256=ouHq28yvFQLzgQbOjsbhUVtfy0SS42HBeh6pOM0IHRY,1735
150
+ trace_agent/memory/migrate.py,sha256=24Pdsj6yGokFGVZ8IJ4nPA-EQdHgnrfJ3RJt0ooQzQw,36681
151
+ trace_agent/memory/models.py,sha256=FCF1dYjPnEDT6sFcoWFdF02uFxKrn9dJ3oiAPNDV77I,27295
152
+ trace_agent/memory/paths.py,sha256=2d_HvK4wVi_i43-uqbSiv3SRoYPd47KntaituJAyRRQ,1594
153
+ trace_agent/memory/ports.py,sha256=rcdvg-iITsJ_OQlL9OU5JkEP6OxLow8Ka5EQ3buC234,26630
154
+ trace_agent/memory/project.py,sha256=ZsnZ_ignzjql1gIHregOl4GoJrO6IXOQlZtndHRlsKE,16516
155
+ trace_agent/memory/quality_gate.py,sha256=Fm0os9T7ISANh74kLQYZqaqB7rrGZwcVEgv0Fr8xAj8,952
156
+ trace_agent/memory/query_rewrite.py,sha256=UB5OVN6nI0LgIQGIl_9qJ8o1vCr0uJZu5h-LrT98ozE,45826
157
+ trace_agent/memory/recall.py,sha256=WbPZhS6RG0l8-0NY0esI5OObuwE3e1uZQy7f4_VsblA,48480
158
+ trace_agent/memory/redaction.py,sha256=ahiXUC9onMjNcesyyukmkTCeaptWhNylQ4wR6-Rs2OI,54403
159
+ trace_agent/memory/registry.py,sha256=qD9BwTWkPaz3n_8l2csV6PiyRiW7dNxiNmnCqLWwLFA,6736
160
+ trace_agent/memory/rerank.py,sha256=CJOyEgXr85q33DKiOTBwo7XSTS-jTs12gxTFVvsCVTY,21863
161
+ trace_agent/memory/retrieval_eval.py,sha256=sYEjREdLJSXtk_honCpUK5Wu47TvNzuQPeEBDUqqoP8,90112
162
+ trace_agent/memory/runtime.py,sha256=a98KgndA2OD05AKVk_WCe2cRC1TNWSmuURpe7SbAvVY,21089
163
+ trace_agent/memory/scope.py,sha256=DJUvV2s1Z1l7ggmICJ0H2gjhA6EV0RKWRVzawnMGeC8,16353
164
+ trace_agent/memory/search_text.py,sha256=a96_FOHstfppMge4ChopZa6OEbTQhN_BipwjhuOawqM,2705
165
+ trace_agent/memory/seed.py,sha256=kSxuYpYk_PceGHq-u0Jvu55xJ-oFOt7xGoHFyASKyKI,19962
166
+ trace_agent/memory/semantic_profiles.py,sha256=SqmCXHJq2VPySQKT5M2XQAV1fTNhqSKWEw3-rPsbl-g,19911
167
+ trace_agent/memory/session.py,sha256=lg3v93o1wfT6qgLdn09451TncWaXEddcYJyQf2gCtUc,5266
168
+ trace_agent/memory/summarize.py,sha256=00zdCtU95KocLRTiYrFodhNk9N5Xl127L7kuYfb_7qA,11839
169
+ trace_agent/memory/text.py,sha256=38_zGSfifmp7fa0xYOe9l0-pCnid7kOnbq_bp93aVOo,7389
170
+ trace_agent/memory/thresholds.py,sha256=mgq-2VhLW1_fTLCZ6cSb836t9Imkd4akganstIwYres,31521
171
+ trace_agent/memory/context/__init__.py,sha256=AVn75iCODfFwdKnrV2TwWtAZBFL3iBhYpUZGZ8LBLOA,825
172
+ trace_agent/memory/context/composer.py,sha256=HVMjwYA0CgTVQWBFcitKgWrIKZs_XPcJfvRIq1w8WlU,12975
173
+ trace_agent/memory/embedding/__init__.py,sha256=ZzVO4EQCLzeKYKE7wNwVcMF_O1dUu3irBUErzyiA9cE,1336
174
+ trace_agent/memory/embedding/cache.py,sha256=vONpgzHH4ygGnyh9iJUkLPcuRK-oyeRI8gL019OAIro,3201
175
+ trace_agent/memory/embedding/factory.py,sha256=WFDt7shA30SxgCxvSH8UrHTNyIfNhqewv6tloKJIj6M,7762
176
+ trace_agent/memory/embedding/index.py,sha256=wUfLYsYvvEpUwNjKI7e8pBDjpjEel1LG8c8MyJr_7Tc,12572
177
+ trace_agent/memory/embedding/lexicon.py,sha256=iQfxXNKLnQzYRbtruGmgWbQCS59N9FrphCNavAJfZQg,5772
178
+ trace_agent/memory/embedding/local.py,sha256=D5ueOR1kjFbAsJWUHbH7CiwSAQ1KVKGob2R_fSUcHGQ,6368
179
+ trace_agent/memory/embedding/ollama.py,sha256=IZX2Yhfb6I6s1Z-UacXqUdl1q8ObsD1roUjGXpeCKqg,12534
180
+ trace_agent/memory/embedding/ports.py,sha256=j-1D2bcEcajxqc1dhqY7bFfzn-sWdPjqqWGxIK3HzaI,9475
181
+ trace_agent/memory/embedding/remote.py,sha256=C3s2sp2LLTigfmyv6KkS64eJTa7ex1cuayAz4bqehk8,6493
182
+ trace_agent/memory/lifecycle/__init__.py,sha256=dgrB_2eYeoCfpFFRH6uOr-epugSqacq4zJIxzGBfMGU,3743
183
+ trace_agent/memory/lifecycle/conflicts.py,sha256=G0g61LnFRzwYiEJNF_NuZefoFJGxhcSvWd4_KjKAsUg,38953
184
+ trace_agent/memory/lifecycle/contamination.py,sha256=ajCwCypE2FDImT8kZOtZzPP5xu7h_g63zsPpHbo_l2E,9383
185
+ trace_agent/memory/lifecycle/promoter.py,sha256=j4o0B9NabX10bOriJYvpYnm3RrDAldeTpi2feJ8z_yM,26535
186
+ trace_agent/memory/lifecycle/quality_gate.py,sha256=pRf4DaSSP8OpANxlIzF97iUK8tWLJWywDZZ26WXKKwg,15431
187
+ trace_agent/memory/lifecycle/retention.py,sha256=aob3iJQfzT5ibD3KHgwFNgMrl_PLlSFDyyYswTbBIy0,9022
188
+ trace_agent/memory/store/__init__.py,sha256=vgm5A8EMS3stBZvNeO0y1lclcxyuVfEFbCqpsdjGXX8,7585
189
+ trace_agent/memory/store/fts.py,sha256=Ztjlc-79CrgEcRW_U6vjeKpPzUOll-eiO4Q4yEXnjpo,2002
190
+ trace_agent/memory/store/json_store.py,sha256=BICMpusyrXe8rGpgcEr1hBstIZDpkbw9uGxWmDo69F0,54211
191
+ trace_agent/memory/store/pg_schema.py,sha256=aVLK2igtpZmx6BXmU4RK2pOhgKN2a7-0jL1H3MgdnEA,25023
192
+ trace_agent/memory/store/postgres_store.py,sha256=vfz7Sjv2XBRyO52sTOhFsxnQlWKvQmJP7ni1ELSTgBA,47037
193
+ trace_agent/memory/store/rows.py,sha256=YZdtdO8ea5q7TzDNibiS3GAUeJ5qco80AC6u5X2Cjs4,11228
194
+ trace_agent/memory/store/schema.py,sha256=mwC9lbUVgTdAzyn6gynrL10TEC-atvBvkDdXfMyYE4w,16205
195
+ trace_agent/memory/store/sql_core.py,sha256=Uy2cnRrvbAhIeTZm3tQgsIEEVuj0Y0mkU_oybpfZ1RI,129436
196
+ trace_agent/memory/store/sqlite_store.py,sha256=wIcMwKSO4eXSo41dQDZnyEnzz79AIj5CSIfcI2YJJ50,15295
197
+ trace_agent/memory/store/version_race.py,sha256=m6P7HWMkABfL6GsxUZDTqbz529bxxnQ_KguVJFqCXaI,5383
198
+ trace_agent/observability/__init__.py,sha256=9MI77FFbz5bpOCT7Ev--tcZyZzBxRtzYJUzwGFyVeCg,4150
199
+ trace_agent/observability/cli.py,sha256=ellsulMJ6kmNTXYeHv8KOjjerNB_l3kJWShZ0-BHkB8,12081
200
+ trace_agent/observability/collect.py,sha256=f_JRzWKLuIIFOru6enRtJpqD52zR5GdEApAuCNsZaKw,24404
201
+ trace_agent/observability/export.py,sha256=4sMm3Ch3PzUFgoqOLRVIh6s0taKwfOu5DbvRl5IAgv0,19490
202
+ trace_agent/observability/registry.py,sha256=Mms03zROvW2EP32jqQhvUnm8Yk6PP25R21elezMmn0w,20551
203
+ trace_agent/observability/vocabulary.py,sha256=es55rrt4K3ijCM4skE9yEqjkFK9vA8_7pudXN7uzMPE,14803
204
+ trace_agent/policies/__init__.py,sha256=xVQZtRnLaVcA0KNQkRK1i9j5QoxHOpfifQFWnOVe6S8,166
205
+ trace_agent/policies/submission.py,sha256=6H8T4H4j5DEnZRXinFC96Cue-kO54NWMoOSVpVBWeYU,12966
206
+ trace_agent/report/__init__.py,sha256=ZeyQ7Jw9veE3kF3wCw0PVa1jR9EBaMX9BL4GZPwD1Fo,178
207
+ trace_agent/report/projection.py,sha256=-VUKDwWCEOjxdMLg0MbPAu6i34pYxUgu4SZTysFyjLw,150757
208
+ trace_agent/report/renderer.py,sha256=IV0LRbBuBum1hAB1lPh12NLDPEGmUaMbB9n8MTvbS2Y,2483
209
+ trace_agent/report/templates/report.html.j2,sha256=A5V0NpyBI8BkpK0XnIkhRzC5Elvvns79u2zIzjWvUno,140238
210
+ trace_agent/runtime/__init__.py,sha256=lR7wkOKL2S9dvZ7y5hTTlqFiHvULgmocA--nCnGqug4,1749
211
+ trace_agent/runtime/cancellation.py,sha256=zYMJ3QPyliauuHnBeV9sIUj0-0__VLsE4_02whza5OU,2154
212
+ trace_agent/runtime/commands.py,sha256=P4QdLxM_vbN01a2_-EPXVuJWAFrwXyKlSJk9FwV7LIg,2337
213
+ trace_agent/runtime/context.py,sha256=uA0974WQIEFqtW2JZLMS1NSoxaZzjK1cCcUhWgw34U0,2017
214
+ trace_agent/runtime/event_bus.py,sha256=Ccaa_ceAMYI_N0jV4OzNSHWm5iE49VncSdGs-8Q4S3o,6180
215
+ trace_agent/runtime/events.py,sha256=q7t7HrDHtoqa-oURKwFlB8eve2e6gDH8TtOAi5W5ars,3047
216
+ trace_agent/runtime/latency.py,sha256=kwlfe16iWKlPwohZ3F-IvTWSz2zej5OzMhvHiVYUQ2Y,6460
217
+ trace_agent/runtime/persistence.py,sha256=ruEpqNFQDzfGoLrXkGcDqP5LgXVG75b7zR31WDzqfbI,3609
218
+ trace_agent/runtime/sessions.py,sha256=fiMctRzdwKdDBTvDqLs11VU3M2KPKMUXN5FyxrZxaFM,7474
219
+ trace_agent/runtime/sink.py,sha256=Sw1hz6spLxC4eU9xrkYqdusb2UtE3CRdVP3noBsFoUk,1135
220
+ trace_agent/runtime/state.py,sha256=68SAUZnN8dNDNyqxRu49BMSHvoPXkDIKkG5S_ndo8OQ,2857
221
+ trace_agent/scenarios/__init__.py,sha256=C4T9wABb57k0RH7TGvM_b8s78CLKWqEVuj3hNAieLQw,215
222
+ trace_agent/scenarios/catalog.py,sha256=A8_G1w5RlzOhzhcc_p2uOH_w5Fnl96tsyr3pWnc1mS4,5973
223
+ trace_agent/service/__init__.py,sha256=35eW_hNVuzD-OvL_ULkktqUjBRC6mGpgsZb4mfbJHp8,1154
224
+ trace_agent/service/audit.py,sha256=ohwlVXfZJsw5N22r-7IlOGS-ujKK9z5UO42EzPyP6aY,8622
225
+ trace_agent/service/ratelimit.py,sha256=JLB5uxMt0w1lP6tUi99CV4TJ2Myx2DLxGK582yp9o0s,12269
226
+ trace_agent/service/tenancy.py,sha256=ildjPiysqy3kSq0orZAiv0Kqb7vnV36mHc6KJTI-3Mo,10556
227
+ trace_agent/skills/__init__.py,sha256=3QBVwvXFEIJTiZbfm63GldS2m7PrKAtzKCGNaKYS9lo,501
228
+ trace_agent/skills/catalog.py,sha256=4MECodJXHLlh2J285fcTa7XFaTZcr5_S5RZBS2vnId0,6810
229
+ trace_agent/skills/inlining.py,sha256=Qrfjx_kMEDTFpj1T1KejgDWj3OGOvD412jSLuLLG0Mc,7307
230
+ trace_agent/skills/router.py,sha256=qZhb228gVLwYrdd-JQkUKNNSgqTbBQXR0gXYGBB1kYc,1117
231
+ trace_agent/tools/__init__.py,sha256=2fN1n8yCZX7dfYQydTrUufIG6KqRvEJvSKyo6tG-L4E,662
232
+ trace_agent/tools/factory.py,sha256=37cugOyoF9PoKbjNfbckOdxVGBOPDSWsQ57MOdIpHhw,691
233
+ trace_agent/tools/parameters.py,sha256=Z0TjN4xkjuUjvZXyPTZBYk7I_wfa3oVVpl6LRLgfV6s,15117
234
+ trace_agent/tools/registry.py,sha256=zlBM03au1bLfo1sCxELcJ26zB51ejRbCs9Go25oe_-I,13925
235
+ trace_agent/tools/trace_tools.py,sha256=qD0cIKoUjFOqfDxQ4nKb5mQIqclRvxUspMZcJHfziVE,77755
236
+ trace_agent/trace/__init__.py,sha256=bsJc5PReY3eUuVIkgYD9U0pwOtTPONofHg650YgjFEM,455
237
+ trace_agent/trace/asset_root.py,sha256=e8uU-nzwFCAeKS-bnB2BII6RrzaNj7Nhl8UEg6IvUao,5454
238
+ trace_agent/trace/base.py,sha256=FXwtuZK_THiX210eLu2o_zPR7T56NXGT1r76oS7OwyU,372
239
+ trace_agent/trace/cache.py,sha256=HhxeTVPz_BkM8qxPZKoxTw_zmtzsekT7WruCKkQhx0c,8994
240
+ trace_agent/trace/cancellation.py,sha256=Z9k5IwJZVeYWL3mgDKZf_nZEy07dMk4tSeoxtBMzLTE,7701
241
+ trace_agent/trace/htrace.py,sha256=pLFUYYQpC79Z-nPskaepHRY8RmKwfjQf79IBoMSPTus,7071
242
+ trace_agent/trace/provision.py,sha256=yCt3DC48qY7AKaZCTPOUZvxpWCusR5qw9Lql8xEOiWE,23610
243
+ trace_agent/trace/trace_streamer.py,sha256=mw2vb0LOD7O5rvBy3fFOhI9ZGwOxtwKiyhn1U4q18vk,22502
244
+ trace_agent/trace/vendor_integrity.py,sha256=qixR6CBUTsdxsbkm3CqEr3XZ-25i-LAuKLpUrPBp9Wk,12088
245
+ trace_agent/validation/__init__.py,sha256=SMItNZ70uga-1BfEBWlI75XqFR2qkvZTEJP0AFKMd5c,351
246
+ trace_agent/validation/analysis.py,sha256=L0j21I4EfHWWmTqbPd0NmWNm9DLUpbT3Te9uM3_KshU,76240
247
+ trace_agent/verification/__init__.py,sha256=5JBuoitD48bhA2Rh-Oz9b2tmI0qOSMchubbXEfEq4es,301
248
+ trace_agent/verification/result_verifier.py,sha256=v9WGWFjcfnyXFxjvsCvxcF8f5FWx07ECo4gJzm791_w,7064
249
+ trace_agent/web/__init__.py,sha256=MNKrIsvJZVaRslSyC3dVpLbY2u_71RmsWEKj-A-8LIw,167
250
+ trace_agent/web/app.py,sha256=aa5JOj27WKSFmJYjA8JiiHZnJGHVXtw7blQIsuBTFQ8,22658
251
+ trace_agent/web/asgi.py,sha256=ifRqRSsyvOOfj2_8d7qokQcgCUXLWv5GN-gNhGJsneo,11840
252
+ trace_agent/web/routes_memory.py,sha256=0UiBE_l6GpGe3nQM6IZoQVqCG9_vTDnJ_yDAYehrTQo,15894
253
+ trace_agent/web/routes_runs.py,sha256=uGi1ZijrmsUjBee9o7cZkDs5kfBIdgdxw6akKhz7p4Y,29007
254
+ trace_agent/web/routes_sse.py,sha256=cqd9dtf1IqthyDa39TxaL0dR0zhcpGxwBzYvMerbURU,4195
255
+ trace_agent/web/server.py,sha256=am0o4S0qxsneBltUaXjylzYYMNwqQ2YzW1WqdXwJpGk,20162
256
+ trace_agent/web/state.py,sha256=UJ15oKCpM-N0nMriNH5Qwg091158F0DEPVXY45zA-XA,11609
257
+ trace_agent/web/static.py,sha256=V7JJEhPo-fjbEwGHH2-ih04ISrLFzUsR_A1fP-JdMiA,1580
258
+ trace_agent/web/static/app.js,sha256=0e3_8DfAitONLtMk7rwShnYFvxomrT9uK2YtRvA4Npg,65983
259
+ trace_agent/web/static/index.html,sha256=B5OcWHL9egOqfYbhJP3r2ULs3TobdG0eowimGOlapds,10358
260
+ trace_agent/web/static/styles.css,sha256=qaD1982qdcfWH79XNCvw-bO2jGlWe4IS1am3KKxNEtI,28342
261
+ trace_agent/runtime_project/.qoder/skills/cold-start-analysis/SKILL.md,sha256=mRlNXZU2xdt-K6XB8fO1aQqcoy2TqWsZ7GyJ2-fJ13c,9769
262
+ trace_agent/runtime_project/.qoder/skills/cold-start-analysis/SKILLCN.md,sha256=JydsZ-cSz4KWU429HQDsaNM0xMYC86SDYuO6QQ2GJsk,8593
263
+ trace_agent/runtime_project/.qoder/skills/cold-start-analysis/agents/openai.yaml,sha256=gbUeZKcnYi2crlbPyEGdCMENUk3V4suHgvNKNm6csM8,211
264
+ trace_agent/runtime_project/.qoder/skills/cold-start-analysis/references/app-startup-phase-semantics.md,sha256=TiqiR7DHINpsiIIwg1znMr51JnZoM9fjbuGAUhe40Ag,2550
265
+ trace_agent/runtime_project/.qoder/skills/cold-start-analysis/references/app-startup-phase-semanticsCN.md,sha256=BJZhk0jZwbQSM5fNe2JgWjIarshRdVYP8hwkzVUGIpM,2297
266
+ trace_agent/runtime_project/.qoder/skills/completion-latency-analysis/SKILL.md,sha256=B5LCVB2qEKfgma3c5i5-KCx4Hw99c-7RAnOS_1Vu6h0,7336
267
+ trace_agent/runtime_project/.qoder/skills/completion-latency-analysis/SKILLCN.md,sha256=WJOtTi1TF3LRT4B0pZ4yozpTPbM6mm37uz7_szWTvD8,6413
268
+ trace_agent/runtime_project/.qoder/skills/completion-latency-analysis/agents/openai.yaml,sha256=PfEU3Pe83XYT307TMVjDVp40UTYFxMiy2imhbzjbSpc,225
269
+ trace_agent/runtime_project/.qoder/skills/frame-jank-analysis/SKILL.md,sha256=qzxQU0RbDJwRAyBN5xg2tCdCddlK-9DWvP35U2T4uKo,6205
270
+ trace_agent/runtime_project/.qoder/skills/frame-jank-analysis/SKILLCN.md,sha256=D4lVcx3Hu7KSI0wt87FtEZFj2G-W7a7nWSp_Yt3y7AM,5436
271
+ trace_agent/runtime_project/.qoder/skills/frame-jank-analysis/agents/openai.yaml,sha256=LaQlW3PXehNiw7i8gpByyF91XBEkNmRplx3yAZJUsmU,210
272
+ trace_agent/runtime_project/.qoder/skills/perf-sample-analysis/SKILL.md,sha256=l3uyhhtIOOawS74ygHAhw1n-3NL3Ni4taFSokPpI-WM,10551
273
+ trace_agent/runtime_project/.qoder/skills/perf-sample-analysis/SKILLCN.md,sha256=hdQmpDT6vZ0nRJuUH7bFtdG2XYkqgdAJ34vbwmkS30Y,9219
274
+ trace_agent/runtime_project/.qoder/skills/perf-sample-analysis/agents/openai.yaml,sha256=5C11o7LnkYmzfgHDqKR0AkGeoakYbD0tJL2ZqcssUkg,258
275
+ trace_agent/runtime_project/.qoder/skills/perf-sample-analysis/references/perf-trace-streamer-schema.md,sha256=OacYkVIM38xxxrgCvX0ZHK3OnExTArvmu70GYJrEqdo,5856
276
+ trace_agent/runtime_project/.qoder/skills/perf-sample-analysis/references/perf-trace-streamer-schemaCN.md,sha256=Y3S8A1WYKx7eCl3SJBVy-Jzo8HsdPcChPdYw-4L0UPM,5742
277
+ trace_agent/runtime_project/.qoder/skills/response-latency-analysis/SKILL.md,sha256=BbpOEGMxjxlSoyr8qQ1cWiSTGyI7be__36kvb0arXbw,10845
278
+ trace_agent/runtime_project/.qoder/skills/response-latency-analysis/SKILLCN.md,sha256=GKikJUtX9PUT9O7gxeha0xHkRaZck1sjRTE7rvHOH1I,9588
279
+ trace_agent/runtime_project/.qoder/skills/response-latency-analysis/agents/openai.yaml,sha256=pEl5xEUWgwqnHA8qA0lNSADFlzcYF8Zeto5qUGr-gK0,213
280
+ trace_agent/runtime_project/.qoder/skills/trace-analysis/SKILL.md,sha256=7nfMsU92EQQFZxx6VDaPgyQh42iBGLW2YyjzYfPdfx0,6704
281
+ trace_agent/runtime_project/.qoder/skills/trace-analysis/SKILLCN.md,sha256=nK1glUE3FMAXKHYYD2n5zOdIpYCjfvO-7fxsrdzse1U,5970
282
+ trace_agent/runtime_project/.qoder/skills/trace-analysis/agents/openai.yaml,sha256=ZUSKkQpvX5fk_MRgfmYwjs_stWxbOGW4zfe3bq-Vb54,213
283
+ trace_agent/runtime_project/.qoder/skills/trace-analysis/references/io-analysis.md,sha256=PFy_IZAWyvvcG5eiSsyDvbY5dw3H5YMB-AXy-Tdt6w4,476
284
+ trace_agent/runtime_project/.qoder/skills/trace-analysis/references/io-analysisCN.md,sha256=e6_Mkl25XrgD7zhjwwsVrsnZjteF4VRAvHPcbwgIEVM,431
285
+ trace_agent/runtime_project/.qoder/skills/trace-analysis/references/rendering-analysis.md,sha256=w8Nf0ADmSd0ALyjZRC_tVjqFTYJxveeBhtalzprs1yw,402
286
+ trace_agent/runtime_project/.qoder/skills/trace-analysis/references/rendering-analysisCN.md,sha256=NcrnApfQn8sAByjntp7CWLG7NbthTX9KjnrltrQgX1Y,339
287
+ trace_agent/runtime_project/.qoder/skills/trace-analysis/references/report-standard.md,sha256=tjIy6kJ9ZgvSleEEM0BahYpwYRXWF9GBXEfd8YMfrkE,831
288
+ trace_agent/runtime_project/.qoder/skills/trace-analysis/references/report-standardCN.md,sha256=tgIYke2-5Ap_jAn56JmnMWsTCI3POg_vU1J1KImuxFI,778
289
+ trace_agent/runtime_project/.qoder/skills/trace-analysis/references/thread-execution-critical-path.md,sha256=j9pTO_JOZR8XLoNyyYQNq3LcX5JUfLe6wYhGvUvPV08,5782
290
+ trace_agent/runtime_project/.qoder/skills/trace-analysis/references/thread-execution-critical-pathCN.md,sha256=3_AnmUCNCinyTB_NXS9tlhqc8eXt2_Hn61wvln6axeU,5479
291
+ trace_agent/runtime_project/.qoder/skills/trace-analysis/references/trace-streamer-schema.md,sha256=zXDZ8FVvwLQTKgLbJKCoJzF-PEY_RLRlvad1UWrhzLw,8456
292
+ trace_agent/runtime_project/.qoder/skills/trace-analysis/references/trace-streamer-schemaCN.md,sha256=vhTn8c_5bSXkCsv68B8DI-2xeCZjTZKox8qdt_qAXeE,8149
293
+ trace_agent/runtime_tools/trace_streamer/CHECKSUMS.sha256,sha256=S6wE52byaz0e9-S5sgV0FxpMC0X0JnfWPpzGK2S3IfM,848
294
+ trace_agent/runtime_tools/trace_streamer/LICENSE,sha256=JnMAlsiBfu8V2_OIWs7NwfsRT5b5u78rQ8vKDFsE7uk,11556
295
+ trace_agent/runtime_tools/trace_streamer/README.md,sha256=A6liboysxyn68A6HRHG5-DGfYrNVypXshb_eNG-ROTs,2797
296
+ trace_agent/runtime_tools/trace_streamer/VERSION,sha256=mTSQHQIsje_AX5GwoD_92SK1CTG8aUfbMPI093kChMI,521
297
+ trace_agent/runtime_tools/trace_streamer/darwin-aarch64/trace_streamer,sha256=bWcaFYuRSobIO37WWN-tSXAmc4Hzex_LbzVW7eBI_NE,23006384
298
+ trace_agent/runtime_tools/trace_streamer/linux-x86_64/trace_streamer,sha256=7O58-IYt86nd4Oo5xToprEnt9AGFTvzRQLo6Bj7Tlxs,12703088
299
+ trace_agent/runtime_tools/trace_streamer/windows-x86_64/trace_streamer.exe,sha256=VYnIgbFIKjx6Mok4OvqJvSlB4pf5_q7fzCA_P11aWsg,27586048
300
+ diting_agent-0.1.0.dist-info/METADATA,sha256=akofYHXYGMksUaKakoSyOTg6pP3EoH0YSvvEsIK7eVs,41134
301
+ diting_agent-0.1.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
302
+ diting_agent-0.1.0.dist-info/entry_points.txt,sha256=2UiNBScy9vr6oXP7RCBjpduMrbe4yr5kCoLqAnEVU5g,87
303
+ diting_agent-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.33.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,3 @@
1
+ [console_scripts]
2
+ diting-agent = trace_agent.cli:app
3
+ trace-agent = trace_agent.cli:app
@@ -0,0 +1,3 @@
1
+ """DitingAgent package."""
2
+
3
+ __version__ = "0.1.0"
@@ -0,0 +1,4 @@
1
+ from trace_agent.cli import app
2
+
3
+ if __name__ == "__main__":
4
+ app()
@@ -0,0 +1,63 @@
1
+ from trace_agent.agent.base import AnalysisAgent
2
+ from trace_agent.agent.claude import ClaudeAgentSdkAgent
3
+ from trace_agent.agent.factory import (
4
+ AnalysisAgentFactory,
5
+ DefaultAnalysisAgentFactory,
6
+ )
7
+ from trace_agent.agent.local import LocalAnalysisAgent
8
+ from trace_agent.agent.protocols import (
9
+ AgentSelection,
10
+ ProviderMetadata,
11
+ RunCapableTransport,
12
+ )
13
+ from trace_agent.agent.qoder_transport import QoderTransport
14
+ from trace_agent.agent.registry import (
15
+ agent_for_kind,
16
+ available_providers,
17
+ create_agent,
18
+ get_metadata,
19
+ metadata_for_kind,
20
+ register_provider,
21
+ unregister_provider,
22
+ )
23
+ from trace_agent.agent.runtime import AgentRuntime
24
+ from trace_agent.agent.transport import (
25
+ AgentMessage,
26
+ AgentRequest,
27
+ AgentResponse,
28
+ AgentSession,
29
+ AgentTransport,
30
+ FakeRunTransport,
31
+ FakeTransport,
32
+ ToolCall,
33
+ Usage,
34
+ )
35
+
36
+ __all__ = [
37
+ "AgentMessage",
38
+ "AgentRequest",
39
+ "AgentResponse",
40
+ "AgentRuntime",
41
+ "AgentSelection",
42
+ "AgentSession",
43
+ "AgentTransport",
44
+ "AnalysisAgent",
45
+ "ClaudeAgentSdkAgent",
46
+ "AnalysisAgentFactory",
47
+ "DefaultAnalysisAgentFactory",
48
+ "FakeRunTransport",
49
+ "FakeTransport",
50
+ "LocalAnalysisAgent",
51
+ "ProviderMetadata",
52
+ "QoderTransport",
53
+ "RunCapableTransport",
54
+ "ToolCall",
55
+ "Usage",
56
+ "agent_for_kind",
57
+ "available_providers",
58
+ "create_agent",
59
+ "get_metadata",
60
+ "metadata_for_kind",
61
+ "register_provider",
62
+ "unregister_provider",
63
+ ]
@@ -0,0 +1,48 @@
1
+ """Claude Agent SDK adapter package.
2
+
3
+ The concrete implementation is split across ``client`` (SDK construction and
4
+ model policy), ``session`` (stream handling) and ``tools`` (MCP/tool bridging).
5
+ The primary agent remains importable from ``trace_agent.agent.claude``.
6
+ """
7
+
8
+ from trace_agent.agent.adapters.claude.client import (
9
+ anthropic_auth_token,
10
+ anthropic_base_url,
11
+ build_runtime_env,
12
+ ensure_sdk,
13
+ resolve_cli_path,
14
+ )
15
+ from trace_agent.agent.adapters.claude.session import collect_text_blocks
16
+ from trace_agent.agent.adapters.claude.skills import ensure_skill_plugin
17
+ from trace_agent.agent.adapters.claude.tools import (
18
+ create_read_hook,
19
+ create_sdk_tool,
20
+ create_skill_hook,
21
+ create_submission_tool,
22
+ evaluate_skill_file,
23
+ is_allowed_skill_file,
24
+ is_enabled_skill,
25
+ matched_skill_name,
26
+ submission_rejection,
27
+ tool_result,
28
+ )
29
+
30
+ __all__ = [
31
+ "anthropic_auth_token",
32
+ "anthropic_base_url",
33
+ "build_runtime_env",
34
+ "collect_text_blocks",
35
+ "create_read_hook",
36
+ "create_sdk_tool",
37
+ "create_skill_hook",
38
+ "create_submission_tool",
39
+ "ensure_sdk",
40
+ "ensure_skill_plugin",
41
+ "evaluate_skill_file",
42
+ "is_enabled_skill",
43
+ "is_allowed_skill_file",
44
+ "matched_skill_name",
45
+ "resolve_cli_path",
46
+ "submission_rejection",
47
+ "tool_result",
48
+ ]
@@ -0,0 +1,83 @@
1
+ """Claude Agent SDK-specific client construction and model policy.
2
+
3
+ This module is the only place in the Claude adapter that imports the
4
+ ``claude_agent_sdk`` package and builds its options/auth. The shared runtime
5
+ config stays provider-agnostic; only values Claude Code itself needs are read
6
+ here.
7
+ """
8
+
9
+ from __future__ import annotations
10
+
11
+ import os
12
+ from pathlib import Path
13
+
14
+ from trace_agent.agent.sdk_guard import require_sdk
15
+ from trace_agent.config import LlmRuntimeConfig
16
+
17
+ # Claude Code authenticates through the standard Anthropic environment
18
+ # variables. We intentionally read both spellings so that an Anthropic API key
19
+ # or an Anthropic-compatible token (for example the project's DeepSeek
20
+ # Anthropic-compatible endpoint) can be used without leaking into shared config.
21
+ _CLAUDE_AUTH_TOKEN_ENVS = (
22
+ "ANTHROPIC_AUTH_TOKEN",
23
+ "ANTHROPIC_API_KEY",
24
+ )
25
+
26
+
27
+ def ensure_sdk() -> None:
28
+ require_sdk(
29
+ "claude_agent_sdk",
30
+ extra_label="claude",
31
+ provider="claude",
32
+ )
33
+
34
+
35
+ def resolve_cli_path() -> Path | None:
36
+ """Honor an explicit Claude Code CLI binary, when provided."""
37
+ explicit = os.environ.get("CLAUDE_CLI_EXECUTABLE")
38
+ if explicit:
39
+ path = Path(explicit).expanduser()
40
+ if not path.is_file():
41
+ raise RuntimeError(
42
+ "CLAUDE_CLI_EXECUTABLE 指向的文件不存在:"
43
+ f"{path}"
44
+ )
45
+ return path.resolve()
46
+ return None
47
+
48
+
49
+ def anthropic_auth_token() -> str | None:
50
+ for name in _CLAUDE_AUTH_TOKEN_ENVS:
51
+ value = os.environ.get(name)
52
+ if value:
53
+ return value
54
+ return None
55
+
56
+
57
+ def anthropic_base_url() -> str | None:
58
+ return (
59
+ os.environ.get("ANTHROPIC_BASE_URL")
60
+ or os.environ.get("ANTHROPIC_BASE_URL_API")
61
+ )
62
+
63
+
64
+ def build_runtime_env(
65
+ runtime_config: LlmRuntimeConfig | None,
66
+ ) -> dict[str, str]:
67
+ """Bridge the resolved BYOK runtime config into Claude Code env vars.
68
+
69
+ Claude Code already speaks the Anthropic Messages protocol, so routing a
70
+ provider through it only requires ``ANTHROPIC_AUTH_TOKEN`` and
71
+ ``ANTHROPIC_BASE_URL``. When no runtime config is supplied we fall back to
72
+ whatever the local Claude Code session has configured (CLI login or env).
73
+ """
74
+ if runtime_config is None:
75
+ return {}
76
+
77
+ env: dict[str, str] = {}
78
+ if runtime_config.api_key:
79
+ env["ANTHROPIC_AUTH_TOKEN"] = runtime_config.api_key
80
+ env["ANTHROPIC_API_KEY"] = runtime_config.api_key
81
+ if runtime_config.base_url:
82
+ env["ANTHROPIC_BASE_URL"] = runtime_config.base_url
83
+ return env
@@ -0,0 +1,72 @@
1
+ """Claude SDK session handling: message classification and stream iteration.
2
+
3
+ This module is the Claude-specific half of the turn loop. The generic retry,
4
+ repair, parsing and diagnostics stay in :mod:`trace_agent.agent.core`; this
5
+ module only knows how to interpret Claude's ``AssistantMessage`` /
6
+ ``ResultMessage`` / ``TextBlock`` stream objects.
7
+ """
8
+
9
+ from __future__ import annotations
10
+
11
+ from collections.abc import AsyncIterator
12
+ from typing import Any
13
+
14
+ from trace_agent.agent.adapters.claude.client import ensure_sdk
15
+ from trace_agent.runtime import EventType, RunContext
16
+
17
+
18
+ def _import_sdk_types() -> dict[str, Any]:
19
+ ensure_sdk()
20
+ from claude_agent_sdk import ( # local import keeps the SDK optional
21
+ AssistantMessage,
22
+ ResultMessage,
23
+ TextBlock,
24
+ )
25
+
26
+ return {
27
+ "AssistantMessage": AssistantMessage,
28
+ "ResultMessage": ResultMessage,
29
+ "TextBlock": TextBlock,
30
+ }
31
+
32
+
33
+ async def collect_text_blocks(
34
+ messages: AsyncIterator[Any],
35
+ *,
36
+ run_context: RunContext | None = None,
37
+ ) -> tuple[list[str], Any | None]:
38
+ """Extract text blocks and the final result from a Claude response stream."""
39
+ types = _import_sdk_types()
40
+ AssistantMessage = types["AssistantMessage"]
41
+ ResultMessage = types["ResultMessage"]
42
+ TextBlock = types["TextBlock"]
43
+
44
+ text_blocks: list[str] = []
45
+ result_message: Any | None = None
46
+
47
+ async for message in messages:
48
+ if run_context is not None:
49
+ run_context.raise_if_cancelled()
50
+ if isinstance(message, AssistantMessage):
51
+ for block in message.content:
52
+ if isinstance(block, TextBlock):
53
+ text_blocks.append(block.text)
54
+ if run_context is not None:
55
+ run_context.publish(
56
+ EventType.MODEL_MESSAGE_DELTA,
57
+ data={"delta": block.text},
58
+ )
59
+ elif isinstance(message, ResultMessage):
60
+ result_message = message
61
+ if message.result:
62
+ text_blocks.append(message.result)
63
+ if run_context is not None:
64
+ run_context.publish(
65
+ EventType.MODEL_MESSAGE_COMPLETED,
66
+ data={
67
+ "result": message.result,
68
+ "subtype": getattr(message, "subtype", None),
69
+ },
70
+ )
71
+
72
+ return text_blocks, result_message