htmlgraph 0.28.1__py3-none-any.whl → 0.28.3__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.
- htmlgraph/__init__.py +1 -1
- htmlgraph/hooks/event_tracker.py +22 -0
- {htmlgraph-0.28.1.dist-info → htmlgraph-0.28.3.dist-info}/METADATA +1 -1
- {htmlgraph-0.28.1.dist-info → htmlgraph-0.28.3.dist-info}/RECORD +10 -10
- {htmlgraph-0.28.1.data → htmlgraph-0.28.3.data}/data/htmlgraph/styles.css +0 -0
- {htmlgraph-0.28.1.data → htmlgraph-0.28.3.data}/data/htmlgraph/templates/AGENTS.md.template +0 -0
- {htmlgraph-0.28.1.data → htmlgraph-0.28.3.data}/data/htmlgraph/templates/CLAUDE.md.template +0 -0
- {htmlgraph-0.28.1.data → htmlgraph-0.28.3.data}/data/htmlgraph/templates/GEMINI.md.template +0 -0
- {htmlgraph-0.28.1.dist-info → htmlgraph-0.28.3.dist-info}/WHEEL +0 -0
- {htmlgraph-0.28.1.dist-info → htmlgraph-0.28.3.dist-info}/entry_points.txt +0 -0
htmlgraph/__init__.py
CHANGED
htmlgraph/hooks/event_tracker.py
CHANGED
|
@@ -638,6 +638,28 @@ def record_event_to_sqlite(
|
|
|
638
638
|
)
|
|
639
639
|
|
|
640
640
|
if success:
|
|
641
|
+
# Also insert into live_events for real-time WebSocket dashboard
|
|
642
|
+
try:
|
|
643
|
+
event_data = {
|
|
644
|
+
"tool": tool_name,
|
|
645
|
+
"summary": input_summary,
|
|
646
|
+
"success": not is_error,
|
|
647
|
+
"feature_id": feature_id,
|
|
648
|
+
"file_paths": file_paths,
|
|
649
|
+
"timestamp": datetime.now(timezone.utc).isoformat(),
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
db.insert_live_event(
|
|
653
|
+
event_type="tool_call",
|
|
654
|
+
event_data=event_data,
|
|
655
|
+
parent_event_id=parent_event_id,
|
|
656
|
+
session_id=session_id,
|
|
657
|
+
spawner_type=None,
|
|
658
|
+
)
|
|
659
|
+
except Exception as e:
|
|
660
|
+
# Don't fail the hook if live event insertion fails
|
|
661
|
+
logger.debug(f"Could not insert live event: {e}")
|
|
662
|
+
|
|
641
663
|
return event_id
|
|
642
664
|
return None
|
|
643
665
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: htmlgraph
|
|
3
|
-
Version: 0.28.
|
|
3
|
+
Version: 0.28.3
|
|
4
4
|
Summary: HTML is All You Need - Graph database on web standards
|
|
5
5
|
Project-URL: Homepage, https://github.com/Shakes-tzd/htmlgraph
|
|
6
6
|
Project-URL: Documentation, https://github.com/Shakes-tzd/htmlgraph#readme
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
htmlgraph/__init__.py,sha256=
|
|
1
|
+
htmlgraph/__init__.py,sha256=8P893mUSfrtPEcLSjmk103-aTJVwuok1JegO0nQq6pk,6595
|
|
2
2
|
htmlgraph/__init__.pyi,sha256=8JuFVuDll9jMx9s8ZQHt2tXic-geOJHiXUMB2YjmHhU,6683
|
|
3
3
|
htmlgraph/agent_detection.py,sha256=wEmrDv4hssPX2OkEnJZBHPbalxcaloiJF_hOOow_5WE,3511
|
|
4
4
|
htmlgraph/agent_registry.py,sha256=80TPYr4P0YMizPUbTH4N5wH6D84IKs-HPBLHGeeP6bY,9449
|
|
@@ -226,7 +226,7 @@ htmlgraph/hooks/cigs_pretool_enforcer.py,sha256=LC5y5IrKdTx2aq5ht5U7Tceq0k63-7EI
|
|
|
226
226
|
htmlgraph/hooks/concurrent_sessions.py,sha256=qOiwDfynphVG0-2pVBakEzOwMORU8ebN1gMjcN4S0z0,6476
|
|
227
227
|
htmlgraph/hooks/context.py,sha256=tJ4dIL8uTFHyqyuuMc-ETDuOikeD5cN3Mdjmfg6W0HE,13108
|
|
228
228
|
htmlgraph/hooks/drift_handler.py,sha256=UchkeVmjgI6J4NE4vKNTHsY6ZorvUHvp1FOfwTEY-Cs,17626
|
|
229
|
-
htmlgraph/hooks/event_tracker.py,sha256=
|
|
229
|
+
htmlgraph/hooks/event_tracker.py,sha256=ltvNwIYgkonWXyfynU8ZwHtIwBN_udT2Hw5VWoZdee4,54329
|
|
230
230
|
htmlgraph/hooks/git_commands.py,sha256=NPzthfzGJ_bkDi7soehHOxI9FLL-6BL8Tie9Byb_zf4,4803
|
|
231
231
|
htmlgraph/hooks/hooks-config.example.json,sha256=tXpk-U-FZzGOoNJK2uiDMbIHCYEHA794J-El0fBwkqg,197
|
|
232
232
|
htmlgraph/hooks/installer.py,sha256=NdZHOER7DHFyZYXiZIS-CgLt1ZUxJ4O4ju8HcPjJajs,11816
|
|
@@ -341,11 +341,11 @@ htmlgraph/templates/AGENTS.md.template,sha256=f96h7V6ygwj-v-fanVI48eYMxR6t_se4be
|
|
|
341
341
|
htmlgraph/templates/CLAUDE.md.template,sha256=h1kG2hTX2XYig2KszsHBfzrwa_4Cfcq2Pj4SwqzeDlM,1984
|
|
342
342
|
htmlgraph/templates/GEMINI.md.template,sha256=gAGzE53Avki87BM_otqy5HdcYCoLsHgqaKjVzNzPMX8,1622
|
|
343
343
|
htmlgraph/templates/orchestration-view.html,sha256=DlS7LlcjH0oO_KYILjuF1X42t8QhKLH4F85rkO54alY,10472
|
|
344
|
-
htmlgraph-0.28.
|
|
345
|
-
htmlgraph-0.28.
|
|
346
|
-
htmlgraph-0.28.
|
|
347
|
-
htmlgraph-0.28.
|
|
348
|
-
htmlgraph-0.28.
|
|
349
|
-
htmlgraph-0.28.
|
|
350
|
-
htmlgraph-0.28.
|
|
351
|
-
htmlgraph-0.28.
|
|
344
|
+
htmlgraph-0.28.3.data/data/htmlgraph/styles.css,sha256=oDUSC8jG-V-hKojOBO9J88hxAeY2wJrBYTq0uCwX_Y4,7135
|
|
345
|
+
htmlgraph-0.28.3.data/data/htmlgraph/templates/AGENTS.md.template,sha256=f96h7V6ygwj-v-fanVI48eYMxR6t_se4bet1H4ZsDpI,7642
|
|
346
|
+
htmlgraph-0.28.3.data/data/htmlgraph/templates/CLAUDE.md.template,sha256=h1kG2hTX2XYig2KszsHBfzrwa_4Cfcq2Pj4SwqzeDlM,1984
|
|
347
|
+
htmlgraph-0.28.3.data/data/htmlgraph/templates/GEMINI.md.template,sha256=gAGzE53Avki87BM_otqy5HdcYCoLsHgqaKjVzNzPMX8,1622
|
|
348
|
+
htmlgraph-0.28.3.dist-info/METADATA,sha256=hqEQnNLoHD9CzfE0x4S5eyv_BF7yWa2X_KQRFDbqC9s,10220
|
|
349
|
+
htmlgraph-0.28.3.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
350
|
+
htmlgraph-0.28.3.dist-info/entry_points.txt,sha256=Wmdo5cx8pt6NoMsssVE2mZH1CZLSUsrg_3iSWatiyn0,103
|
|
351
|
+
htmlgraph-0.28.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|