cc-transcript 11.0.0__tar.gz → 12.0.0__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 (85) hide show
  1. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/Cargo.lock +15 -363
  2. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/PKG-INFO +1 -4
  3. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/_parser_rs.pyi +6 -6
  4. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/sentiment/__init__.py +4 -4
  5. cc_transcript-12.0.0/cc_transcript/sentiment/data/domain_overrides.tsv +64 -0
  6. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/sentiment/engine.py +2 -14
  7. cc_transcript-12.0.0/cc_transcript/sentiment/lexicon.py +91 -0
  8. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/sentiment/scorespec.py +17 -22
  9. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/pyproject.toml +2 -5
  10. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/rust/Cargo.toml +2 -4
  11. cc_transcript-12.0.0/rust/data/command_prefix_pins.tsv +40 -0
  12. cc_transcript-12.0.0/rust/rustfmt.toml +1 -0
  13. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/rust/src/activity.rs +101 -24
  14. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/rust/src/command.rs +36 -50
  15. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/rust/src/event.rs +82 -51
  16. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/rust/src/filter.rs +53 -15
  17. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/rust/src/generated/mod.rs +1 -0
  18. cc_transcript-12.0.0/rust/src/generated/unicode.rs +665 -0
  19. cc_transcript-12.0.0/rust/src/lexicon.rs +127 -0
  20. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/rust/src/mining.rs +265 -79
  21. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/rust/src/parse.rs +77 -43
  22. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/rust/src/protocol.rs +52 -17
  23. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/rust/src/python.rs +60 -22
  24. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/rust/src/score.rs +88 -27
  25. cc_transcript-11.0.0/cc_transcript/sentiment/lexicon.py +0 -191
  26. cc_transcript-11.0.0/rust/data/domain_overrides.tsv +0 -38
  27. cc_transcript-11.0.0/rust/src/lexicon.rs +0 -108
  28. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/Cargo.toml +0 -0
  29. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/LICENSE +0 -0
  30. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/README.md +0 -0
  31. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/__init__.py +0 -0
  32. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/__main__.py +0 -0
  33. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/activity.py +0 -0
  34. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/activity_probe.py +0 -0
  35. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/backend.py +0 -0
  36. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/builders.py +0 -0
  37. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/cli.py +0 -0
  38. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/command.py +0 -0
  39. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/context.py +0 -0
  40. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/corrections.py +0 -0
  41. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/corrections_cli.py +0 -0
  42. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/cost.py +0 -0
  43. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/decisions.py +0 -0
  44. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/discovery.py +0 -0
  45. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/disktruth.py +0 -0
  46. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/evidence.py +0 -0
  47. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/extract/__init__.py +0 -0
  48. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/extract/correct.py +0 -0
  49. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/facts.py +0 -0
  50. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/filterspec.py +0 -0
  51. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/ids.py +0 -0
  52. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/judge/__init__.py +0 -0
  53. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/judge/llm.py +0 -0
  54. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/judge/similar.py +0 -0
  55. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/judge/verdicts.py +0 -0
  56. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/ledger.py +0 -0
  57. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/mining/__init__.py +0 -0
  58. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/mining/candidates.py +0 -0
  59. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/mining/confidence.py +0 -0
  60. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/mining/engine.py +0 -0
  61. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/mining/filterspec.py +0 -0
  62. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/mining/formats.py +0 -0
  63. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/mining/signals.py +0 -0
  64. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/mining/sourcekind.py +0 -0
  65. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/mining/spec.py +0 -0
  66. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/mining/store.py +0 -0
  67. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/models.py +0 -0
  68. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/notifications.py +0 -0
  69. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/parser.py +0 -0
  70. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/py.typed +0 -0
  71. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/query.py +0 -0
  72. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/render.py +0 -0
  73. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/rust.py +0 -0
  74. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/sentiment/buckets.py +0 -0
  75. {cc_transcript-11.0.0/rust → cc_transcript-12.0.0/cc_transcript/sentiment}/data/afinn-en-165.tsv +0 -0
  76. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/store.py +0 -0
  77. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/cc_transcript/tools.py +0 -0
  78. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/rust/build.rs +0 -0
  79. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/rust/src/generated/command.rs +0 -0
  80. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/rust/src/generated/mining.rs +0 -0
  81. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/rust/src/generated/protocol.rs +0 -0
  82. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/rust/src/lib.rs +0 -0
  83. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/rust/src/model.rs +0 -0
  84. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/rust/src/types.rs +0 -0
  85. {cc_transcript-11.0.0 → cc_transcript-12.0.0}/rust/src/value.rs +0 -0
@@ -2,12 +2,6 @@
2
2
  # It is not intended for manual editing.
3
3
  version = 4
4
4
 
5
- [[package]]
6
- name = "adler2"
7
- version = "2.0.1"
8
- source = "registry+https://github.com/rust-lang/crates.io-index"
9
- checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
10
-
11
5
  [[package]]
12
6
  name = "ahash"
13
7
  version = "0.8.12"
@@ -15,7 +9,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
15
9
  checksum = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75"
16
10
  dependencies = [
17
11
  "cfg-if",
18
- "getrandom 0.3.4",
12
+ "getrandom",
19
13
  "once_cell",
20
14
  "version_check",
21
15
  "zerocopy",
@@ -36,12 +30,6 @@ version = "1.5.1"
36
30
  source = "registry+https://github.com/rust-lang/crates.io-index"
37
31
  checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
38
32
 
39
- [[package]]
40
- name = "base64"
41
- version = "0.22.1"
42
- source = "registry+https://github.com/rust-lang/crates.io-index"
43
- checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
44
-
45
33
  [[package]]
46
34
  name = "bitflags"
47
35
  version = "2.13.0"
@@ -76,7 +64,6 @@ version = "0.9.0"
76
64
  dependencies = [
77
65
  "chrono",
78
66
  "crossbeam-channel",
79
- "dirs",
80
67
  "memchr",
81
68
  "num_cpus",
82
69
  "once_cell",
@@ -87,7 +74,6 @@ dependencies = [
87
74
  "sonic-rs",
88
75
  "tree-sitter",
89
76
  "tree-sitter-bash",
90
- "udpipe-rs",
91
77
  ]
92
78
 
93
79
  [[package]]
@@ -114,15 +100,6 @@ dependencies = [
114
100
  "num-traits",
115
101
  ]
116
102
 
117
- [[package]]
118
- name = "crc32fast"
119
- version = "1.5.0"
120
- source = "registry+https://github.com/rust-lang/crates.io-index"
121
- checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511"
122
- dependencies = [
123
- "cfg-if",
124
- ]
125
-
126
103
  [[package]]
127
104
  name = "crossbeam-channel"
128
105
  version = "0.5.15"
@@ -157,27 +134,6 @@ version = "0.8.21"
157
134
  source = "registry+https://github.com/rust-lang/crates.io-index"
158
135
  checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
159
136
 
160
- [[package]]
161
- name = "dirs"
162
- version = "5.0.1"
163
- source = "registry+https://github.com/rust-lang/crates.io-index"
164
- checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225"
165
- dependencies = [
166
- "dirs-sys",
167
- ]
168
-
169
- [[package]]
170
- name = "dirs-sys"
171
- version = "0.4.1"
172
- source = "registry+https://github.com/rust-lang/crates.io-index"
173
- checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c"
174
- dependencies = [
175
- "libc",
176
- "option-ext",
177
- "redox_users",
178
- "windows-sys 0.48.0",
179
- ]
180
-
181
137
  [[package]]
182
138
  name = "either"
183
139
  version = "1.16.0"
@@ -197,7 +153,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
197
153
  checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
198
154
  dependencies = [
199
155
  "libc",
200
- "windows-sys 0.52.0",
156
+ "windows-sys",
201
157
  ]
202
158
 
203
159
  [[package]]
@@ -224,16 +180,6 @@ version = "0.1.9"
224
180
  source = "registry+https://github.com/rust-lang/crates.io-index"
225
181
  checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582"
226
182
 
227
- [[package]]
228
- name = "flate2"
229
- version = "1.1.9"
230
- source = "registry+https://github.com/rust-lang/crates.io-index"
231
- checksum = "843fba2746e448b37e26a819579957415c8cef339bf08564fe8b7ddbd959573c"
232
- dependencies = [
233
- "crc32fast",
234
- "miniz_oxide",
235
- ]
236
-
237
183
  [[package]]
238
184
  name = "futures-core"
239
185
  version = "0.3.32"
@@ -258,17 +204,6 @@ dependencies = [
258
204
  "slab",
259
205
  ]
260
206
 
261
- [[package]]
262
- name = "getrandom"
263
- version = "0.2.17"
264
- source = "registry+https://github.com/rust-lang/crates.io-index"
265
- checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0"
266
- dependencies = [
267
- "cfg-if",
268
- "libc",
269
- "wasi",
270
- ]
271
-
272
207
  [[package]]
273
208
  name = "getrandom"
274
209
  version = "0.3.4"
@@ -299,22 +234,6 @@ version = "0.5.2"
299
234
  source = "registry+https://github.com/rust-lang/crates.io-index"
300
235
  checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c"
301
236
 
302
- [[package]]
303
- name = "http"
304
- version = "1.4.2"
305
- source = "registry+https://github.com/rust-lang/crates.io-index"
306
- checksum = "6970f50e31d6fc17d3fa27329444bfa74e196cf62e95052a3f6fee181dba6425"
307
- dependencies = [
308
- "bytes",
309
- "itoa",
310
- ]
311
-
312
- [[package]]
313
- name = "httparse"
314
- version = "1.10.1"
315
- source = "registry+https://github.com/rust-lang/crates.io-index"
316
- checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
317
-
318
237
  [[package]]
319
238
  name = "indexmap"
320
239
  version = "2.14.0"
@@ -349,43 +268,18 @@ version = "0.2.186"
349
268
  source = "registry+https://github.com/rust-lang/crates.io-index"
350
269
  checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
351
270
 
352
- [[package]]
353
- name = "libredox"
354
- version = "0.1.17"
355
- source = "registry+https://github.com/rust-lang/crates.io-index"
356
- checksum = "f02ab6bace2054fb888a3c16f990117b579d14a3088e472d63c6011fa185c9d3"
357
- dependencies = [
358
- "libc",
359
- ]
360
-
361
271
  [[package]]
362
272
  name = "linux-raw-sys"
363
273
  version = "0.12.1"
364
274
  source = "registry+https://github.com/rust-lang/crates.io-index"
365
275
  checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53"
366
276
 
367
- [[package]]
368
- name = "log"
369
- version = "0.4.32"
370
- source = "registry+https://github.com/rust-lang/crates.io-index"
371
- checksum = "953f07c43838f8e6f9758cab68bf5bed85465e7587ebe0b823f1bcd81978ad3a"
372
-
373
277
  [[package]]
374
278
  name = "memchr"
375
279
  version = "2.8.1"
376
280
  source = "registry+https://github.com/rust-lang/crates.io-index"
377
281
  checksum = "6b947ae49db0d222b1dbc6b113ce7248a3fc3a6ca21b696717bfc000ba4484d8"
378
282
 
379
- [[package]]
380
- name = "miniz_oxide"
381
- version = "0.8.9"
382
- source = "registry+https://github.com/rust-lang/crates.io-index"
383
- checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316"
384
- dependencies = [
385
- "adler2",
386
- "simd-adler32",
387
- ]
388
-
389
283
  [[package]]
390
284
  name = "munge"
391
285
  version = "0.4.7"
@@ -431,18 +325,6 @@ version = "1.21.4"
431
325
  source = "registry+https://github.com/rust-lang/crates.io-index"
432
326
  checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
433
327
 
434
- [[package]]
435
- name = "option-ext"
436
- version = "0.2.0"
437
- source = "registry+https://github.com/rust-lang/crates.io-index"
438
- checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d"
439
-
440
- [[package]]
441
- name = "percent-encoding"
442
- version = "2.3.2"
443
- source = "registry+https://github.com/rust-lang/crates.io-index"
444
- checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220"
445
-
446
328
  [[package]]
447
329
  name = "pin-project-lite"
448
330
  version = "0.2.17"
@@ -587,17 +469,6 @@ dependencies = [
587
469
  "crossbeam-utils",
588
470
  ]
589
471
 
590
- [[package]]
591
- name = "redox_users"
592
- version = "0.4.6"
593
- source = "registry+https://github.com/rust-lang/crates.io-index"
594
- checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43"
595
- dependencies = [
596
- "getrandom 0.2.17",
597
- "libredox",
598
- "thiserror 1.0.69",
599
- ]
600
-
601
472
  [[package]]
602
473
  name = "ref-cast"
603
474
  version = "1.0.25"
@@ -653,20 +524,6 @@ version = "0.5.3"
653
524
  source = "registry+https://github.com/rust-lang/crates.io-index"
654
525
  checksum = "cadadef317c2f20755a64d7fdc48f9e7178ee6b0e1f7fce33fa60f1d68a276e6"
655
526
 
656
- [[package]]
657
- name = "ring"
658
- version = "0.17.14"
659
- source = "registry+https://github.com/rust-lang/crates.io-index"
660
- checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7"
661
- dependencies = [
662
- "cc",
663
- "cfg-if",
664
- "getrandom 0.2.17",
665
- "libc",
666
- "untrusted",
667
- "windows-sys 0.52.0",
668
- ]
669
-
670
527
  [[package]]
671
528
  name = "rkyv"
672
529
  version = "0.8.16"
@@ -706,42 +563,7 @@ dependencies = [
706
563
  "errno",
707
564
  "libc",
708
565
  "linux-raw-sys",
709
- "windows-sys 0.52.0",
710
- ]
711
-
712
- [[package]]
713
- name = "rustls"
714
- version = "0.23.40"
715
- source = "registry+https://github.com/rust-lang/crates.io-index"
716
- checksum = "ef86cd5876211988985292b91c96a8f2d298df24e75989a43a3c73f2d4d8168b"
717
- dependencies = [
718
- "log",
719
- "once_cell",
720
- "ring",
721
- "rustls-pki-types",
722
- "rustls-webpki",
723
- "subtle",
724
- "zeroize",
725
- ]
726
-
727
- [[package]]
728
- name = "rustls-pki-types"
729
- version = "1.14.1"
730
- source = "registry+https://github.com/rust-lang/crates.io-index"
731
- checksum = "30a7197ae7eb376e574fe940d068c30fe0462554a3ddbe4eca7838e049c937a9"
732
- dependencies = [
733
- "zeroize",
734
- ]
735
-
736
- [[package]]
737
- name = "rustls-webpki"
738
- version = "0.103.13"
739
- source = "registry+https://github.com/rust-lang/crates.io-index"
740
- checksum = "61c429a8649f110dddef65e2a5ad240f747e85f7758a6bccc7e5777bd33f756e"
741
- dependencies = [
742
- "ring",
743
- "rustls-pki-types",
744
- "untrusted",
566
+ "windows-sys",
745
567
  ]
746
568
 
747
569
  [[package]]
@@ -800,12 +622,6 @@ version = "2.0.1"
800
622
  source = "registry+https://github.com/rust-lang/crates.io-index"
801
623
  checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
802
624
 
803
- [[package]]
804
- name = "simd-adler32"
805
- version = "0.3.9"
806
- source = "registry+https://github.com/rust-lang/crates.io-index"
807
- checksum = "703d5c7ef118737c72f1af64ad2f6f8c5e1921f818cdcb97b8fe6fc69bf66214"
808
-
809
625
  [[package]]
810
626
  name = "simdutf8"
811
627
  version = "0.1.5"
@@ -844,7 +660,7 @@ dependencies = [
844
660
  "simdutf8",
845
661
  "sonic-number",
846
662
  "sonic-simd",
847
- "thiserror 2.0.18",
663
+ "thiserror",
848
664
  "zmij",
849
665
  ]
850
666
 
@@ -863,12 +679,6 @@ version = "0.1.9"
863
679
  source = "registry+https://github.com/rust-lang/crates.io-index"
864
680
  checksum = "2b2231b7c3057d5e4ad0156fb3dc807d900806020c5ffa3ee6ff2c8c76fb8520"
865
681
 
866
- [[package]]
867
- name = "subtle"
868
- version = "2.6.1"
869
- source = "registry+https://github.com/rust-lang/crates.io-index"
870
- checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
871
-
872
682
  [[package]]
873
683
  name = "swift-bridge"
874
684
  version = "0.1.59"
@@ -949,19 +759,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
949
759
  checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd"
950
760
  dependencies = [
951
761
  "fastrand",
952
- "getrandom 0.3.4",
762
+ "getrandom",
953
763
  "once_cell",
954
764
  "rustix",
955
- "windows-sys 0.52.0",
956
- ]
957
-
958
- [[package]]
959
- name = "thiserror"
960
- version = "1.0.69"
961
- source = "registry+https://github.com/rust-lang/crates.io-index"
962
- checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
963
- dependencies = [
964
- "thiserror-impl 1.0.69",
765
+ "windows-sys",
965
766
  ]
966
767
 
967
768
  [[package]]
@@ -970,18 +771,7 @@ version = "2.0.18"
970
771
  source = "registry+https://github.com/rust-lang/crates.io-index"
971
772
  checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4"
972
773
  dependencies = [
973
- "thiserror-impl 2.0.18",
974
- ]
975
-
976
- [[package]]
977
- name = "thiserror-impl"
978
- version = "1.0.69"
979
- source = "registry+https://github.com/rust-lang/crates.io-index"
980
- checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
981
- dependencies = [
982
- "proc-macro2",
983
- "quote",
984
- "syn 2.0.117",
774
+ "thiserror-impl",
985
775
  ]
986
776
 
987
777
  [[package]]
@@ -1040,63 +830,12 @@ version = "0.1.7"
1040
830
  source = "registry+https://github.com/rust-lang/crates.io-index"
1041
831
  checksum = "009994f150cc0cd50ff54917d5bc8bffe8cad10ca10d81c34da2ec421ae61782"
1042
832
 
1043
- [[package]]
1044
- name = "udpipe-rs"
1045
- version = "0.2.0"
1046
- source = "registry+https://github.com/rust-lang/crates.io-index"
1047
- checksum = "9a8f34a036b145a2d253613c2742c836f79c9d5f9c2220f03931762224d23452"
1048
- dependencies = [
1049
- "cc",
1050
- "ureq",
1051
- ]
1052
-
1053
833
  [[package]]
1054
834
  name = "unicode-ident"
1055
835
  version = "1.0.24"
1056
836
  source = "registry+https://github.com/rust-lang/crates.io-index"
1057
837
  checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
1058
838
 
1059
- [[package]]
1060
- name = "untrusted"
1061
- version = "0.9.0"
1062
- source = "registry+https://github.com/rust-lang/crates.io-index"
1063
- checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
1064
-
1065
- [[package]]
1066
- name = "ureq"
1067
- version = "3.3.0"
1068
- source = "registry+https://github.com/rust-lang/crates.io-index"
1069
- checksum = "dea7109cdcd5864d4eeb1b58a1648dc9bf520360d7af16ec26d0a9354bafcfc0"
1070
- dependencies = [
1071
- "base64",
1072
- "flate2",
1073
- "log",
1074
- "percent-encoding",
1075
- "rustls",
1076
- "rustls-pki-types",
1077
- "ureq-proto",
1078
- "utf8-zero",
1079
- "webpki-roots",
1080
- ]
1081
-
1082
- [[package]]
1083
- name = "ureq-proto"
1084
- version = "0.6.0"
1085
- source = "registry+https://github.com/rust-lang/crates.io-index"
1086
- checksum = "e994ba84b0bd1b1b0cf92878b7ef898a5c1760108fe7b6010327e274917a808c"
1087
- dependencies = [
1088
- "base64",
1089
- "http",
1090
- "httparse",
1091
- "log",
1092
- ]
1093
-
1094
- [[package]]
1095
- name = "utf8-zero"
1096
- version = "0.8.1"
1097
- source = "registry+https://github.com/rust-lang/crates.io-index"
1098
- checksum = "b8c0a043c9540bae7c578c88f91dda8bd82e59ae27c21baca69c8b191aaf5a6e"
1099
-
1100
839
  [[package]]
1101
840
  name = "uuid"
1102
841
  version = "1.23.2"
@@ -1113,12 +852,6 @@ version = "0.9.5"
1113
852
  source = "registry+https://github.com/rust-lang/crates.io-index"
1114
853
  checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
1115
854
 
1116
- [[package]]
1117
- name = "wasi"
1118
- version = "0.11.1+wasi-snapshot-preview1"
1119
- source = "registry+https://github.com/rust-lang/crates.io-index"
1120
- checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
1121
-
1122
855
  [[package]]
1123
856
  name = "wasip2"
1124
857
  version = "1.0.3+wasi-0.2.9"
@@ -1173,46 +906,13 @@ dependencies = [
1173
906
  "unicode-ident",
1174
907
  ]
1175
908
 
1176
- [[package]]
1177
- name = "webpki-roots"
1178
- version = "1.0.7"
1179
- source = "registry+https://github.com/rust-lang/crates.io-index"
1180
- checksum = "52f5ee44c96cf55f1b349600768e3ece3a8f26010c05265ab73f945bb1a2eb9d"
1181
- dependencies = [
1182
- "rustls-pki-types",
1183
- ]
1184
-
1185
- [[package]]
1186
- name = "windows-sys"
1187
- version = "0.48.0"
1188
- source = "registry+https://github.com/rust-lang/crates.io-index"
1189
- checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
1190
- dependencies = [
1191
- "windows-targets 0.48.5",
1192
- ]
1193
-
1194
909
  [[package]]
1195
910
  name = "windows-sys"
1196
911
  version = "0.52.0"
1197
912
  source = "registry+https://github.com/rust-lang/crates.io-index"
1198
913
  checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
1199
914
  dependencies = [
1200
- "windows-targets 0.52.6",
1201
- ]
1202
-
1203
- [[package]]
1204
- name = "windows-targets"
1205
- version = "0.48.5"
1206
- source = "registry+https://github.com/rust-lang/crates.io-index"
1207
- checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
1208
- dependencies = [
1209
- "windows_aarch64_gnullvm 0.48.5",
1210
- "windows_aarch64_msvc 0.48.5",
1211
- "windows_i686_gnu 0.48.5",
1212
- "windows_i686_msvc 0.48.5",
1213
- "windows_x86_64_gnu 0.48.5",
1214
- "windows_x86_64_gnullvm 0.48.5",
1215
- "windows_x86_64_msvc 0.48.5",
915
+ "windows-targets",
1216
916
  ]
1217
917
 
1218
918
  [[package]]
@@ -1221,46 +921,28 @@ version = "0.52.6"
1221
921
  source = "registry+https://github.com/rust-lang/crates.io-index"
1222
922
  checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
1223
923
  dependencies = [
1224
- "windows_aarch64_gnullvm 0.52.6",
1225
- "windows_aarch64_msvc 0.52.6",
1226
- "windows_i686_gnu 0.52.6",
924
+ "windows_aarch64_gnullvm",
925
+ "windows_aarch64_msvc",
926
+ "windows_i686_gnu",
1227
927
  "windows_i686_gnullvm",
1228
- "windows_i686_msvc 0.52.6",
1229
- "windows_x86_64_gnu 0.52.6",
1230
- "windows_x86_64_gnullvm 0.52.6",
1231
- "windows_x86_64_msvc 0.52.6",
928
+ "windows_i686_msvc",
929
+ "windows_x86_64_gnu",
930
+ "windows_x86_64_gnullvm",
931
+ "windows_x86_64_msvc",
1232
932
  ]
1233
933
 
1234
- [[package]]
1235
- name = "windows_aarch64_gnullvm"
1236
- version = "0.48.5"
1237
- source = "registry+https://github.com/rust-lang/crates.io-index"
1238
- checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
1239
-
1240
934
  [[package]]
1241
935
  name = "windows_aarch64_gnullvm"
1242
936
  version = "0.52.6"
1243
937
  source = "registry+https://github.com/rust-lang/crates.io-index"
1244
938
  checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
1245
939
 
1246
- [[package]]
1247
- name = "windows_aarch64_msvc"
1248
- version = "0.48.5"
1249
- source = "registry+https://github.com/rust-lang/crates.io-index"
1250
- checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
1251
-
1252
940
  [[package]]
1253
941
  name = "windows_aarch64_msvc"
1254
942
  version = "0.52.6"
1255
943
  source = "registry+https://github.com/rust-lang/crates.io-index"
1256
944
  checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
1257
945
 
1258
- [[package]]
1259
- name = "windows_i686_gnu"
1260
- version = "0.48.5"
1261
- source = "registry+https://github.com/rust-lang/crates.io-index"
1262
- checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
1263
-
1264
946
  [[package]]
1265
947
  name = "windows_i686_gnu"
1266
948
  version = "0.52.6"
@@ -1273,48 +955,24 @@ version = "0.52.6"
1273
955
  source = "registry+https://github.com/rust-lang/crates.io-index"
1274
956
  checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
1275
957
 
1276
- [[package]]
1277
- name = "windows_i686_msvc"
1278
- version = "0.48.5"
1279
- source = "registry+https://github.com/rust-lang/crates.io-index"
1280
- checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
1281
-
1282
958
  [[package]]
1283
959
  name = "windows_i686_msvc"
1284
960
  version = "0.52.6"
1285
961
  source = "registry+https://github.com/rust-lang/crates.io-index"
1286
962
  checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
1287
963
 
1288
- [[package]]
1289
- name = "windows_x86_64_gnu"
1290
- version = "0.48.5"
1291
- source = "registry+https://github.com/rust-lang/crates.io-index"
1292
- checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
1293
-
1294
964
  [[package]]
1295
965
  name = "windows_x86_64_gnu"
1296
966
  version = "0.52.6"
1297
967
  source = "registry+https://github.com/rust-lang/crates.io-index"
1298
968
  checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
1299
969
 
1300
- [[package]]
1301
- name = "windows_x86_64_gnullvm"
1302
- version = "0.48.5"
1303
- source = "registry+https://github.com/rust-lang/crates.io-index"
1304
- checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
1305
-
1306
970
  [[package]]
1307
971
  name = "windows_x86_64_gnullvm"
1308
972
  version = "0.52.6"
1309
973
  source = "registry+https://github.com/rust-lang/crates.io-index"
1310
974
  checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
1311
975
 
1312
- [[package]]
1313
- name = "windows_x86_64_msvc"
1314
- version = "0.48.5"
1315
- source = "registry+https://github.com/rust-lang/crates.io-index"
1316
- checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
1317
-
1318
976
  [[package]]
1319
977
  name = "windows_x86_64_msvc"
1320
978
  version = "0.52.6"
@@ -1347,12 +1005,6 @@ dependencies = [
1347
1005
  "syn 2.0.117",
1348
1006
  ]
1349
1007
 
1350
- [[package]]
1351
- name = "zeroize"
1352
- version = "1.8.2"
1353
- source = "registry+https://github.com/rust-lang/crates.io-index"
1354
- checksum = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0"
1355
-
1356
1008
  [[package]]
1357
1009
  name = "zmij"
1358
1010
  version = "1.0.21"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cc-transcript
3
- Version: 11.0.0
3
+ Version: 12.0.0
4
4
  Classifier: Development Status :: 3 - Alpha
5
5
  Classifier: Environment :: Console
6
6
  Classifier: Intended Audience :: Developers
@@ -22,12 +22,9 @@ Requires-Dist: sqlite-vec>=0.1.9 ; extra == 'judge'
22
22
  Requires-Dist: model2vec>=0.8.2 ; extra == 'judge'
23
23
  Requires-Dist: numpy>=1.26 ; extra == 'judge'
24
24
  Requires-Dist: spawnllm>=0.5.4,<0.6 ; extra == 'llm'
25
- Requires-Dist: spacy>=3.8 ; extra == 'sentiment'
26
- Requires-Dist: afinn>=0.1 ; extra == 'sentiment'
27
25
  Provides-Extra: dev
28
26
  Provides-Extra: judge
29
27
  Provides-Extra: llm
30
- Provides-Extra: sentiment
31
28
  License-File: LICENSE
32
29
  Summary: Grep every Claude Code session you've ever run.
33
30
  Keywords: claude-code,claude,anthropic,transcripts,jsonl,parser,cli,agents,sentiment,feedback-mining
@@ -23,14 +23,14 @@ def stream_parse(paths: list[tuple[str, float]], prefetch: int, spec_json: str |
23
23
  def parse_print_result(raw: bytes, /) -> PrintResult:
24
24
  """Parses a 'claude -p --output-format json' result from raw JSON bytes."""
25
25
 
26
- def lexicon_available() -> bool:
27
- """Whether the UDPipe English model loaded (downloading + caching on first call)."""
26
+ def lexicon_tokenize(text: str, /) -> list[str]:
27
+ """Split ``text`` into lowercased maximal runs of alphabetic characters (the shared tokenizer)."""
28
28
 
29
- def lexicon_polarity(lemma: str, /) -> int:
30
- """Polarity of a single lemma: domain override, else AFINN floored at MIN_MAGNITUDE."""
29
+ def lexicon_polarity(token: str, /) -> int:
30
+ """Polarity of a single token surface: domain override, else AFINN floored at MIN_MAGNITUDE."""
31
31
 
32
- def lexicon_has_hit(text: str, floor: int, want_negative: bool, /) -> bool:
33
- """Whether any token's lemma polarity crosses ``floor`` (``<= -floor`` when ``want_negative``)."""
32
+ def lexicon_has_hit(text: str, want_negative: bool, /) -> bool:
33
+ """Whether any token surface's polarity crosses the fixed ±3 floor (the negative side when ``want_negative``)."""
34
34
 
35
35
  def lexicon_overrides() -> list[tuple[str, int]]:
36
36
  """The embedded domain-override entries (for the single-source drift guard)."""
@@ -6,9 +6,9 @@ Built directly on the core event spine. Consumers bucket ``UserEvent`` /
6
6
  ``AssistantEvent`` streams via :func:`bucket_events`, compose a
7
7
  :class:`ScoreSpec` from the builders (:func:`flag_frustration`,
8
8
  :func:`clamp_positive`, :func:`demote_mild_irritation`, :func:`clamp_resume`),
9
- and run it via :class:`FilteredEngine`. The lexicon-backed stages lemmatize with
10
- the Rust udpipe backend when available, falling back to spaCy + AFINN (the
11
- ``[sentiment]`` extra).
9
+ and run it via :class:`FilteredEngine`. The lexicon-backed stages score token
10
+ surfaces against a bundled AFINN snapshot plus coding-domain overrides — a
11
+ deterministic, dependency-free lookup shared with the Rust fast path.
12
12
  """
13
13
 
14
14
  from __future__ import annotations
@@ -26,7 +26,7 @@ from cc_transcript.sentiment.buckets import (
26
26
  extract_bucket_keys,
27
27
  )
28
28
  from cc_transcript.sentiment.engine import NOOP_PROGRESS, FilteredEngine, InferenceEngine
29
- from cc_transcript.sentiment.lexicon import NLP, Lexicon
29
+ from cc_transcript.sentiment.lexicon import Lexicon
30
30
  from cc_transcript.sentiment.scorespec import (
31
31
  FrustrationShortCircuit,
32
32
  MildIrritationDemote,