htmlgraph 0.28.4__py3-none-any.whl → 0.28.5__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/pretooluse.py +5 -1
- {htmlgraph-0.28.4.dist-info → htmlgraph-0.28.5.dist-info}/METADATA +1 -1
- {htmlgraph-0.28.4.dist-info → htmlgraph-0.28.5.dist-info}/RECORD +10 -10
- {htmlgraph-0.28.4.data → htmlgraph-0.28.5.data}/data/htmlgraph/styles.css +0 -0
- {htmlgraph-0.28.4.data → htmlgraph-0.28.5.data}/data/htmlgraph/templates/AGENTS.md.template +0 -0
- {htmlgraph-0.28.4.data → htmlgraph-0.28.5.data}/data/htmlgraph/templates/CLAUDE.md.template +0 -0
- {htmlgraph-0.28.4.data → htmlgraph-0.28.5.data}/data/htmlgraph/templates/GEMINI.md.template +0 -0
- {htmlgraph-0.28.4.dist-info → htmlgraph-0.28.5.dist-info}/WHEEL +0 -0
- {htmlgraph-0.28.4.dist-info → htmlgraph-0.28.5.dist-info}/entry_points.txt +0 -0
htmlgraph/__init__.py
CHANGED
htmlgraph/hooks/pretooluse.py
CHANGED
|
@@ -33,6 +33,7 @@ from datetime import datetime, timezone
|
|
|
33
33
|
from typing import Any
|
|
34
34
|
|
|
35
35
|
from htmlgraph.db.schema import HtmlGraphDB
|
|
36
|
+
from htmlgraph.hooks.event_tracker import format_tool_summary
|
|
36
37
|
from htmlgraph.hooks.orchestrator import enforce_orchestrator_mode
|
|
37
38
|
from htmlgraph.hooks.task_enforcer import enforce_task_saving
|
|
38
39
|
from htmlgraph.hooks.validator import (
|
|
@@ -409,6 +410,9 @@ def create_start_event(
|
|
|
409
410
|
# Top-level context: tools are children of UserQuery
|
|
410
411
|
parent_event_id = user_query_event_id
|
|
411
412
|
|
|
413
|
+
# Format summary using format_tool_summary for human-readable output
|
|
414
|
+
input_summary = format_tool_summary(tool_name, sanitized_input)
|
|
415
|
+
|
|
412
416
|
cursor.execute(
|
|
413
417
|
"""
|
|
414
418
|
INSERT INTO agent_events
|
|
@@ -422,7 +426,7 @@ def create_start_event(
|
|
|
422
426
|
"tool_call",
|
|
423
427
|
start_time,
|
|
424
428
|
tool_name,
|
|
425
|
-
|
|
429
|
+
input_summary,
|
|
426
430
|
session_id,
|
|
427
431
|
"recorded",
|
|
428
432
|
parent_event_id, # Link to UserQuery or Task parent
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: htmlgraph
|
|
3
|
-
Version: 0.28.
|
|
3
|
+
Version: 0.28.5
|
|
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=HU41v-lRPiRJJc-IpYk8_PBxeF92G4IFPl1uuzIMH4U,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
|
|
@@ -240,7 +240,7 @@ htmlgraph/hooks/post_tool_use_handler.py,sha256=e0L8X4sU2H167HH96CgV6iYojd02AI9u
|
|
|
240
240
|
htmlgraph/hooks/posttooluse.py,sha256=DEZqGMiSAMijHd_W1BQ9WplSKu-kSj3WZ1DjudPUZSs,12876
|
|
241
241
|
htmlgraph/hooks/pre-commit.sh,sha256=gTpbnHIBFxpAl7-REhXoS0NI4Pmlqo9pQEMEngTAU_A,3865
|
|
242
242
|
htmlgraph/hooks/pre-push.sh,sha256=rNnkG8YmDtyk7OuJHOcbOYQR3MYFneaG6_w2X-Hl8Hs,660
|
|
243
|
-
htmlgraph/hooks/pretooluse.py,sha256=
|
|
243
|
+
htmlgraph/hooks/pretooluse.py,sha256=Bbz6lxlVTgnnOhc4z0lT9KoGVXXw2F4GuHibKrqTTYo,27495
|
|
244
244
|
htmlgraph/hooks/prompt_analyzer.py,sha256=icvcF58SoYgCl-6V9OvY3dacptfyKtb95Gg6P_DoKd0,22834
|
|
245
245
|
htmlgraph/hooks/session_handler.py,sha256=dQJCiK14-YkRc7poDgChZxb_rOr8Hhb0uqp0VnV2Z-U,21695
|
|
246
246
|
htmlgraph/hooks/session_summary.py,sha256=YU5TF_eVbmQ3y3BS31XlLBGHjayJTd0LX2qds1myzmA,13093
|
|
@@ -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.5.data/data/htmlgraph/styles.css,sha256=oDUSC8jG-V-hKojOBO9J88hxAeY2wJrBYTq0uCwX_Y4,7135
|
|
345
|
+
htmlgraph-0.28.5.data/data/htmlgraph/templates/AGENTS.md.template,sha256=f96h7V6ygwj-v-fanVI48eYMxR6t_se4bet1H4ZsDpI,7642
|
|
346
|
+
htmlgraph-0.28.5.data/data/htmlgraph/templates/CLAUDE.md.template,sha256=h1kG2hTX2XYig2KszsHBfzrwa_4Cfcq2Pj4SwqzeDlM,1984
|
|
347
|
+
htmlgraph-0.28.5.data/data/htmlgraph/templates/GEMINI.md.template,sha256=gAGzE53Avki87BM_otqy5HdcYCoLsHgqaKjVzNzPMX8,1622
|
|
348
|
+
htmlgraph-0.28.5.dist-info/METADATA,sha256=L8IPl5GEHE1c7uPv7PedHEYx8qPmim1cELBZRuL2Rdg,10220
|
|
349
|
+
htmlgraph-0.28.5.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
350
|
+
htmlgraph-0.28.5.dist-info/entry_points.txt,sha256=Wmdo5cx8pt6NoMsssVE2mZH1CZLSUsrg_3iSWatiyn0,103
|
|
351
|
+
htmlgraph-0.28.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|