contextspy 0.3.3__tar.gz → 0.3.4__tar.gz

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 (57) hide show
  1. {contextspy-0.3.3/contextspy.egg-info → contextspy-0.3.4}/PKG-INFO +2 -2
  2. {contextspy-0.3.3 → contextspy-0.3.4}/README.md +1 -1
  3. contextspy-0.3.3/contextspy/_web/assets/index-DQIX0jqc.js → contextspy-0.3.4/contextspy/_web/assets/index-OIK1FDea.js +61 -61
  4. contextspy-0.3.3/contextspy/_web/assets/index.es-C8RJzrqu.js → contextspy-0.3.4/contextspy/_web/assets/index.es-B9-OOQLd.js +1 -1
  5. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/_web/index.html +1 -1
  6. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/analysis/tokenizer.py +15 -3
  7. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/cli.py +11 -0
  8. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/db/models.py +5 -1
  9. {contextspy-0.3.3 → contextspy-0.3.4/contextspy.egg-info}/PKG-INFO +2 -2
  10. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy.egg-info/SOURCES.txt +2 -2
  11. {contextspy-0.3.3 → contextspy-0.3.4}/pyproject.toml +1 -1
  12. {contextspy-0.3.3 → contextspy-0.3.4}/LICENSE +0 -0
  13. {contextspy-0.3.3 → contextspy-0.3.4}/MANIFEST.in +0 -0
  14. {contextspy-0.3.3 → contextspy-0.3.4}/NOTICE +0 -0
  15. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/__init__.py +0 -0
  16. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/__main__.py +0 -0
  17. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/_web/assets/html2canvas.esm-QH1iLAAe.js +0 -0
  18. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/_web/assets/index-FayXiIvY.css +0 -0
  19. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/_web/assets/purify.es-BaNf_EpD.js +0 -0
  20. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/_web/logo_small_wl.png +0 -0
  21. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/analysis/__init__.py +0 -0
  22. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/analysis/adapters/__init__.py +0 -0
  23. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/analysis/adapters/anthropic.py +0 -0
  24. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/analysis/adapters/base.py +0 -0
  25. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/analysis/adapters/ollama.py +0 -0
  26. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/analysis/adapters/openai_chat.py +0 -0
  27. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/analysis/adapters/openai_responses.py +0 -0
  28. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/analysis/blocks.py +0 -0
  29. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/analysis/classifier.py +0 -0
  30. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/api/__init__.py +0 -0
  31. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/api/main.py +0 -0
  32. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/api/routers/__init__.py +0 -0
  33. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/api/routers/proxy.py +0 -0
  34. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/api/routers/requests.py +0 -0
  35. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/api/routers/sessions.py +0 -0
  36. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/api/routers/stats.py +0 -0
  37. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/api/routers/tokenize.py +0 -0
  38. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/api/websocket.py +0 -0
  39. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/config.py +0 -0
  40. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/db/__init__.py +0 -0
  41. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/db/crud.py +0 -0
  42. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/db/database.py +0 -0
  43. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/db/migrations.py +0 -0
  44. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/proxy/__init__.py +0 -0
  45. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/proxy/addon.py +0 -0
  46. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/proxy/cert.py +0 -0
  47. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/proxy/runner.py +0 -0
  48. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/proxy/ws_protocols/__init__.py +0 -0
  49. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/proxy/ws_protocols/base.py +0 -0
  50. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy/proxy/ws_protocols/codex.py +0 -0
  51. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy.egg-info/dependency_links.txt +0 -0
  52. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy.egg-info/entry_points.txt +0 -0
  53. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy.egg-info/requires.txt +0 -0
  54. {contextspy-0.3.3 → contextspy-0.3.4}/contextspy.egg-info/top_level.txt +0 -0
  55. {contextspy-0.3.3 → contextspy-0.3.4}/setup.cfg +0 -0
  56. {contextspy-0.3.3 → contextspy-0.3.4}/tests/test_providers.py +0 -0
  57. {contextspy-0.3.3 → contextspy-0.3.4}/tests/test_ws_protocols.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: contextspy
3
- Version: 0.3.3
3
+ Version: 0.3.4
4
4
  Summary: Context profiler for LLMs and AI agents - used to inspect context conents and reduce token costs
5
5
  Author-email: Rimantas Zukaitis <rimasz@gmail.com>
6
6
  License:
@@ -379,7 +379,7 @@ derived data for existing requests), `contextspy start` will print a warning —
379
379
  | CLI | [Typer](https://typer.tiangolo.com/) |
380
380
  | Proxy | [mitmproxy](https://mitmproxy.org/) — TLS-terminating forward proxy (cloud) and reverse proxy (local) |
381
381
  | Storage | SQLite via [SQLAlchemy](https://www.sqlalchemy.org/) — all data local in `~/.contextspy/` |
382
- | Tokenizer | [tiktoken](https://github.com/openai/tiktoken) (`cl100k_base`) for token estimation |
382
+ | Tokenizer | [tiktoken](https://github.com/openai/tiktoken) (`o200k_base`) for token estimation |
383
383
  | Packaging | [uv](https://github.com/astral-sh/uv), Homebrew tap, `.deb`, standalone binary |
384
384
 
385
385
  ## Features
@@ -141,7 +141,7 @@ derived data for existing requests), `contextspy start` will print a warning —
141
141
  | CLI | [Typer](https://typer.tiangolo.com/) |
142
142
  | Proxy | [mitmproxy](https://mitmproxy.org/) — TLS-terminating forward proxy (cloud) and reverse proxy (local) |
143
143
  | Storage | SQLite via [SQLAlchemy](https://www.sqlalchemy.org/) — all data local in `~/.contextspy/` |
144
- | Tokenizer | [tiktoken](https://github.com/openai/tiktoken) (`cl100k_base`) for token estimation |
144
+ | Tokenizer | [tiktoken](https://github.com/openai/tiktoken) (`o200k_base`) for token estimation |
145
145
  | Packaging | [uv](https://github.com/astral-sh/uv), Homebrew tap, `.deb`, standalone binary |
146
146
 
147
147
  ## Features