cc-transcript 14.42.0__tar.gz → 14.44.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 (198) hide show
  1. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/PKG-INFO +1 -1
  2. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/snapshot_schema/config.schema.json +1 -1
  3. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/pyproject.toml +1 -1
  4. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/Cargo.toml +3 -0
  5. cc_transcript-14.44.0/rust/crates/core/build.rs +84 -0
  6. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/lib.rs +2 -0
  7. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/snapshot.rs +139 -0
  8. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/snapshot_prepared_disk.rs +20 -0
  9. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/snapshot_prepared_service.rs +16 -8
  10. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/Cargo.lock +0 -0
  11. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/Cargo.toml +0 -0
  12. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/LICENSE +0 -0
  13. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/README.md +0 -0
  14. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/__init__.py +0 -0
  15. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/__init__.pyi +0 -0
  16. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/_native.pyi +0 -0
  17. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/activity.py +0 -0
  18. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/activity_probe.py +0 -0
  19. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/builders.py +0 -0
  20. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/codex.py +0 -0
  21. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/command.py +0 -0
  22. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/context.py +0 -0
  23. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/corrections.py +0 -0
  24. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/cost.py +0 -0
  25. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/decision_store.py +0 -0
  26. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/decisions.py +0 -0
  27. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/discovery.py +0 -0
  28. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/disktruth.py +0 -0
  29. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/evidence.py +0 -0
  30. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/extract/__init__.py +0 -0
  31. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/extract/correct.py +0 -0
  32. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/facts.py +0 -0
  33. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/filterspec.py +0 -0
  34. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/heartbeats.py +0 -0
  35. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/ids.py +0 -0
  36. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/judge/__init__.py +0 -0
  37. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/judge/llm.py +0 -0
  38. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/judge/similar.py +0 -0
  39. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/judge/verdicts.py +0 -0
  40. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/ledger.py +0 -0
  41. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/literals.py +0 -0
  42. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/mining/__init__.py +0 -0
  43. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/mining/candidates.py +0 -0
  44. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/mining/confidence.py +0 -0
  45. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/mining/engine.py +0 -0
  46. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/mining/formats.py +0 -0
  47. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/mining/sampling.py +0 -0
  48. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/mining/signals.py +0 -0
  49. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/mining/sourcekind.py +0 -0
  50. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/mining/spec.py +0 -0
  51. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/mining/store.py +0 -0
  52. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/models.py +0 -0
  53. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/nlp.py +0 -0
  54. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/notifications.py +0 -0
  55. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/parser.py +0 -0
  56. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/py.typed +0 -0
  57. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/query.py +0 -0
  58. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/render.py +0 -0
  59. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/sentiment/__init__.py +0 -0
  60. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/sentiment/buckets.py +0 -0
  61. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/sentiment/data/afinn-en-165.tsv +0 -0
  62. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/sentiment/data/domain_overrides.tsv +0 -0
  63. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/sentiment/data/en-ewt.udpipe +0 -0
  64. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/sentiment/engine.py +0 -0
  65. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/sentiment/lexicon.py +0 -0
  66. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/sentiment/scorespec.py +0 -0
  67. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/snapshot_schema/context.schema.json +0 -0
  68. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/snapshot_schema/request.schema.json +0 -0
  69. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/snapshot_schema/response.schema.json +0 -0
  70. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/snapshot_schema/tool_registry.schema.json +0 -0
  71. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/snapshots.py +0 -0
  72. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/synthetic.py +0 -0
  73. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/tools.py +0 -0
  74. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/cc_transcript/watch.py +0 -0
  75. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/cli/Cargo.toml +0 -0
  76. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/cli/src/commands/blame.rs +0 -0
  77. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/cli/src/commands/corpus.rs +0 -0
  78. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/cli/src/commands/corrections.rs +0 -0
  79. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/cli/src/commands/digest.rs +0 -0
  80. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/cli/src/commands/facts.rs +0 -0
  81. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/cli/src/commands/grep.rs +0 -0
  82. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/cli/src/commands/list.rs +0 -0
  83. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/cli/src/commands/mod.rs +0 -0
  84. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/cli/src/commands/scratchpad.rs +0 -0
  85. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/cli/src/commands/show.rs +0 -0
  86. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/cli/src/commands/slice.rs +0 -0
  87. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/cli/src/commands/stats.rs +0 -0
  88. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/cli/src/commands/watch.rs +0 -0
  89. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/cli/src/lib.rs +0 -0
  90. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/cli/src/output.rs +0 -0
  91. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/cli/src/target.rs +0 -0
  92. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/cli/src/timearg.rs +0 -0
  93. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/benches/parse.rs +0 -0
  94. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/benches/render.rs +0 -0
  95. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/benches/toolcall.rs +0 -0
  96. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/activity.rs +0 -0
  97. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/actor.rs +0 -0
  98. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/blame.rs +0 -0
  99. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/buckets.rs +0 -0
  100. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/codex/discovery.rs +0 -0
  101. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/codex/lower.rs +0 -0
  102. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/codex/mod.rs +0 -0
  103. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/codex/parse.rs +0 -0
  104. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/codex/probe.rs +0 -0
  105. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/codex/protocol.rs +0 -0
  106. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/codex/types.rs +0 -0
  107. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/command.rs +0 -0
  108. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/context.rs +0 -0
  109. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/corrections.rs +0 -0
  110. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/cost.rs +0 -0
  111. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/discovery.rs +0 -0
  112. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/facts.rs +0 -0
  113. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/feedback.rs +0 -0
  114. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/filter.rs +0 -0
  115. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/gateway.rs +0 -0
  116. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/ids.rs +0 -0
  117. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/judge.rs +0 -0
  118. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/literals/command.rs +0 -0
  119. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/literals/corrections.rs +0 -0
  120. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/literals/feedback.rs +0 -0
  121. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/literals/mining.rs +0 -0
  122. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/literals/mod.rs +0 -0
  123. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/literals/protocol.rs +0 -0
  124. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/notifications.rs +0 -0
  125. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/parse.rs +0 -0
  126. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/protocol.rs +0 -0
  127. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/pystr.rs +0 -0
  128. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/query.rs +0 -0
  129. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/render.rs +0 -0
  130. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/rng.rs +0 -0
  131. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/scan.rs +0 -0
  132. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/scan_checkpoint.rs +0 -0
  133. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/scan_grep.rs +0 -0
  134. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/scan_grep_stream.rs +0 -0
  135. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/scan_grep_stream_tests.rs +0 -0
  136. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/scan_index.rs +0 -0
  137. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/scan_projection.rs +0 -0
  138. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/scan_regressions.rs +0 -0
  139. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/scan_stream.rs +0 -0
  140. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/schema.rs +0 -0
  141. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/snapshot_activity.rs +0 -0
  142. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/snapshot_codec.rs +0 -0
  143. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/snapshot_codex_append.rs +0 -0
  144. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/snapshot_labels.rs +0 -0
  145. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/snapshot_ledger.rs +0 -0
  146. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/snapshot_ledger_tests.rs +0 -0
  147. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/snapshot_memory.rs +0 -0
  148. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/snapshot_owned.rs +0 -0
  149. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/snapshot_prepared.rs +0 -0
  150. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/snapshot_projection.rs +0 -0
  151. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/snapshot_regressions.rs +0 -0
  152. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/snapshot_root_warm.rs +0 -0
  153. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/snapshot_text.rs +0 -0
  154. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/sqlite.rs +0 -0
  155. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/toolcall.rs +0 -0
  156. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/types.rs +0 -0
  157. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/value.rs +0 -0
  158. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/src/watch.rs +0 -0
  159. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/tests/sonic_arena_model.rs +0 -0
  160. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/core/tests/std_allocation_model.rs +0 -0
  161. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/Cargo.toml +0 -0
  162. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/build.rs +0 -0
  163. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/data/command_prefix_pins.tsv +0 -0
  164. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/actor_bridge.rs +0 -0
  165. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/bin/stub_gen.rs +0 -0
  166. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/codex.rs +0 -0
  167. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/command.rs +0 -0
  168. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/context.rs +0 -0
  169. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/corrections.rs +0 -0
  170. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/discovery.rs +0 -0
  171. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/feedback.rs +0 -0
  172. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/judge.rs +0 -0
  173. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/lexicon.rs +0 -0
  174. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/lib.rs +0 -0
  175. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/mining.rs +0 -0
  176. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/nlp.rs +0 -0
  177. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/python.rs +0 -0
  178. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/render.rs +0 -0
  179. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/score.rs +0 -0
  180. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/snapshot_decode.rs +0 -0
  181. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/snapshots.rs +0 -0
  182. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/sqlite.rs +0 -0
  183. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/toolcall.rs +0 -0
  184. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/views/attachment.rs +0 -0
  185. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/views/blocks.rs +0 -0
  186. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/views/command.rs +0 -0
  187. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/views/convert.rs +0 -0
  188. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/views/dunder.rs +0 -0
  189. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/views/events.rs +0 -0
  190. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/views/meta.rs +0 -0
  191. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/views/mod.rs +0 -0
  192. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/views/print.rs +0 -0
  193. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/views/store.rs +0 -0
  194. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/views/system.rs +0 -0
  195. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/views/toolcall.rs +0 -0
  196. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/views/toolresult.rs +0 -0
  197. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/views/transcript.rs +0 -0
  198. {cc_transcript-14.42.0 → cc_transcript-14.44.0}/rust/crates/py/src/watch.rs +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cc-transcript
3
- Version: 14.42.0
3
+ Version: 14.44.0
4
4
  Classifier: Development Status :: 3 - Alpha
5
5
  Classifier: Environment :: Console
6
6
  Classifier: Intended Audience :: Developers
@@ -141,7 +141,7 @@
141
141
  }
142
142
  ],
143
143
  "default": null,
144
- "description": "Exact identity of the build that produces prepared facts. Null keeps prepared facts private to this store and deletes them when it closes. A string lets this store adopt validated prepared facts left by earlier stores that named the same producer with the same max_source_bytes and max_entry_bytes, and leaves its own facts in place for the next one. Change it with every build whose fact extraction or in-memory fact layout could differ.",
144
+ "description": "Names the host whose stores may share prepared facts. Null keeps prepared facts private to this store and deletes them when it closes. A string lets this store adopt validated prepared facts left by earlier stores that named the same producer with the same max_source_bytes and max_entry_bytes and ran the same build of the native core, and leaves its own facts in place for the next one. The store binds its own build identity, so the string need not encode it.",
145
145
  "title": "Prepared Fact Producer"
146
146
  },
147
147
  "reserved_hook_accounted_bytes": {
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "cc-transcript"
3
- version = "14.42.0" # informational — releases stamp the version from the git tag
3
+ version = "14.44.0" # informational — releases stamp the version from the git tag
4
4
  description = "Grep every Claude Code session you've ever run."
5
5
  readme = "README.md"
6
6
  license = "PolyForm-Noncommercial-1.0.0"
@@ -31,6 +31,9 @@ ryu-js = "1.0"
31
31
  # default-features off, so rusqlite never reaches the python-free path — verify with `cargo tree`.
32
32
  rusqlite = { version = "0.32", features = ["bundled", "hooks", "load_extension"], optional = true }
33
33
 
34
+ [build-dependencies]
35
+ sha2 = "0.10"
36
+
34
37
  [features]
35
38
  default = ["command", "sqlite"]
36
39
  command = ["dep:rable"]
@@ -0,0 +1,84 @@
1
+ use std::env;
2
+ use std::fs;
3
+ use std::path::{Path, PathBuf};
4
+ use std::process::Command;
5
+
6
+ use sha2::{Digest, Sha256};
7
+
8
+ const SETTINGS: [&str; 5] = [
9
+ "TARGET",
10
+ "PROFILE",
11
+ "OPT_LEVEL",
12
+ "DEBUG",
13
+ "CARGO_ENCODED_RUSTFLAGS",
14
+ ];
15
+
16
+ fn sources(dir: &Path, found: &mut Vec<PathBuf>) {
17
+ for entry in fs::read_dir(dir).expect("core source directory") {
18
+ let path = entry.expect("core source entry").path();
19
+ if path.is_dir() {
20
+ sources(&path, found);
21
+ } else {
22
+ found.push(path);
23
+ }
24
+ }
25
+ }
26
+
27
+ fn main() {
28
+ let manifest = PathBuf::from(env::var_os("CARGO_MANIFEST_DIR").expect("CARGO_MANIFEST_DIR"));
29
+ let workspace = manifest
30
+ .ancestors()
31
+ .find(|dir| dir.join("Cargo.lock").is_file())
32
+ .expect("a Cargo.lock above the core crate");
33
+ let watched = [
34
+ manifest.join("src"),
35
+ manifest.join("Cargo.toml"),
36
+ manifest.join("build.rs"),
37
+ workspace.join("Cargo.toml"),
38
+ workspace.join("Cargo.lock"),
39
+ ];
40
+ for path in &watched {
41
+ println!("cargo:rerun-if-changed={}", path.display());
42
+ }
43
+ let mut files = watched[1..].to_vec();
44
+ sources(&watched[0], &mut files);
45
+ files.sort();
46
+ let mut identity = Sha256::new();
47
+ for file in &files {
48
+ let name = file
49
+ .strip_prefix(workspace)
50
+ .expect("a build input under the workspace");
51
+ let contents = fs::read(file).expect("a readable build input");
52
+ identity.update(name.as_os_str().as_encoded_bytes());
53
+ identity.update([0u8]);
54
+ identity.update((contents.len() as u64).to_le_bytes());
55
+ identity.update(&contents);
56
+ }
57
+ let compiler = Command::new(env::var_os("RUSTC").expect("RUSTC"))
58
+ .arg("-vV")
59
+ .output()
60
+ .expect("rustc -vV");
61
+ assert!(compiler.status.success(), "rustc -vV failed");
62
+ identity.update((compiler.stdout.len() as u64).to_le_bytes());
63
+ identity.update(&compiler.stdout);
64
+ let mut settings: Vec<(String, Vec<u8>)> = env::vars_os()
65
+ .filter_map(|(name, value)| Some((name.into_string().ok()?, value)))
66
+ .filter(|(name, _)| {
67
+ name.starts_with("CARGO_FEATURE_")
68
+ || name.starts_with("CARGO_CFG_")
69
+ || SETTINGS.contains(&name.as_str())
70
+ })
71
+ .map(|(name, value)| (name, value.as_encoded_bytes().to_vec()))
72
+ .collect();
73
+ settings.sort();
74
+ for (name, value) in &settings {
75
+ identity.update(name.as_bytes());
76
+ identity.update([0u8]);
77
+ identity.update((value.len() as u64).to_le_bytes());
78
+ identity.update(value);
79
+ }
80
+ println!(
81
+ "cargo:rustc-env=CC_TRANSCRIPT_CORE_BUILD={:x}",
82
+ identity.finalize()
83
+ );
84
+ }
@@ -1,5 +1,7 @@
1
1
  pub mod literals;
2
2
 
3
+ pub const BUILD_IDENTITY: &str = env!("CC_TRANSCRIPT_CORE_BUILD");
4
+
3
5
  pub mod activity;
4
6
  #[cfg(feature = "sqlite")]
5
7
  pub mod actor;
@@ -3140,6 +3140,7 @@ impl NativeStore {
3140
3140
  get("max_prepared_disk_bytes", 2 * 1024 * 1024 * 1024),
3141
3141
  &crate::snapshot_prepared_disk::FactOrigin {
3142
3142
  producer: value.get("prepared_fact_producer").and_then(Value::as_str),
3143
+ engine: crate::BUILD_IDENTITY,
3143
3144
  max_source_bytes: config.source,
3144
3145
  max_entry_bytes: config.entry,
3145
3146
  },
@@ -14990,6 +14991,144 @@ mod tests {
14990
14991
  );
14991
14992
  }
14992
14993
 
14994
+ fn registered_warming(count: usize) -> (Source, NativeStore, Value, Value) {
14995
+ let source = Source::new(&format!("{}\n", user("root")));
14996
+ let ids: Vec<_> = (0..count)
14997
+ .map(|index| format!("thread-{index:04}"))
14998
+ .collect();
14999
+ for id in &ids {
15000
+ std::fs::write(
15001
+ source.directory.join(format!("{id}.jsonl")),
15002
+ format!("{}\n", user(id)),
15003
+ )
15004
+ .unwrap();
15005
+ }
15006
+ let store = NativeStore::new(&json!({"max_read_bytes_per_step":4096,"max_events_per_step":2048,"max_retained_bytes":32*1024*1024,"reserved_hook_accounted_bytes":4096,"max_leases":16,"reserved_hook_leases":1})).unwrap();
15007
+ let mut owner = context("a");
15008
+ owner.insert("work_class", json!("background"));
15009
+ let mut template = acquire(&source.path);
15010
+ template["limits"].insert("max_discovery_entries", json!(20_000));
15011
+ template["limits"].insert("max_sources", json!(1024));
15012
+ let request = json!({"schema":SCHEMA,"id":"warm","operation":"warm_registered","classifier":{"id":"native","version":"1"},"thread_ids":ids,"roots":[source.directory.to_string_lossy().as_ref()],"direct_paths":[],"start_index":0,"membership_revision":null,"deadline_unix_ms":template["deadline_unix_ms"],"limits":template["limits"]});
15013
+ (source, store, owner, request)
15014
+ }
15015
+
15016
+ fn registered_pages(store: &NativeStore, owner: &Value, request: &Value) -> Vec<Value> {
15017
+ let mut request = request.clone();
15018
+ let mut pages = Vec::new();
15019
+ for _ in 0..128 {
15020
+ request.insert("deadline_unix_ms", json!(now_ms() + 120_000));
15021
+ let reply = store.request(&request, owner, &Cancellation::default());
15022
+ assert_eq!(reply["status"].as_str(), Some("ok"), "{reply:?}");
15023
+ request.insert("start_index", reply["data"]["next_index"].clone());
15024
+ request.insert(
15025
+ "membership_revision",
15026
+ reply["data"]["membership_revision"].clone(),
15027
+ );
15028
+ let complete = reply["data"]["complete"].as_bool() == Some(true);
15029
+ pages.push(reply);
15030
+ if complete {
15031
+ return pages;
15032
+ }
15033
+ }
15034
+ panic!("registered warming did not complete");
15035
+ }
15036
+
15037
+ fn page_ends(pages: &[Value]) -> Vec<(u64, bool)> {
15038
+ pages
15039
+ .iter()
15040
+ .map(|page| {
15041
+ (
15042
+ page["data"]["next_index"].as_u64().unwrap(),
15043
+ page["data"]["complete"].as_bool().unwrap(),
15044
+ )
15045
+ })
15046
+ .collect()
15047
+ }
15048
+
15049
+ #[test]
15050
+ fn registered_warmer_pages_cached_members_256_at_a_time() {
15051
+ let (_source, store, owner, request) = registered_warming(600);
15052
+ let cold = registered_pages(&store, &owner, &request);
15053
+ assert_eq!(
15054
+ page_ends(&cold),
15055
+ (1..=75u64)
15056
+ .map(|page| (page * 8, page == 75))
15057
+ .collect::<Vec<_>>()
15058
+ );
15059
+ let revision = cold[0]["data"]["membership_revision"].as_str().unwrap();
15060
+ let resolutions = store.source_resolutions.load(Ordering::Relaxed);
15061
+ let writes = store.prepared_disk.stats().writes;
15062
+ let cached = registered_pages(&store, &owner, &request);
15063
+ assert_eq!(
15064
+ page_ends(&cached),
15065
+ [(256, false), (512, false), (600, true)]
15066
+ );
15067
+ for page in cold.iter().chain(&cached) {
15068
+ assert_eq!(page["data"]["membership_revision"].as_str(), Some(revision));
15069
+ }
15070
+ for page in &cached {
15071
+ assert_eq!(cache_reads(page), (Some(0), Some(0), Some(0)), "{page:?}");
15072
+ assert_eq!(page["usage"]["events_parsed"].as_u64(), Some(0), "{page:?}");
15073
+ }
15074
+ assert_eq!(
15075
+ store.source_resolutions.load(Ordering::Relaxed) - resolutions,
15076
+ 600
15077
+ );
15078
+ assert_eq!(store.prepared_disk.stats().writes, writes);
15079
+ }
15080
+
15081
+ #[test]
15082
+ fn registered_warmer_stops_a_cached_page_at_eight_uncached_members() {
15083
+ let (source, store, owner, request) = registered_warming(300);
15084
+ let warmed = registered_pages(&store, &owner, &request);
15085
+ let warmed_revision = warmed[0]["data"]["membership_revision"].as_str();
15086
+ for index in 100..112 {
15087
+ std::fs::OpenOptions::new()
15088
+ .append(true)
15089
+ .open(source.directory.join(format!("thread-{index:04}.jsonl")))
15090
+ .unwrap()
15091
+ .write_all(format!("{}\n", user("appended")).as_bytes())
15092
+ .unwrap();
15093
+ }
15094
+ let builds = store.fact_builds.load(Ordering::Relaxed);
15095
+ let pages = registered_pages(&store, &owner, &request);
15096
+ assert_eq!(page_ends(&pages), [(108, false), (300, true)]);
15097
+ assert_eq!(store.fact_builds.load(Ordering::Relaxed) - builds, 12);
15098
+ let revision = pages[0]["data"]["membership_revision"].as_str();
15099
+ assert_ne!(revision, warmed_revision);
15100
+ assert_eq!(pages[1]["data"]["membership_revision"].as_str(), revision);
15101
+ }
15102
+
15103
+ #[test]
15104
+ fn registered_warmer_returns_its_partial_page_when_the_deadline_passes() {
15105
+ let (_source, store, owner, mut request) = registered_warming(3);
15106
+ let deadline = now_ms() + 1_000;
15107
+ *store.built_facts_hook.lock().unwrap() = Some(Arc::new(
15108
+ move |_: &Arc<crate::snapshot_prepared::PreparedFacts>| {
15109
+ while now_ms() <= deadline {
15110
+ std::thread::sleep(std::time::Duration::from_millis(5));
15111
+ }
15112
+ },
15113
+ ));
15114
+ request.insert("deadline_unix_ms", json!(deadline));
15115
+ let partial = store.request(&request, &owner, &Cancellation::default());
15116
+ assert_eq!(partial["status"].as_str(), Some("ok"), "{partial:?}");
15117
+ assert_eq!(page_ends(std::slice::from_ref(&partial)), [(1, false)]);
15118
+ request.insert("start_index", json!(1));
15119
+ request.insert(
15120
+ "membership_revision",
15121
+ partial["data"]["membership_revision"].clone(),
15122
+ );
15123
+ request.insert("deadline_unix_ms", json!(now_ms()));
15124
+ let stalled = store.request(&request, &owner, &Cancellation::default());
15125
+ assert_eq!(stalled["status"].as_str(), Some("deadline"), "{stalled:?}");
15126
+ assert_eq!(
15127
+ page_ends(&registered_pages(&store, &owner, &request)),
15128
+ [(3, true)]
15129
+ );
15130
+ }
15131
+
14993
15132
  #[test]
14994
15133
  fn disk_facts_complete_queries_when_memory_fact_budget_is_smaller() {
14995
15134
  let source = Source::new(&format!("{}\n", user("root")));
@@ -363,6 +363,7 @@ impl CleanupBudget {
363
363
 
364
364
  pub struct FactOrigin<'a> {
365
365
  pub producer: Option<&'a str>,
366
+ pub engine: &'a str,
366
367
  pub max_source_bytes: usize,
367
368
  pub max_entry_bytes: usize,
368
369
  }
@@ -373,6 +374,7 @@ impl FactOrigin<'_> {
373
374
  "version": "prepared-facts/2",
374
375
  "parser": PARSER_VERSION,
375
376
  "producer": self.producer,
377
+ "engine": self.engine,
376
378
  "max_source_bytes": self.max_source_bytes.to_string(),
377
379
  "max_entry_bytes": self.max_entry_bytes.to_string(),
378
380
  "binding": binding,
@@ -1662,6 +1664,7 @@ mod tests {
1662
1664
  fn origin(producer: Option<&str>) -> FactOrigin<'_> {
1663
1665
  FactOrigin {
1664
1666
  producer,
1667
+ engine: "engine-a",
1665
1668
  max_source_bytes: 1 << 20,
1666
1669
  max_entry_bytes: 1 << 20,
1667
1670
  }
@@ -2694,10 +2697,21 @@ mod tests {
2694
2697
  json!({"id":"native","version":"1"}),
2695
2698
  FactOrigin {
2696
2699
  producer: Some("producer-a"),
2700
+ engine: "engine-a",
2697
2701
  max_source_bytes: (1 << 20) + 1,
2698
2702
  max_entry_bytes: 1 << 20,
2699
2703
  },
2700
2704
  ),
2705
+ (
2706
+ "a different engine build",
2707
+ json!({"id":"native","version":"1"}),
2708
+ FactOrigin {
2709
+ producer: Some("producer-a"),
2710
+ engine: "engine-b",
2711
+ max_source_bytes: 1 << 20,
2712
+ max_entry_bytes: 1 << 20,
2713
+ },
2714
+ ),
2701
2715
  (
2702
2716
  "a custom classifier",
2703
2717
  json!({"id":"custom","version":"1"}),
@@ -3400,4 +3414,10 @@ mod tests {
3400
3414
  );
3401
3415
  }
3402
3416
  }
3417
+
3418
+ #[test]
3419
+ fn core_carries_a_build_identity() {
3420
+ assert_eq!(crate::BUILD_IDENTITY.len(), 64);
3421
+ assert!(hex_bytes(crate::BUILD_IDENTITY.as_bytes()));
3422
+ }
3403
3423
  }
@@ -1764,8 +1764,14 @@ impl NativeStore {
1764
1764
  let read_budget = remaining.max_source_read_bytes;
1765
1765
  let mut next = start;
1766
1766
  let mut steps = 0usize;
1767
- 'warming: while next < members.len() && steps < 8 {
1768
- cancel.check(remaining.deadline_unix_ms)?;
1767
+ let mut uncached_steps = 0usize;
1768
+ 'warming: while next < members.len() && steps < 256 && uncached_steps < 8 {
1769
+ if let Err(error) = cancel.check(remaining.deadline_unix_ms) {
1770
+ if error.status == Status::Deadline && next > start {
1771
+ break 'warming;
1772
+ }
1773
+ return Err(error);
1774
+ }
1769
1775
  let source = &members[next];
1770
1776
  if !active(source, since) {
1771
1777
  next += 1;
@@ -1801,7 +1807,7 @@ impl NativeStore {
1801
1807
  }
1802
1808
  Err(error)
1803
1809
  if error.status == Status::Deadline
1804
- && (usage[1] > before_read || usage[3] > before_events) =>
1810
+ && (next > start || usage[1] > before_read || usage[3] > before_events) =>
1805
1811
  {
1806
1812
  break 'warming;
1807
1813
  }
@@ -1819,9 +1825,9 @@ impl NativeStore {
1819
1825
  ));
1820
1826
  }
1821
1827
  let mut rounds = 0;
1822
- loop {
1828
+ let cached = loop {
1823
1829
  match outcome {
1824
- PreparedSourceOutcome::Ready { stamp, .. } => {
1830
+ PreparedSourceOutcome::Ready { stamp, cached, .. } => {
1825
1831
  if stamp != source.stamp {
1826
1832
  return Err(SnapshotError::new(
1827
1833
  Status::Changed,
@@ -1829,7 +1835,7 @@ impl NativeStore {
1829
1835
  ));
1830
1836
  }
1831
1837
  next += 1;
1832
- break;
1838
+ break cached;
1833
1839
  }
1834
1840
  PreparedSourceOutcome::Pending(token) => {
1835
1841
  if rounds == 16 {
@@ -1859,7 +1865,8 @@ impl NativeStore {
1859
1865
  || error.status == Status::SourceLimit
1860
1866
  && error.reason == "cumulative preparation work budget exhausted"
1861
1867
  || error.status == Status::Deadline
1862
- && (usage[1] > before_read
1868
+ && (next > start
1869
+ || usage[1] > before_read
1863
1870
  || usage[3] > before_events) =>
1864
1871
  {
1865
1872
  self.lock_state()
@@ -1877,8 +1884,9 @@ impl NativeStore {
1877
1884
  rounds += 1;
1878
1885
  }
1879
1886
  }
1880
- }
1887
+ };
1881
1888
  steps += 1;
1889
+ uncached_steps += usize::from(!cached);
1882
1890
  }
1883
1891
  let complete = next == members.len();
1884
1892
  if complete {
File without changes