Skip to content

Releases: ritenv/tokensift

v1.5.0

Choose a tag to compare

@github-actions github-actions released this 07 Sep 07:16
ef17c7d

Minor Changes

  • 63f7e15: Add below-cache-minimum rule (D2): flags a dyn()-marked prompt whose static prefix is shorter than the model's real minimum cacheable length, so it can never be cached regardless of ordering

v1.4.0

Choose a tag to compare

@github-actions github-actions released this 01 Sep 10:12
21e10b8

Minor Changes

  • 7364a55: Add cache-buster rule: flags dynamic content placed before a large static block, which blocks that block from ever being cached under provider prompt caching's exact-prefix matching

v1.3.0

Choose a tag to compare

@github-actions github-actions released this 28 Aug 09:39
003456d

Minor Changes

  • 54dc794: Add --version/-v and --help/-h flags to the CLI, and print help when invoked with no arguments

v1.2.1

Choose a tag to compare

@github-actions github-actions released this 26 Aug 07:10
7cf74f7

Patch Changes

  • 0ddf3b8: Fix base64-blob false positive on long CamelCase identifiers

v1.2.0

Choose a tag to compare

@github-actions github-actions released this 24 Aug 11:08
2ab153c

Minor Changes

  • 6eab963: List supported models when model is ommitted from pricing

v1.1.0

Choose a tag to compare

@github-actions github-actions released this 20 Aug 18:05
f1fcfd3

Minor Changes

  • 0957f1e: Add support for all current GPT models

v1.0.1

Choose a tag to compare

@github-actions github-actions released this 17 Aug 05:43
d5ba0c4

Patch Changes

  • 380894f: Improve html-whitesace rule

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 15 Aug 09:30
407ddc8

tokensift

0.18.0

Minor Changes

  • 09e21f6: Add encoder-mismatch rule

0.17.1

Patch Changes

0.17.0

Minor Changes

0.16.1

Patch Changes

  • 31d1dd5: Update readme to mention support for providers

0.16.0

Minor Changes

0.15.0

Minor Changes

  • e2bf3b9: Add markdown and github reporters

0.14.0

Minor Changes

  • 93079b0: Add init command to start the config file

0.13.0

Minor Changes

  • 64d91fe: - Add budget library function, similar to the command line one
    • builtInRules automatically apply when no rules are provided when running analyze
    • Add ability to provide custom rules

0.12.1

Patch Changes

  • ea7b073: Add property tests for applyFixes

0.12.0

Minor Changes

  • 7f3ad74: Add property-based testing

0.11.0

Minor Changes

  • a72d068: Improve accuracy of multiple rules

0.10.0

Minor Changes

  • 0eb1a8a: Fixes over-reporting due to malformed JSON parsing inaccuracies

0.9.1

Patch Changes

0.9.0

Minor Changes

  • 191216d: Add cost savings to the analysis, fix repeated-block

0.8.1

Patch Changes

0.8.0

Minor Changes

  • 2a75db8: Adds support for anthropic token estimation via calibrated token counts

0.7.0

Minor Changes

  • fc14847: Add matchers for testing

0.6.0

Minor Changes

  • 9b55709: Adds budget and check cli commands, and regression rule

0.5.0

Minor Changes

  • 74f41ec: Adds a CLI tokensift command to analyze files and globs

0.4.0

Minor Changes

  • 5e0b39f: Added more rules, add budget, and add ability to disable autofix

0.3.0

Minor Changes

  • c41423c: Added 5 more rules: base64-blob, high-entropy-string, digit-fragmentation, duplicate-message-content, filler

0.2.0

Minor Changes

  • 79d1d01: Added more rules for saving tokens

v0.18.0

Choose a tag to compare

@github-actions github-actions released this 15 Aug 05:07
1da3239

Minor Changes

  • 09e21f6: Add encoder-mismatch rule

v0.17.1

Choose a tag to compare

@github-actions github-actions released this 13 Aug 09:39
ea9ac03

Patch Changes