argus-code 0.2.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 (86) hide show
  1. argus/__init__.py +3 -0
  2. argus/adapters/__init__.py +7 -0
  3. argus/adapters/base.py +108 -0
  4. argus/adapters/claude_code/__init__.py +5 -0
  5. argus/adapters/claude_code/adapter.py +63 -0
  6. argus/adapters/claude_code/discover.py +72 -0
  7. argus/adapters/claude_code/extract_tool_calls.py +86 -0
  8. argus/adapters/claude_code/extract_transcript.py +111 -0
  9. argus/adapters/claude_code/extract_turns.py +69 -0
  10. argus/adapters/claude_code/history_jsonl.py +138 -0
  11. argus/adapters/claude_code/ingest_file.py +137 -0
  12. argus/adapters/claude_code/model.py +11 -0
  13. argus/adapters/claude_code/schemas.py +77 -0
  14. argus/adapters/registry.py +30 -0
  15. argus/cli.py +384 -0
  16. argus/collector/__init__.py +0 -0
  17. argus/collector/aggregate.py +102 -0
  18. argus/collector/first_run.py +189 -0
  19. argus/collector/pipeline.py +140 -0
  20. argus/collector/rollup_subagents.py +27 -0
  21. argus/collector/scheduler.py +89 -0
  22. argus/collector/search_backfill.py +109 -0
  23. argus/collector/watcher.py +178 -0
  24. argus/dashboard-dist/_astro/charts.BIevw6Es.js +1 -0
  25. argus/dashboard-dist/_astro/format.DxC1NGYT.js +1 -0
  26. argus/dashboard-dist/_astro/index.astro_astro_type_script_index_0_lang.CgwSARdD.js +24 -0
  27. argus/dashboard-dist/_astro/index.astro_astro_type_script_index_0_lang.W18SJsr7.js +11 -0
  28. argus/dashboard-dist/_astro/installCanvasRenderer.D_tC6TXz.js +18 -0
  29. argus/dashboard-dist/_astro/models.astro_astro_type_script_index_0_lang.BHTHXYHC.js +13 -0
  30. argus/dashboard-dist/_astro/prompts.astro_astro_type_script_index_0_lang.DfNgiDv9.js +17 -0
  31. argus/dashboard-dist/_astro/session.astro_astro_type_script_index_0_lang.Dj_bfrIa.js +86 -0
  32. argus/dashboard-dist/_astro/settings.astro_astro_type_script_index_0_lang.d_a-uvdi.js +24 -0
  33. argus/dashboard-dist/_astro/tools.astro_astro_type_script_index_0_lang.Dzzau3Yt.js +12 -0
  34. argus/dashboard-dist/_astro/trends.astro_astro_type_script_index_0_lang.BLLeGRNa.js +5 -0
  35. argus/dashboard-dist/index.html +2 -0
  36. argus/dashboard-dist/models/index.html +1 -0
  37. argus/dashboard-dist/prompts/index.html +18 -0
  38. argus/dashboard-dist/session/index.html +2 -0
  39. argus/dashboard-dist/sessions/index.html +1 -0
  40. argus/dashboard-dist/settings/index.html +8 -0
  41. argus/dashboard-dist/styles/global.css +307 -0
  42. argus/dashboard-dist/tools/index.html +1 -0
  43. argus/dashboard-dist/trends/index.html +1 -0
  44. argus/detectors/__init__.py +6 -0
  45. argus/detectors/base.py +34 -0
  46. argus/detectors/registry.py +20 -0
  47. argus/detectors/tool_error_rate_spike.py +138 -0
  48. argus/pricing/2026-05-02.json +24 -0
  49. argus/pricing/__init__.py +0 -0
  50. argus/pricing/compute.py +46 -0
  51. argus/pricing/load.py +45 -0
  52. argus/pricing/refresh.py +91 -0
  53. argus/pricing/types.py +21 -0
  54. argus/scaffold/__init__.py +0 -0
  55. argus/scaffold/scaffolder.py +45 -0
  56. argus/scaffold/snapshot.py +73 -0
  57. argus/scaffold/storage.py +60 -0
  58. argus/schema/__init__.py +0 -0
  59. argus/schema/types.py +157 -0
  60. argus/server/__init__.py +0 -0
  61. argus/server/api.py +661 -0
  62. argus/server/app.py +97 -0
  63. argus/store/__init__.py +0 -0
  64. argus/store/db.py +103 -0
  65. argus/store/migrations/__init__.py +0 -0
  66. argus/store/migrations/inline.py +180 -0
  67. argus/store/repository.py +778 -0
  68. argus/templates/default/.claude/agents/code-reviewer.md +27 -0
  69. argus/templates/default/.claude/agents/security-auditor.md +28 -0
  70. argus/templates/default/.claude/commands/commit.md +38 -0
  71. argus/templates/default/.claude/commands/deploy.md +13 -0
  72. argus/templates/default/.claude/commands/fix-issue.md +15 -0
  73. argus/templates/default/.claude/commands/pr.md +38 -0
  74. argus/templates/default/.claude/commands/review.md +14 -0
  75. argus/templates/default/.claude/rules/api-conventions.md +27 -0
  76. argus/templates/default/.claude/rules/code-style.md +25 -0
  77. argus/templates/default/.claude/rules/testing.md +19 -0
  78. argus/templates/default/.claude/settings.json +28 -0
  79. argus/templates/default/.claude/skills/example/SKILL.md +11 -0
  80. argus/templates/default/CLAUDE.md +57 -0
  81. argus_code-0.2.0.dist-info/METADATA +247 -0
  82. argus_code-0.2.0.dist-info/RECORD +86 -0
  83. argus_code-0.2.0.dist-info/WHEEL +4 -0
  84. argus_code-0.2.0.dist-info/entry_points.txt +2 -0
  85. argus_code-0.2.0.dist-info/licenses/LICENSE +21 -0
  86. argus_code-0.2.0.dist-info/licenses/NOTICE +22 -0
@@ -0,0 +1,86 @@
1
+ argus/__init__.py,sha256=idqXBsQcex2FlLJVRJyqNpu3wkY-Vr_4_wVwO_TOf2A,105
2
+ argus/cli.py,sha256=O-0a0HubRb6IO9UGh9HC3k8BMpksnNDLzu_WCfz8KCI,14004
3
+ argus/adapters/__init__.py,sha256=CpJ90MRAl6kKMsTzKbw1_oDIw9MuwaD85DImgyAEjkA,316
4
+ argus/adapters/base.py,sha256=Kz0D4eKP0ngGBpDW8l5fBbH4ACLR3_PjJSRiKM9XnWs,3476
5
+ argus/adapters/registry.py,sha256=Y_DBWWfDaLK7geqUxnkASrr1l3ewNgrKc7_UGEoPEZ0,834
6
+ argus/adapters/claude_code/__init__.py,sha256=cRpV_AKXsr_Ya1eVnOhG0Pjm3zLgXsf5AbJXlFKz0uU,162
7
+ argus/adapters/claude_code/adapter.py,sha256=ECrQn4hgSatvsxbqZ9mJx1hpThVFQEVcakHq2O3VeTY,2180
8
+ argus/adapters/claude_code/discover.py,sha256=gl8N5d_YlOuqRpjvnZIXBSsE2equWnr1pBjd_t4yp7I,2278
9
+ argus/adapters/claude_code/extract_tool_calls.py,sha256=84YGNvQ3wW08YNL4wvF6v5H9k-7ete1vwcSLrTIz0yE,3209
10
+ argus/adapters/claude_code/extract_transcript.py,sha256=gf7CQahWWXZzFEgILtXSxQtpxz2jBEeYutXqig1p1sM,4215
11
+ argus/adapters/claude_code/extract_turns.py,sha256=KBPHk5agUX4K9EVySDkn81nAvT2-6DUAG8vjx0S48IA,2556
12
+ argus/adapters/claude_code/history_jsonl.py,sha256=3xeeqdyNqTp_hR7ly_9q-PxJUj0Rq2UOt-s02udiKSI,4275
13
+ argus/adapters/claude_code/ingest_file.py,sha256=gRmaTuBh1oTALky95cDuM8rqM0BLMr85mL84T9fOdUI,4774
14
+ argus/adapters/claude_code/model.py,sha256=epixuX2EpAwQgeqtGCPEF72-_HrvxjWbJS5mXJb3ysQ,312
15
+ argus/adapters/claude_code/schemas.py,sha256=spamP46Om9WGublc_WcctL-1kZVZIUKCe-bVjy-H0so,2172
16
+ argus/collector/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
+ argus/collector/aggregate.py,sha256=ijahKFw_l5WWFkfG8ZdBUxEUQEteWkC4fmLCn4iUgvY,3720
18
+ argus/collector/first_run.py,sha256=GATt5DbD-GRLtADC8bySOQz9bnsbFG4dLugRwwJtejs,6308
19
+ argus/collector/pipeline.py,sha256=JHtjY6EoGLbzo0BRZEUb8GGguBYiFLcpGbL0PVo_Ezw,5751
20
+ argus/collector/rollup_subagents.py,sha256=n2aRk5o_qfmvqYLgqteAqjvIRXWe9-Em9_bvVw6x2UE,1171
21
+ argus/collector/scheduler.py,sha256=GSBJ2g897HjsmAD1ciXnqUv8bDULNUz5NUnAMP3u034,2848
22
+ argus/collector/search_backfill.py,sha256=9mG2SGb_F0QxJRmRa8zQrNhlygElUyGVx0f0cWv0NaA,3621
23
+ argus/collector/watcher.py,sha256=1aBx_vse6ewaZaqXdkjOCyIK_YID3FKjG1uCKVEdF3A,5507
24
+ argus/detectors/__init__.py,sha256=4fhKaxI1-EJQqwYWpSlf1BanPLnnhMBFQH6NTvDQlho,232
25
+ argus/detectors/base.py,sha256=gafjkVUNXMGb-LbI48t7vUAs23IHFR0rwNdj84iGHyY,920
26
+ argus/detectors/registry.py,sha256=qJqvM2pz-AruOgJNfkX2lWmo7yfAQuXwBeoLJBW-H-0,513
27
+ argus/detectors/tool_error_rate_spike.py,sha256=FpDSGxxpR5IKUNZ982A9JIOijx_zxtNTvmi5LJ-zA4Q,5334
28
+ argus/pricing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
29
+ argus/pricing/compute.py,sha256=wx9gGub2a7JaT3QmHAocy6zFNRsvwKQqnUAvwSPZFSo,1552
30
+ argus/pricing/load.py,sha256=fOwBuwdfoIyKVAfgWnHMz7W9eLh9WCjsM05_dZ9CgUA,1629
31
+ argus/pricing/refresh.py,sha256=EytvHMpVKKlc77GYDZX_pp-7GEn47zQYaNIeIcCYxeo,2930
32
+ argus/pricing/types.py,sha256=xIG7QaKxUimVeRiFPWTu2YGI1yGQWYBfAWBDEIS2P0I,552
33
+ argus/scaffold/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
34
+ argus/scaffold/scaffolder.py,sha256=zUBeXHWXC4g9GY3EgCKJ_V_4esx4cnRkUf374ui5KEE,1652
35
+ argus/scaffold/snapshot.py,sha256=mnAwpaUIysGp9niQocTi3rBozw-R5c0Fd_ePr1nfnYM,2544
36
+ argus/scaffold/storage.py,sha256=k1113GzdH51OqK6mBspB5DUR7M2cT4MDGDBKyYrA5V8,2057
37
+ argus/schema/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
+ argus/schema/types.py,sha256=QoCPBAxx8yIiveo1hheRTQQZHALmLhDdqd9gBz3XEXw,4147
39
+ argus/server/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
40
+ argus/server/api.py,sha256=0ROgwPgBc7SWRJCDr5dBebaGsYnPXp3KFXNHCpi3vAM,24048
41
+ argus/server/app.py,sha256=fzFGgjIHMnvzr09h4iRpO0EuWDAL-qGcWt50M8VgGbM,3258
42
+ argus/store/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
43
+ argus/store/db.py,sha256=FkgnM_REkkLFwDOzFp3sDD2AqcdYjIWdzLuDsFLAsCY,3754
44
+ argus/store/repository.py,sha256=FKcT40jy4fhRIEdDLeImbfJPaOLFcnzEO_QErvXoReM,31809
45
+ argus/store/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
46
+ argus/store/migrations/inline.py,sha256=GJPPLDg5RKVfxTqnDKn1YiXHOMN-pfLvhdLE_M2A4-M,6395
47
+ argus/dashboard-dist/index.html,sha256=yC2AqzafshpMTd-ypqOUVwkWVa9r1SVHfmPXp6O9FRY,3087
48
+ argus/dashboard-dist/_astro/charts.BIevw6Es.js,sha256=vXFocylVae9OoUMla3oqqvZi0ED-iP5HGQwFx0ygCSE,110476
49
+ argus/dashboard-dist/_astro/format.DxC1NGYT.js,sha256=5TDvUIMx3lmfc-zyobd9ztTT190Ta67M4IHbr2ZaXJg,3181
50
+ argus/dashboard-dist/_astro/index.astro_astro_type_script_index_0_lang.CgwSARdD.js,sha256=qdl3gSb4aUaFZ60VivofQ-DfGhCx-gwljQcJ-jvfZDs,3458
51
+ argus/dashboard-dist/_astro/index.astro_astro_type_script_index_0_lang.W18SJsr7.js,sha256=g79kQvokApRxZUYZi82v8dEknGxN65bPUATpwN6RpNo,1754
52
+ argus/dashboard-dist/_astro/installCanvasRenderer.D_tC6TXz.js,sha256=o7Qo4WmIvmAiMe1bCHBsBzMZVCyTcJNYtsZfnegADpY,505777
53
+ argus/dashboard-dist/_astro/models.astro_astro_type_script_index_0_lang.BHTHXYHC.js,sha256=r51-1yJTi6z2U5WNWHM9-OHnUTetN2RvXqZYjWE2eQY,2673
54
+ argus/dashboard-dist/_astro/prompts.astro_astro_type_script_index_0_lang.DfNgiDv9.js,sha256=JgiBHnHDkM85rNLWSD0mefnHLK5nckBr1REHGmD6iso,4412
55
+ argus/dashboard-dist/_astro/session.astro_astro_type_script_index_0_lang.Dj_bfrIa.js,sha256=ArqCvOGcjdQhpZx5qV8ZxII6tsvMinym3bdBQGDXU6g,7766
56
+ argus/dashboard-dist/_astro/settings.astro_astro_type_script_index_0_lang.d_a-uvdi.js,sha256=Re48c0y7ybK8elX8EkadKFOyE6ysSs3988MTlQBHcsQ,5675
57
+ argus/dashboard-dist/_astro/tools.astro_astro_type_script_index_0_lang.Dzzau3Yt.js,sha256=7zLhRsmV3I7I2qf4WU04T-HS0rpwbPbiGcjWWLgtcII,3281
58
+ argus/dashboard-dist/_astro/trends.astro_astro_type_script_index_0_lang.BLLeGRNa.js,sha256=jCL66PdNUQDgrwAZl_ciQET1rflkKK0TCWii24hTKeU,1228
59
+ argus/dashboard-dist/models/index.html,sha256=RIYzcfeVZY8skC2-bvSmwsrg5-YOcn4CLJLqDspohz0,2646
60
+ argus/dashboard-dist/prompts/index.html,sha256=6BKkfIaNWCISEEWnQJsXqq2SuKJdG-yR8ZqsZImtJDQ,6335
61
+ argus/dashboard-dist/session/index.html,sha256=Petcc0KXfHkUuvLaRIT2FH4AJ1n3BnyJDY5GZ0uiA9I,2758
62
+ argus/dashboard-dist/sessions/index.html,sha256=RyD_54oKRC8VZoI4MnNqIHOI7ZF3QPcPOftZAjH1ztw,2621
63
+ argus/dashboard-dist/settings/index.html,sha256=FFv_JPklGOD08Dwnraw3V0xCfTxGEXu_JsNVs828gTA,3803
64
+ argus/dashboard-dist/styles/global.css,sha256=_YdHnoKhdzBsfAcr5tObEn62F0YcrYjNkN0OqqnPwUI,8526
65
+ argus/dashboard-dist/tools/index.html,sha256=zcpbyZ2xv_t8y-KrdgCJ5gaQjVwIPyrTNV5q2dBDxeU,2807
66
+ argus/dashboard-dist/trends/index.html,sha256=qHh38FzUebEVaJ2PXysnX1WtLEsuLG61-j1KWiwLxr8,2377
67
+ argus/pricing/2026-05-02.json,sha256=6kNqYL3LAjQCpkgk4-DlEKr1QlCDYB5PNsLg657Qa0k,2512
68
+ argus/templates/default/CLAUDE.md,sha256=xvb3m907wTAaPK94BI0iokyBQarKjFeJMib5aX-EbYA,1072
69
+ argus/templates/default/.claude/settings.json,sha256=qV06NJVLKSZ_3Ge2NBtew2nFv36piRkGpa6RhGOt_Dg,611
70
+ argus/templates/default/.claude/agents/code-reviewer.md,sha256=Ao9z-RMIF-qsFCLoEtMf8kYKFev9v1j-iNZ7W0CFLhk,1086
71
+ argus/templates/default/.claude/agents/security-auditor.md,sha256=TNe-0orS2W0EAEP5cbcaQ5hr1flzU97lgnJ2kPMf7-Q,1184
72
+ argus/templates/default/.claude/commands/commit.md,sha256=4UxXnpuHkWVgeobuzVcsNZvDuA6DEoL3hsSr3UBbatk,1084
73
+ argus/templates/default/.claude/commands/deploy.md,sha256=XyT1XGEAsFcN89ffcL-BxfrHJ81vey3eLrncxoHlNqE,388
74
+ argus/templates/default/.claude/commands/fix-issue.md,sha256=JadfB-UleOb7a1JJZgahTxBfdSceQdcGSJDkLY8qtyA,365
75
+ argus/templates/default/.claude/commands/pr.md,sha256=o8GQAh8YldbvhFm68Nb86eo1aPp0-0u4swRhAzfX2mk,1004
76
+ argus/templates/default/.claude/commands/review.md,sha256=0DnBfxeV0YAU0G51sQYLYNJlZUBGHVhe7DCi757nYGI,437
77
+ argus/templates/default/.claude/rules/api-conventions.md,sha256=XKSYVXNp1x9Y9-w9OP9EylrSv9QlqhL1X-wFzaTkBYM,690
78
+ argus/templates/default/.claude/rules/code-style.md,sha256=hYPnweFUVlhAkGGs24j3a-JqzotiP2QMGuCz_F5lQno,716
79
+ argus/templates/default/.claude/rules/testing.md,sha256=-8SghvaMKY-UXCGYIWz_MEtnepoUsGyi7IJZDZtA9VE,585
80
+ argus/templates/default/.claude/skills/example/SKILL.md,sha256=zxnZCJNEZhS_RPoVG8tmbs1G0ndEnnGWqSqNtyOSNGs,423
81
+ argus_code-0.2.0.dist-info/METADATA,sha256=OWEdakAL0njqETXdHIAvEWzSuc-s1N4zd6uhCso86M0,11992
82
+ argus_code-0.2.0.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
83
+ argus_code-0.2.0.dist-info/entry_points.txt,sha256=F8smyaWp3GnYGZPwCEnX-u4S4UEDshOCpJZ9dmxcMf8,40
84
+ argus_code-0.2.0.dist-info/licenses/LICENSE,sha256=pFyYJKXkAqb7nXHgJ2mQ448DotICwHRTaUiHS47Z5FE,1091
85
+ argus_code-0.2.0.dist-info/licenses/NOTICE,sha256=UL3gbHJDs1jr6eP_CLnvWBFiqozqnRBdhoS_vhnX188,1200
86
+ argus_code-0.2.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.29.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ argus = argus.cli:app
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Krish Bhimani
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,22 @@
1
+ Argus bundles project-scaffolding templates derived from Agent Anatomy
2
+ (https://github.com/agent-anatomy/claude), used under the MIT License.
3
+
4
+ Copyright (c) 2025 Agent Anatomy
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.