htmlgraph 0.26.7__py3-none-any.whl → 0.26.8__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 +9 -0
- {htmlgraph-0.26.7.dist-info → htmlgraph-0.26.8.dist-info}/METADATA +1 -1
- {htmlgraph-0.26.7.dist-info → htmlgraph-0.26.8.dist-info}/RECORD +11 -11
- {htmlgraph-0.26.7.data → htmlgraph-0.26.8.data}/data/htmlgraph/dashboard.html +0 -0
- {htmlgraph-0.26.7.data → htmlgraph-0.26.8.data}/data/htmlgraph/styles.css +0 -0
- {htmlgraph-0.26.7.data → htmlgraph-0.26.8.data}/data/htmlgraph/templates/AGENTS.md.template +0 -0
- {htmlgraph-0.26.7.data → htmlgraph-0.26.8.data}/data/htmlgraph/templates/CLAUDE.md.template +0 -0
- {htmlgraph-0.26.7.data → htmlgraph-0.26.8.data}/data/htmlgraph/templates/GEMINI.md.template +0 -0
- {htmlgraph-0.26.7.dist-info → htmlgraph-0.26.8.dist-info}/WHEEL +0 -0
- {htmlgraph-0.26.7.dist-info → htmlgraph-0.26.8.dist-info}/entry_points.txt +0 -0
htmlgraph/__init__.py
CHANGED
htmlgraph/hooks/event_tracker.py
CHANGED
|
@@ -353,6 +353,7 @@ def detect_model_from_hook_input(hook_input: dict[str, Any]) -> str | None:
|
|
|
353
353
|
1. Task() model parameter (if tool_name == 'Task')
|
|
354
354
|
2. HTMLGRAPH_MODEL environment variable (set by hooks)
|
|
355
355
|
3. ANTHROPIC_MODEL or CLAUDE_MODEL environment variables
|
|
356
|
+
4. Status line cache (for orchestrator tool calls)
|
|
356
357
|
|
|
357
358
|
Args:
|
|
358
359
|
hook_input: Hook input dict containing tool_name and tool_input
|
|
@@ -386,6 +387,14 @@ def detect_model_from_hook_input(hook_input: dict[str, Any]) -> str | None:
|
|
|
386
387
|
if model:
|
|
387
388
|
return model
|
|
388
389
|
|
|
390
|
+
# 3. Fallback to status line cache for orchestrator's own tool calls
|
|
391
|
+
# This gives regular tool calls (Bash, Read, etc.) the model of the orchestrator
|
|
392
|
+
session_id = hook_input.get("session_id") or hook_input.get("sessionId")
|
|
393
|
+
if session_id:
|
|
394
|
+
model_from_cache = get_model_from_status_cache(session_id)
|
|
395
|
+
if model_from_cache:
|
|
396
|
+
return model_from_cache
|
|
397
|
+
|
|
389
398
|
return None
|
|
390
399
|
|
|
391
400
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: htmlgraph
|
|
3
|
-
Version: 0.26.
|
|
3
|
+
Version: 0.26.8
|
|
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=VlMPulv-E2wUpc1JyCBgQaUfT5I703Ps6mAwStXmPOg,5717
|
|
2
2
|
htmlgraph/agent_detection.py,sha256=wEmrDv4hssPX2OkEnJZBHPbalxcaloiJF_hOOow_5WE,3511
|
|
3
3
|
htmlgraph/agent_registry.py,sha256=Usa_35by7p5gtpvHO7K3AcGimnorw-FzgPVa3cWTQ58,9448
|
|
4
4
|
htmlgraph/agents.py,sha256=Yvu6x1nOfrW2WhRTAHiCuSpvqoVJXx1Mkzd59kwEczw,33466
|
|
@@ -189,7 +189,7 @@ htmlgraph/hooks/cigs_pretool_enforcer.py,sha256=Lyp4DDaw_sVHEcW-kzdegldyfXjvVD25
|
|
|
189
189
|
htmlgraph/hooks/concurrent_sessions.py,sha256=qOiwDfynphVG0-2pVBakEzOwMORU8ebN1gMjcN4S0z0,6476
|
|
190
190
|
htmlgraph/hooks/context.py,sha256=tJ4dIL8uTFHyqyuuMc-ETDuOikeD5cN3Mdjmfg6W0HE,13108
|
|
191
191
|
htmlgraph/hooks/drift_handler.py,sha256=QckL5U5ooku51kI6mppGLsXzaKVt1Yx5uNu-iXZrgSk,17602
|
|
192
|
-
htmlgraph/hooks/event_tracker.py,sha256=
|
|
192
|
+
htmlgraph/hooks/event_tracker.py,sha256=CxtATnOE3b8U0DeLVXUAeAmwD5CU256gNnKVXgHuBOg,55872
|
|
193
193
|
htmlgraph/hooks/git_commands.py,sha256=NPzthfzGJ_bkDi7soehHOxI9FLL-6BL8Tie9Byb_zf4,4803
|
|
194
194
|
htmlgraph/hooks/hooks-config.example.json,sha256=tXpk-U-FZzGOoNJK2uiDMbIHCYEHA794J-El0fBwkqg,197
|
|
195
195
|
htmlgraph/hooks/installer.py,sha256=nOctCFDEV7BEh7ZzxNY-apu1KZG0SHPMq74UPIOChqY,11756
|
|
@@ -249,12 +249,12 @@ htmlgraph/templates/AGENTS.md.template,sha256=f96h7V6ygwj-v-fanVI48eYMxR6t_se4be
|
|
|
249
249
|
htmlgraph/templates/CLAUDE.md.template,sha256=h1kG2hTX2XYig2KszsHBfzrwa_4Cfcq2Pj4SwqzeDlM,1984
|
|
250
250
|
htmlgraph/templates/GEMINI.md.template,sha256=gAGzE53Avki87BM_otqy5HdcYCoLsHgqaKjVzNzPMX8,1622
|
|
251
251
|
htmlgraph/templates/orchestration-view.html,sha256=DlS7LlcjH0oO_KYILjuF1X42t8QhKLH4F85rkO54alY,10472
|
|
252
|
-
htmlgraph-0.26.
|
|
253
|
-
htmlgraph-0.26.
|
|
254
|
-
htmlgraph-0.26.
|
|
255
|
-
htmlgraph-0.26.
|
|
256
|
-
htmlgraph-0.26.
|
|
257
|
-
htmlgraph-0.26.
|
|
258
|
-
htmlgraph-0.26.
|
|
259
|
-
htmlgraph-0.26.
|
|
260
|
-
htmlgraph-0.26.
|
|
252
|
+
htmlgraph-0.26.8.data/data/htmlgraph/dashboard.html,sha256=MUT6SaYnazoyDcvHz5hN1omYswyIoUfeoZLf2M_iblo,251268
|
|
253
|
+
htmlgraph-0.26.8.data/data/htmlgraph/styles.css,sha256=oDUSC8jG-V-hKojOBO9J88hxAeY2wJrBYTq0uCwX_Y4,7135
|
|
254
|
+
htmlgraph-0.26.8.data/data/htmlgraph/templates/AGENTS.md.template,sha256=f96h7V6ygwj-v-fanVI48eYMxR6t_se4bet1H4ZsDpI,7642
|
|
255
|
+
htmlgraph-0.26.8.data/data/htmlgraph/templates/CLAUDE.md.template,sha256=h1kG2hTX2XYig2KszsHBfzrwa_4Cfcq2Pj4SwqzeDlM,1984
|
|
256
|
+
htmlgraph-0.26.8.data/data/htmlgraph/templates/GEMINI.md.template,sha256=gAGzE53Avki87BM_otqy5HdcYCoLsHgqaKjVzNzPMX8,1622
|
|
257
|
+
htmlgraph-0.26.8.dist-info/METADATA,sha256=ELqBwsN77Qn3C0JeRDK7UNNdXs9LhD7dxWZp4XdPuVM,10236
|
|
258
|
+
htmlgraph-0.26.8.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
259
|
+
htmlgraph-0.26.8.dist-info/entry_points.txt,sha256=Wmdo5cx8pt6NoMsssVE2mZH1CZLSUsrg_3iSWatiyn0,103
|
|
260
|
+
htmlgraph-0.26.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|