cc-transcript 14.45.15__tar.gz → 14.45.17__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.45.15 → cc_transcript-14.45.17}/PKG-INFO +1 -1
  2. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/pyproject.toml +1 -1
  3. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/snapshot.rs +164 -31
  4. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/snapshot_ledger_tests.rs +636 -88
  5. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/snapshot_prepared_service.rs +326 -250
  6. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/Cargo.lock +0 -0
  7. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/Cargo.toml +0 -0
  8. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/LICENSE +0 -0
  9. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/README.md +0 -0
  10. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/__init__.py +0 -0
  11. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/__init__.pyi +0 -0
  12. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/_native.pyi +0 -0
  13. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/activity.py +0 -0
  14. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/activity_probe.py +0 -0
  15. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/builders.py +0 -0
  16. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/codex.py +0 -0
  17. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/command.py +0 -0
  18. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/context.py +0 -0
  19. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/corrections.py +0 -0
  20. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/cost.py +0 -0
  21. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/decision_store.py +0 -0
  22. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/decisions.py +0 -0
  23. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/discovery.py +0 -0
  24. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/disktruth.py +0 -0
  25. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/evidence.py +0 -0
  26. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/extract/__init__.py +0 -0
  27. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/extract/correct.py +0 -0
  28. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/facts.py +0 -0
  29. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/filterspec.py +0 -0
  30. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/heartbeats.py +0 -0
  31. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/ids.py +0 -0
  32. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/judge/__init__.py +0 -0
  33. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/judge/llm.py +0 -0
  34. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/judge/similar.py +0 -0
  35. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/judge/verdicts.py +0 -0
  36. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/ledger.py +0 -0
  37. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/literals.py +0 -0
  38. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/mining/__init__.py +0 -0
  39. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/mining/candidates.py +0 -0
  40. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/mining/confidence.py +0 -0
  41. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/mining/engine.py +0 -0
  42. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/mining/formats.py +0 -0
  43. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/mining/sampling.py +0 -0
  44. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/mining/signals.py +0 -0
  45. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/mining/sourcekind.py +0 -0
  46. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/mining/spec.py +0 -0
  47. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/mining/store.py +0 -0
  48. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/models.py +0 -0
  49. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/nlp.py +0 -0
  50. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/notifications.py +0 -0
  51. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/parser.py +0 -0
  52. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/py.typed +0 -0
  53. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/query.py +0 -0
  54. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/render.py +0 -0
  55. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/sentiment/__init__.py +0 -0
  56. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/sentiment/buckets.py +0 -0
  57. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/sentiment/data/afinn-en-165.tsv +0 -0
  58. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/sentiment/data/domain_overrides.tsv +0 -0
  59. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/sentiment/data/en-ewt.udpipe +0 -0
  60. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/sentiment/engine.py +0 -0
  61. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/sentiment/lexicon.py +0 -0
  62. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/sentiment/scorespec.py +0 -0
  63. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/snapshot_schema/config.schema.json +0 -0
  64. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/snapshot_schema/context.schema.json +0 -0
  65. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/snapshot_schema/request.schema.json +0 -0
  66. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/snapshot_schema/response.schema.json +0 -0
  67. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/snapshot_schema/tool_registry.schema.json +0 -0
  68. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/snapshots.py +0 -0
  69. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/synthetic.py +0 -0
  70. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/tools.py +0 -0
  71. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/cc_transcript/watch.py +0 -0
  72. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/cli/Cargo.toml +0 -0
  73. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/cli/src/commands/blame.rs +0 -0
  74. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/cli/src/commands/corpus.rs +0 -0
  75. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/cli/src/commands/corrections.rs +0 -0
  76. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/cli/src/commands/digest.rs +0 -0
  77. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/cli/src/commands/facts.rs +0 -0
  78. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/cli/src/commands/grep.rs +0 -0
  79. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/cli/src/commands/list.rs +0 -0
  80. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/cli/src/commands/mod.rs +0 -0
  81. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/cli/src/commands/scratchpad.rs +0 -0
  82. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/cli/src/commands/show.rs +0 -0
  83. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/cli/src/commands/slice.rs +0 -0
  84. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/cli/src/commands/stats.rs +0 -0
  85. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/cli/src/commands/watch.rs +0 -0
  86. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/cli/src/lib.rs +0 -0
  87. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/cli/src/output.rs +0 -0
  88. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/cli/src/target.rs +0 -0
  89. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/cli/src/timearg.rs +0 -0
  90. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/Cargo.toml +0 -0
  91. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/benches/parse.rs +0 -0
  92. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/benches/render.rs +0 -0
  93. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/benches/toolcall.rs +0 -0
  94. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/build.rs +0 -0
  95. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/activity.rs +0 -0
  96. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/actor.rs +0 -0
  97. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/blame.rs +0 -0
  98. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/buckets.rs +0 -0
  99. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/codex/discovery.rs +0 -0
  100. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/codex/lower.rs +0 -0
  101. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/codex/mod.rs +0 -0
  102. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/codex/parse.rs +0 -0
  103. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/codex/probe.rs +0 -0
  104. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/codex/protocol.rs +0 -0
  105. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/codex/types.rs +0 -0
  106. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/command.rs +0 -0
  107. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/context.rs +0 -0
  108. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/corrections.rs +0 -0
  109. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/cost.rs +0 -0
  110. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/discovery.rs +0 -0
  111. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/facts.rs +0 -0
  112. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/feedback.rs +0 -0
  113. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/filter.rs +0 -0
  114. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/gateway.rs +0 -0
  115. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/ids.rs +0 -0
  116. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/judge.rs +0 -0
  117. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/lib.rs +0 -0
  118. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/literals/command.rs +0 -0
  119. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/literals/corrections.rs +0 -0
  120. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/literals/feedback.rs +0 -0
  121. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/literals/mining.rs +0 -0
  122. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/literals/mod.rs +0 -0
  123. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/literals/protocol.rs +0 -0
  124. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/notifications.rs +0 -0
  125. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/parse.rs +0 -0
  126. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/protocol.rs +0 -0
  127. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/pystr.rs +0 -0
  128. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/query.rs +0 -0
  129. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/render.rs +0 -0
  130. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/rng.rs +0 -0
  131. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/scan.rs +0 -0
  132. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/scan_checkpoint.rs +0 -0
  133. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/scan_grep.rs +0 -0
  134. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/scan_grep_stream.rs +0 -0
  135. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/scan_grep_stream_tests.rs +0 -0
  136. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/scan_index.rs +0 -0
  137. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/scan_projection.rs +0 -0
  138. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/scan_regressions.rs +0 -0
  139. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/scan_stream.rs +0 -0
  140. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/schema.rs +0 -0
  141. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/snapshot_activity.rs +0 -0
  142. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/snapshot_codec.rs +0 -0
  143. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/snapshot_codex_append.rs +0 -0
  144. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/snapshot_labels.rs +0 -0
  145. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/snapshot_ledger.rs +0 -0
  146. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/snapshot_memory.rs +0 -0
  147. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/snapshot_owned.rs +0 -0
  148. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/snapshot_prepared.rs +0 -0
  149. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/snapshot_prepared_disk.rs +0 -0
  150. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/snapshot_projection.rs +0 -0
  151. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/snapshot_regressions.rs +0 -0
  152. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/snapshot_root_warm.rs +0 -0
  153. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/snapshot_text.rs +0 -0
  154. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/sqlite.rs +0 -0
  155. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/toolcall.rs +0 -0
  156. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/types.rs +0 -0
  157. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/value.rs +0 -0
  158. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/src/watch.rs +0 -0
  159. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/tests/sonic_arena_model.rs +0 -0
  160. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/core/tests/std_allocation_model.rs +0 -0
  161. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/Cargo.toml +0 -0
  162. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/build.rs +0 -0
  163. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/data/command_prefix_pins.tsv +0 -0
  164. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/actor_bridge.rs +0 -0
  165. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/bin/stub_gen.rs +0 -0
  166. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/codex.rs +0 -0
  167. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/command.rs +0 -0
  168. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/context.rs +0 -0
  169. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/corrections.rs +0 -0
  170. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/discovery.rs +0 -0
  171. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/feedback.rs +0 -0
  172. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/judge.rs +0 -0
  173. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/lexicon.rs +0 -0
  174. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/lib.rs +0 -0
  175. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/mining.rs +0 -0
  176. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/nlp.rs +0 -0
  177. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/python.rs +0 -0
  178. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/render.rs +0 -0
  179. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/score.rs +0 -0
  180. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/snapshot_decode.rs +0 -0
  181. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/snapshots.rs +0 -0
  182. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/sqlite.rs +0 -0
  183. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/toolcall.rs +0 -0
  184. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/views/attachment.rs +0 -0
  185. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/views/blocks.rs +0 -0
  186. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/views/command.rs +0 -0
  187. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/views/convert.rs +0 -0
  188. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/views/dunder.rs +0 -0
  189. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/views/events.rs +0 -0
  190. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/views/meta.rs +0 -0
  191. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/views/mod.rs +0 -0
  192. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/views/print.rs +0 -0
  193. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/views/store.rs +0 -0
  194. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/views/system.rs +0 -0
  195. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/views/toolcall.rs +0 -0
  196. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/views/toolresult.rs +0 -0
  197. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/rust/crates/py/src/views/transcript.rs +0 -0
  198. {cc_transcript-14.45.15 → cc_transcript-14.45.17}/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.45.15
3
+ Version: 14.45.17
4
4
  Classifier: Development Status :: 3 - Alpha
5
5
  Classifier: Environment :: Console
6
6
  Classifier: Intended Audience :: Developers
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "cc-transcript"
3
- version = "14.45.15" # informational — releases stamp the version from the git tag
3
+ version = "14.45.17" # 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"
@@ -1051,6 +1051,9 @@ fn realpath(path: &Path) -> std::io::Result<PathBuf> {
1051
1051
  }
1052
1052
 
1053
1053
  struct PreparedBuild {
1054
+ charge_work: Work,
1055
+ owned_payload_bytes: usize,
1056
+ context_bytes: usize,
1054
1057
  claimant: String,
1055
1058
  context: Value,
1056
1059
  request: Value,
@@ -1691,37 +1694,18 @@ impl Charge<String> for PreparedBuild {
1691
1694
  }
1692
1695
 
1693
1696
  fn charge(&self) -> usize {
1697
+ self.charge_work.tick(1);
1694
1698
  size_of::<PreparedBuild>()
1695
- + self.claimant.capacity()
1696
- + value_bytes(&self.context)
1697
- + value_bytes(&self.request)
1698
- + value_bytes(&self.root_handle)
1699
- + value_bytes(&self.classifier)
1699
+ + self.owned_payload_bytes
1700
1700
  + self.tasks.capacity() * size_of::<GraphTask>()
1701
- + self.tasks.iter().map(task_bytes).sum::<usize>()
1702
1701
  + self.listing.as_ref().map_or(0, |listing| {
1703
1702
  listing.children.capacity() * size_of::<PathBuf>()
1704
- + listing
1705
- .children
1706
- .iter()
1707
- .map(PathBuf::capacity)
1708
- .sum::<usize>()
1709
1703
  + listing.entries.retained_bytes()
1710
1704
  })
1711
1705
  + self.seen.capacity() * size_of::<SourceIdentity>()
1712
1706
  + self.sources.capacity() * size_of::<PreparedSourceRef>()
1713
- + self
1714
- .sources
1715
- .iter()
1716
- .map(|source| source.path.capacity())
1717
- .sum::<usize>()
1718
- + stamp_bytes(&self.stamps)
1707
+ + self.stamps.capacity() * size_of::<(PathBuf, SourceStamp)>()
1719
1708
  + self.sidechain_dirs.capacity() * size_of::<(PathBuf, Option<SourceStamp>)>()
1720
- + self
1721
- .sidechain_dirs
1722
- .iter()
1723
- .map(|(path, _)| path.capacity())
1724
- .sum::<usize>()
1725
1709
  }
1726
1710
  }
1727
1711
 
@@ -2695,7 +2679,9 @@ impl StoreState {
2695
2679
  ) {
2696
2680
  self.ledger.shared.reserve([facts_anchor(&facts)]);
2697
2681
  self.ledger.shared.acquire(facts_anchor(&facts));
2698
- graph.root_slices.insert(key, facts);
2682
+ if let Some(displaced) = graph.root_slices.insert(key, facts) {
2683
+ self.ledger.shared.release(facts_key(&displaced));
2684
+ }
2699
2685
  }
2700
2686
 
2701
2687
  fn insert_delivery(&mut self, key: Arc<str>, delivery: Delivery) {
@@ -6778,7 +6764,12 @@ impl NativeStore {
6778
6764
  context,
6779
6765
  value_bytes(context),
6780
6766
  )?;
6781
- build.context = context.clone();
6767
+ let context = context.clone();
6768
+ let context_bytes = value_bytes(&context);
6769
+ build.owned_payload_bytes =
6770
+ build.owned_payload_bytes - build.context_bytes + context_bytes;
6771
+ build.context_bytes = context_bytes;
6772
+ build.context = context;
6782
6773
  return self.prepare_graph_step(cursor, build, &mut reservation, cancel, usage);
6783
6774
  }
6784
6775
  let prepared_query = {
@@ -8360,7 +8351,9 @@ impl NativeStore {
8360
8351
  "source entry exceeds owner bound",
8361
8352
  ));
8362
8353
  }
8363
- let count = (read_bound as u64).min(unscanned);
8354
+ let count = (read_bound as u64)
8355
+ .min((64 * 1024u64).saturating_add(load.window_scanned))
8356
+ .min(unscanned);
8364
8357
  if count == 0 {
8365
8358
  return Err(source_read_limit());
8366
8359
  }
@@ -12636,6 +12629,114 @@ mod tests {
12636
12629
  assert!(read <= size - start + 128 + 1024, "{read}");
12637
12630
  }
12638
12631
 
12632
+ #[test]
12633
+ fn windowed_alignment_reads_a_chunk_instead_of_the_whole_read_step() {
12634
+ let source = Source::new(&format!(
12635
+ "{}\n{}",
12636
+ user("0").replace("hello", &"x".repeat(9 * 1024 * 1024)),
12637
+ users(1..100)
12638
+ ));
12639
+ let store = NativeStore::new(&json!({"max_read_bytes_per_step":8*1024*1024,"max_retained_bytes":128*1024*1024,"reserved_hook_accounted_bytes":4096})).unwrap();
12640
+ let owner = context("a");
12641
+ let (base, start, first) = expected_window(&source.path, 4096);
12642
+ assert!(base > 8 * 1024 * 1024);
12643
+ assert!(base - start < 1024);
12644
+ let mut request = windowed_acquire(&source.path, 4096);
12645
+ request["limits"].insert("max_source_read_bytes", json!(32 * 1024 * 1024));
12646
+ let response = finish(
12647
+ &store,
12648
+ store.request(&request, &owner, &Cancellation::default()),
12649
+ &owner,
12650
+ );
12651
+ assert_eq!(response["status"].as_str(), Some("ok"), "{response:?}");
12652
+ let snapshot = store.pin(handle(&response), &owner).unwrap();
12653
+ assert_eq!(snapshot.window_start, start);
12654
+ assert_eq!(snapshot.committed_bytes, snapshot.stamp.size);
12655
+ assert_eq!(uuids(&snapshot), (first..100).collect::<Vec<_>>());
12656
+ assert_eq!(snapshot.activity.turn_count(), 100 - first);
12657
+ let read = store.state.lock().unwrap().counters[1];
12658
+ assert_eq!(read, snapshot.stamp.size - start + 128 + 64 * 1024);
12659
+ }
12660
+
12661
+ #[test]
12662
+ fn windowed_alignment_crosses_chunks_and_reaches_a_source_without_newlines() {
12663
+ for prefix in [false, true] {
12664
+ let source = Source::new(&format!(
12665
+ "{}{}",
12666
+ if prefix { users(0..2) } else { String::new() },
12667
+ user("2").replace("hello", &"x".repeat(2 * 1024 * 1024))
12668
+ ));
12669
+ let store = NativeStore::new(&json!({"max_read_bytes_per_step":8*1024*1024,"max_entry_bytes":4*1024*1024,"max_retained_bytes":64*1024*1024,"reserved_hook_accounted_bytes":4096})).unwrap();
12670
+ let owner = context("a");
12671
+ let (base, start, _) = expected_window(&source.path, 1024);
12672
+ assert!(base - start > 128 * 1024);
12673
+ let mut request = windowed_acquire(&source.path, 1024);
12674
+ request["limits"].insert("max_source_read_bytes", json!(8 * 1024 * 1024));
12675
+ let mut response = store.request(&request, &owner, &Cancellation::default());
12676
+ for _ in 0..16 {
12677
+ if response["status"].as_str() != Some("incomplete") {
12678
+ break;
12679
+ }
12680
+ response = store.request(
12681
+ &json!({"schema":SCHEMA,"id":"resume","operation":"resume","cursor":response["cursor"]}),
12682
+ &owner,
12683
+ &Cancellation::default(),
12684
+ );
12685
+ }
12686
+ assert_eq!(response["status"].as_str(), Some("ok"), "{response:?}");
12687
+ let snapshot = store.pin(handle(&response), &owner).unwrap();
12688
+ assert_eq!(snapshot.window_start, start);
12689
+ assert_eq!(uuids(&snapshot), vec![2]);
12690
+ assert_eq!(snapshot.activity.turn_count(), 1);
12691
+ assert_eq!(snapshot.committed_bytes, start);
12692
+ let read = store.state.lock().unwrap().counters[1];
12693
+ assert!(read <= snapshot.stamp.size - start + 128 + base - start + 64 * 1024);
12694
+ }
12695
+ }
12696
+
12697
+ #[test]
12698
+ fn windowed_alignment_preserves_source_budget_and_cancellation_at_a_yield() {
12699
+ let source = Source::new(&user("0").replace("hello", &"x".repeat(192 * 1024)));
12700
+ let owner = context("a");
12701
+ for cancel_next in [false, true] {
12702
+ let store = NativeStore::new(&json!({"max_read_bytes_per_step":8*1024*1024,"max_entry_bytes":256*1024,"max_retained_bytes":32*1024*1024,"reserved_hook_accounted_bytes":4096})).unwrap();
12703
+ let mut request = windowed_acquire(&source.path, 1024);
12704
+ request["limits"].insert("max_source_read_bytes", json!(81));
12705
+ let origin = store.request(&request, &owner, &Cancellation::default());
12706
+ assert_eq!(origin["status"].as_str(), Some("incomplete"));
12707
+ assert_eq!(origin["usage"]["source_bytes_read"].as_u64(), Some(64));
12708
+ let resume = |reply: &Value| json!({"schema":SCHEMA,"id":"resume","operation":"resume","cursor":reply["cursor"]});
12709
+ let aligned = store.request(&resume(&origin), &owner, &Cancellation::default());
12710
+ assert_eq!(aligned["status"].as_str(), Some("incomplete"));
12711
+ assert_eq!(aligned["usage"]["source_bytes_read"].as_u64(), Some(17));
12712
+ let cancel = Cancellation::default();
12713
+ if cancel_next {
12714
+ cancel.cancel();
12715
+ }
12716
+ let stopped = store.request(&resume(&aligned), &owner, &cancel);
12717
+ assert_eq!(
12718
+ stopped["status"].as_str(),
12719
+ Some(if cancel_next {
12720
+ "cancelled"
12721
+ } else {
12722
+ "incomplete"
12723
+ }),
12724
+ "{stopped:?}"
12725
+ );
12726
+ assert_eq!(
12727
+ stopped["reason"].as_str(),
12728
+ Some(if cancel_next {
12729
+ "request cancelled"
12730
+ } else {
12731
+ "source_read_limit"
12732
+ })
12733
+ );
12734
+ assert_eq!(stopped["usage"]["source_bytes_read"].as_u64(), Some(0));
12735
+ assert!(stopped["cursor"].is_null());
12736
+ assert_eq!(store.state.lock().unwrap().counters[1], 81);
12737
+ }
12738
+ }
12739
+
12639
12740
  #[test]
12640
12741
  fn windowed_acquire_keeps_its_base_across_appends_and_reads_only_the_tail() {
12641
12742
  let source = Source::new(&users(0..200));
@@ -16489,6 +16590,12 @@ mod tests {
16489
16590
 
16490
16591
  #[test]
16491
16592
  fn selected_root_slices_answer_has_override_within_their_view() {
16593
+ for observer_first in [false, true] {
16594
+ selected_root_slice_upgrade(observer_first);
16595
+ }
16596
+ }
16597
+
16598
+ fn selected_root_slice_upgrade(observer_first: bool) {
16492
16599
  let source = Source::new(&format!(
16493
16600
  "{}\n{}\n",
16494
16601
  user_text("first", "TOKEN-ROOT"),
@@ -16519,14 +16626,37 @@ mod tests {
16519
16626
  let root_key = fact_entry_key(&source.path, &owner);
16520
16627
  let lookups = store.fact_lookups.load(Ordering::Relaxed);
16521
16628
  let builds = store.fact_builds.load(Ordering::Relaxed);
16522
- let scoped = ask(current_turn(), has_override("TOKEN-ROOT", &[]), None);
16629
+ let indexed = ask(current_turn(), has_tool("Missing"), None);
16630
+ assert_eq!(value_of(&indexed), Some(false));
16631
+ {
16632
+ let state = store.lock_state();
16633
+ let graph = state.prepared_graphs
16634
+ [graph["data"]["handle"]["graph_id"].as_str().unwrap()]
16635
+ .lock()
16636
+ .unwrap();
16637
+ let facts = graph.root_slices.values().next().unwrap();
16638
+ assert!(facts.serves(FactsNeed::Index));
16639
+ assert!(!facts.serves(FactsNeed::Full));
16640
+ }
16641
+ let scoped = if observer_first {
16642
+ ask(
16643
+ current_turn(),
16644
+ has_tool("Missing"),
16645
+ Some(json!([has_override("TOKEN-ROOT", &[])])),
16646
+ )
16647
+ } else {
16648
+ ask(current_turn(), has_override("TOKEN-ROOT", &[]), None)
16649
+ };
16523
16650
  assert_eq!(value_of(&scoped), Some(false));
16651
+ if observer_first {
16652
+ assert_eq!(scoped["data"]["observers"], json!([false]));
16653
+ }
16524
16654
  assert_eq!(
16525
16655
  (
16526
16656
  store.fact_lookups.load(Ordering::Relaxed),
16527
16657
  store.fact_builds.load(Ordering::Relaxed)
16528
16658
  ),
16529
- (lookups, builds + 1)
16659
+ (lookups, builds + 2)
16530
16660
  );
16531
16661
  assert_eq!(
16532
16662
  store.prepared_disk.entry_text_state(&root_key),
@@ -16539,7 +16669,7 @@ mod tests {
16539
16669
  store.fact_lookups.load(Ordering::Relaxed),
16540
16670
  store.fact_builds.load(Ordering::Relaxed)
16541
16671
  ),
16542
- (lookups + 1, builds + 2)
16672
+ (lookups + 1, builds + 3)
16543
16673
  );
16544
16674
  assert_eq!(
16545
16675
  store.prepared_disk.entry_text_state(&root_key),
@@ -16563,7 +16693,7 @@ mod tests {
16563
16693
  );
16564
16694
  assert_eq!(
16565
16695
  store.fact_builds.load(Ordering::Relaxed),
16566
- builds + 2,
16696
+ builds + 3,
16567
16697
  "a selected view rebuilt its facts"
16568
16698
  );
16569
16699
  evict_memory_facts(&store, &source.path);
@@ -16580,7 +16710,7 @@ mod tests {
16580
16710
  json!({"kind":"observed_scalar","value":false,"observers":[false]}),
16581
16711
  "{observed:?}"
16582
16712
  );
16583
- assert_eq!(store.fact_builds.load(Ordering::Relaxed), builds + 2);
16713
+ assert_eq!(store.fact_builds.load(Ordering::Relaxed), builds + 3);
16584
16714
  store.assert_conserved();
16585
16715
  }
16586
16716
 
@@ -20216,7 +20346,10 @@ mod tests {
20216
20346
  .unwrap()
20217
20347
  .root,
20218
20348
  );
20219
- let bound = slice_bytes.max(super::ledger_tests::facts_bound_walk(&root));
20349
+ let bound = slice_bytes.max(crate::snapshot_projection::facts_bound(
20350
+ &root,
20351
+ FactsNeed::Index,
20352
+ ));
20220
20353
  let query = slice_query(&prepared);
20221
20354
  let record = size_of::<PreparedQueryCursor>()
20222
20355
  + owner["claimant"].as_str().unwrap().len()