cc-transcript 14.45.14__tar.gz → 14.45.16__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.14 → cc_transcript-14.45.16}/PKG-INFO +1 -1
  2. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/pyproject.toml +1 -1
  3. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/snapshot.rs +107 -30
  4. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/snapshot_activity.rs +17 -0
  5. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/snapshot_ledger_tests.rs +636 -88
  6. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/snapshot_prepared_service.rs +326 -250
  7. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/snapshot_projection.rs +615 -48
  8. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/Cargo.lock +0 -0
  9. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/Cargo.toml +0 -0
  10. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/LICENSE +0 -0
  11. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/README.md +0 -0
  12. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/__init__.py +0 -0
  13. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/__init__.pyi +0 -0
  14. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/_native.pyi +0 -0
  15. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/activity.py +0 -0
  16. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/activity_probe.py +0 -0
  17. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/builders.py +0 -0
  18. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/codex.py +0 -0
  19. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/command.py +0 -0
  20. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/context.py +0 -0
  21. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/corrections.py +0 -0
  22. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/cost.py +0 -0
  23. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/decision_store.py +0 -0
  24. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/decisions.py +0 -0
  25. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/discovery.py +0 -0
  26. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/disktruth.py +0 -0
  27. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/evidence.py +0 -0
  28. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/extract/__init__.py +0 -0
  29. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/extract/correct.py +0 -0
  30. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/facts.py +0 -0
  31. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/filterspec.py +0 -0
  32. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/heartbeats.py +0 -0
  33. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/ids.py +0 -0
  34. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/judge/__init__.py +0 -0
  35. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/judge/llm.py +0 -0
  36. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/judge/similar.py +0 -0
  37. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/judge/verdicts.py +0 -0
  38. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/ledger.py +0 -0
  39. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/literals.py +0 -0
  40. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/mining/__init__.py +0 -0
  41. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/mining/candidates.py +0 -0
  42. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/mining/confidence.py +0 -0
  43. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/mining/engine.py +0 -0
  44. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/mining/formats.py +0 -0
  45. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/mining/sampling.py +0 -0
  46. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/mining/signals.py +0 -0
  47. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/mining/sourcekind.py +0 -0
  48. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/mining/spec.py +0 -0
  49. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/mining/store.py +0 -0
  50. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/models.py +0 -0
  51. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/nlp.py +0 -0
  52. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/notifications.py +0 -0
  53. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/parser.py +0 -0
  54. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/py.typed +0 -0
  55. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/query.py +0 -0
  56. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/render.py +0 -0
  57. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/sentiment/__init__.py +0 -0
  58. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/sentiment/buckets.py +0 -0
  59. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/sentiment/data/afinn-en-165.tsv +0 -0
  60. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/sentiment/data/domain_overrides.tsv +0 -0
  61. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/sentiment/data/en-ewt.udpipe +0 -0
  62. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/sentiment/engine.py +0 -0
  63. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/sentiment/lexicon.py +0 -0
  64. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/sentiment/scorespec.py +0 -0
  65. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/snapshot_schema/config.schema.json +0 -0
  66. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/snapshot_schema/context.schema.json +0 -0
  67. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/snapshot_schema/request.schema.json +0 -0
  68. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/snapshot_schema/response.schema.json +0 -0
  69. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/snapshot_schema/tool_registry.schema.json +0 -0
  70. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/snapshots.py +0 -0
  71. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/synthetic.py +0 -0
  72. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/tools.py +0 -0
  73. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/cc_transcript/watch.py +0 -0
  74. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/cli/Cargo.toml +0 -0
  75. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/cli/src/commands/blame.rs +0 -0
  76. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/cli/src/commands/corpus.rs +0 -0
  77. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/cli/src/commands/corrections.rs +0 -0
  78. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/cli/src/commands/digest.rs +0 -0
  79. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/cli/src/commands/facts.rs +0 -0
  80. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/cli/src/commands/grep.rs +0 -0
  81. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/cli/src/commands/list.rs +0 -0
  82. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/cli/src/commands/mod.rs +0 -0
  83. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/cli/src/commands/scratchpad.rs +0 -0
  84. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/cli/src/commands/show.rs +0 -0
  85. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/cli/src/commands/slice.rs +0 -0
  86. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/cli/src/commands/stats.rs +0 -0
  87. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/cli/src/commands/watch.rs +0 -0
  88. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/cli/src/lib.rs +0 -0
  89. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/cli/src/output.rs +0 -0
  90. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/cli/src/target.rs +0 -0
  91. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/cli/src/timearg.rs +0 -0
  92. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/Cargo.toml +0 -0
  93. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/benches/parse.rs +0 -0
  94. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/benches/render.rs +0 -0
  95. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/benches/toolcall.rs +0 -0
  96. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/build.rs +0 -0
  97. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/activity.rs +0 -0
  98. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/actor.rs +0 -0
  99. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/blame.rs +0 -0
  100. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/buckets.rs +0 -0
  101. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/codex/discovery.rs +0 -0
  102. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/codex/lower.rs +0 -0
  103. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/codex/mod.rs +0 -0
  104. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/codex/parse.rs +0 -0
  105. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/codex/probe.rs +0 -0
  106. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/codex/protocol.rs +0 -0
  107. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/codex/types.rs +0 -0
  108. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/command.rs +0 -0
  109. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/context.rs +0 -0
  110. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/corrections.rs +0 -0
  111. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/cost.rs +0 -0
  112. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/discovery.rs +0 -0
  113. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/facts.rs +0 -0
  114. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/feedback.rs +0 -0
  115. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/filter.rs +0 -0
  116. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/gateway.rs +0 -0
  117. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/ids.rs +0 -0
  118. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/judge.rs +0 -0
  119. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/lib.rs +0 -0
  120. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/literals/command.rs +0 -0
  121. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/literals/corrections.rs +0 -0
  122. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/literals/feedback.rs +0 -0
  123. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/literals/mining.rs +0 -0
  124. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/literals/mod.rs +0 -0
  125. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/literals/protocol.rs +0 -0
  126. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/notifications.rs +0 -0
  127. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/parse.rs +0 -0
  128. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/protocol.rs +0 -0
  129. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/pystr.rs +0 -0
  130. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/query.rs +0 -0
  131. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/render.rs +0 -0
  132. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/rng.rs +0 -0
  133. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/scan.rs +0 -0
  134. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/scan_checkpoint.rs +0 -0
  135. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/scan_grep.rs +0 -0
  136. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/scan_grep_stream.rs +0 -0
  137. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/scan_grep_stream_tests.rs +0 -0
  138. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/scan_index.rs +0 -0
  139. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/scan_projection.rs +0 -0
  140. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/scan_regressions.rs +0 -0
  141. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/scan_stream.rs +0 -0
  142. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/schema.rs +0 -0
  143. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/snapshot_codec.rs +0 -0
  144. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/snapshot_codex_append.rs +0 -0
  145. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/snapshot_labels.rs +0 -0
  146. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/snapshot_ledger.rs +0 -0
  147. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/snapshot_memory.rs +0 -0
  148. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/snapshot_owned.rs +0 -0
  149. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/snapshot_prepared.rs +0 -0
  150. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/snapshot_prepared_disk.rs +0 -0
  151. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/snapshot_regressions.rs +0 -0
  152. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/snapshot_root_warm.rs +0 -0
  153. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/snapshot_text.rs +0 -0
  154. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/sqlite.rs +0 -0
  155. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/toolcall.rs +0 -0
  156. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/types.rs +0 -0
  157. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/value.rs +0 -0
  158. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/src/watch.rs +0 -0
  159. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/tests/sonic_arena_model.rs +0 -0
  160. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/core/tests/std_allocation_model.rs +0 -0
  161. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/Cargo.toml +0 -0
  162. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/build.rs +0 -0
  163. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/data/command_prefix_pins.tsv +0 -0
  164. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/actor_bridge.rs +0 -0
  165. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/bin/stub_gen.rs +0 -0
  166. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/codex.rs +0 -0
  167. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/command.rs +0 -0
  168. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/context.rs +0 -0
  169. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/corrections.rs +0 -0
  170. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/discovery.rs +0 -0
  171. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/feedback.rs +0 -0
  172. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/judge.rs +0 -0
  173. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/lexicon.rs +0 -0
  174. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/lib.rs +0 -0
  175. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/mining.rs +0 -0
  176. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/nlp.rs +0 -0
  177. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/python.rs +0 -0
  178. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/render.rs +0 -0
  179. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/score.rs +0 -0
  180. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/snapshot_decode.rs +0 -0
  181. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/snapshots.rs +0 -0
  182. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/sqlite.rs +0 -0
  183. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/toolcall.rs +0 -0
  184. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/views/attachment.rs +0 -0
  185. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/views/blocks.rs +0 -0
  186. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/views/command.rs +0 -0
  187. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/views/convert.rs +0 -0
  188. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/views/dunder.rs +0 -0
  189. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/views/events.rs +0 -0
  190. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/views/meta.rs +0 -0
  191. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/views/mod.rs +0 -0
  192. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/views/print.rs +0 -0
  193. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/views/store.rs +0 -0
  194. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/views/system.rs +0 -0
  195. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/views/toolcall.rs +0 -0
  196. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/views/toolresult.rs +0 -0
  197. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/rust/crates/py/src/views/transcript.rs +0 -0
  198. {cc_transcript-14.45.14 → cc_transcript-14.45.16}/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.14
3
+ Version: 14.45.16
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.14" # informational — releases stamp the version from the git tag
3
+ version = "14.45.16" # 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 = {
@@ -11660,6 +11651,60 @@ mod tests {
11660
11651
  assert_eq!(state.counters[4], 1);
11661
11652
  assert_eq!(state.counters[1], pinned_size + 128);
11662
11653
  }
11654
+ #[test]
11655
+ fn turn_projection_cursor_preserves_native_page_status_and_zero_item_incompleteness() {
11656
+ let source = Source::new(
11657
+ &(0..600)
11658
+ .map(|index| format!("{}\n", user(&format!("u{index}"))))
11659
+ .collect::<String>(),
11660
+ );
11661
+ let store = NativeStore::new(&json!({})).unwrap();
11662
+ let owner = context("turn-pages");
11663
+ let cancel = Cancellation::default();
11664
+ let mut acquiring = acquire(&source.path);
11665
+ acquiring["limits"].insert("max_events", json!(10000));
11666
+ let root = finish(&store, store.request(&acquiring, &owner, &cancel), &owner);
11667
+ assert_eq!(root["status"].as_str(), Some("ok"));
11668
+ for reverse in [false, true] {
11669
+ let mut req = graph_request(
11670
+ &root,
11671
+ json!({"kind":"turns","order":if reverse {"reverse"} else {"forward"}}),
11672
+ Vec::new(),
11673
+ json!([]),
11674
+ );
11675
+ req["limits"].insert("max_events", json!(10000));
11676
+ req["limits"].insert("max_items", json!(600));
11677
+ req["limits"].insert("max_read_bytes", json!(16 * 1024 * 1024));
11678
+ let mut response = store.request(&req, &owner, &cancel);
11679
+ for (page_index, expected_items) in [256, 256, 88].into_iter().enumerate() {
11680
+ assert_eq!(
11681
+ response["data"]["records_json"].as_array().unwrap().len(),
11682
+ expected_items
11683
+ );
11684
+ if page_index == 2 {
11685
+ assert_eq!(response["status"].as_str(), Some("ok"));
11686
+ assert!(response["cursor"].is_null());
11687
+ assert!(response["reason"].is_null());
11688
+ } else {
11689
+ assert_eq!(response["status"].as_str(), Some("incomplete"));
11690
+ assert_eq!(response["reason"].as_str(), Some("item_limit"));
11691
+ let cursor = response["cursor"].as_str().unwrap().to_owned();
11692
+ response = store.request(
11693
+ &json!({"schema":SCHEMA,"id":"turn-resume","operation":"resume","cursor":cursor}),
11694
+ &owner,
11695
+ &cancel,
11696
+ );
11697
+ }
11698
+ }
11699
+ req["limits"].insert("max_items", json!(0));
11700
+ let zero = store.request(&req, &owner, &cancel);
11701
+ assert_eq!(zero["status"].as_str(), Some("incomplete"));
11702
+ assert_eq!(zero["reason"].as_str(), Some("item_limit"));
11703
+ assert!(zero["cursor"].is_null());
11704
+ assert!(zero["data"]["records_json"].as_array().unwrap().is_empty());
11705
+ }
11706
+ }
11707
+
11663
11708
  fn graph_request(
11664
11709
  root: &Value,
11665
11710
  query: Value,
@@ -16435,6 +16480,12 @@ mod tests {
16435
16480
 
16436
16481
  #[test]
16437
16482
  fn selected_root_slices_answer_has_override_within_their_view() {
16483
+ for observer_first in [false, true] {
16484
+ selected_root_slice_upgrade(observer_first);
16485
+ }
16486
+ }
16487
+
16488
+ fn selected_root_slice_upgrade(observer_first: bool) {
16438
16489
  let source = Source::new(&format!(
16439
16490
  "{}\n{}\n",
16440
16491
  user_text("first", "TOKEN-ROOT"),
@@ -16465,14 +16516,37 @@ mod tests {
16465
16516
  let root_key = fact_entry_key(&source.path, &owner);
16466
16517
  let lookups = store.fact_lookups.load(Ordering::Relaxed);
16467
16518
  let builds = store.fact_builds.load(Ordering::Relaxed);
16468
- let scoped = ask(current_turn(), has_override("TOKEN-ROOT", &[]), None);
16519
+ let indexed = ask(current_turn(), has_tool("Missing"), None);
16520
+ assert_eq!(value_of(&indexed), Some(false));
16521
+ {
16522
+ let state = store.lock_state();
16523
+ let graph = state.prepared_graphs
16524
+ [graph["data"]["handle"]["graph_id"].as_str().unwrap()]
16525
+ .lock()
16526
+ .unwrap();
16527
+ let facts = graph.root_slices.values().next().unwrap();
16528
+ assert!(facts.serves(FactsNeed::Index));
16529
+ assert!(!facts.serves(FactsNeed::Full));
16530
+ }
16531
+ let scoped = if observer_first {
16532
+ ask(
16533
+ current_turn(),
16534
+ has_tool("Missing"),
16535
+ Some(json!([has_override("TOKEN-ROOT", &[])])),
16536
+ )
16537
+ } else {
16538
+ ask(current_turn(), has_override("TOKEN-ROOT", &[]), None)
16539
+ };
16469
16540
  assert_eq!(value_of(&scoped), Some(false));
16541
+ if observer_first {
16542
+ assert_eq!(scoped["data"]["observers"], json!([false]));
16543
+ }
16470
16544
  assert_eq!(
16471
16545
  (
16472
16546
  store.fact_lookups.load(Ordering::Relaxed),
16473
16547
  store.fact_builds.load(Ordering::Relaxed)
16474
16548
  ),
16475
- (lookups, builds + 1)
16549
+ (lookups, builds + 2)
16476
16550
  );
16477
16551
  assert_eq!(
16478
16552
  store.prepared_disk.entry_text_state(&root_key),
@@ -16485,7 +16559,7 @@ mod tests {
16485
16559
  store.fact_lookups.load(Ordering::Relaxed),
16486
16560
  store.fact_builds.load(Ordering::Relaxed)
16487
16561
  ),
16488
- (lookups + 1, builds + 2)
16562
+ (lookups + 1, builds + 3)
16489
16563
  );
16490
16564
  assert_eq!(
16491
16565
  store.prepared_disk.entry_text_state(&root_key),
@@ -16509,7 +16583,7 @@ mod tests {
16509
16583
  );
16510
16584
  assert_eq!(
16511
16585
  store.fact_builds.load(Ordering::Relaxed),
16512
- builds + 2,
16586
+ builds + 3,
16513
16587
  "a selected view rebuilt its facts"
16514
16588
  );
16515
16589
  evict_memory_facts(&store, &source.path);
@@ -16526,7 +16600,7 @@ mod tests {
16526
16600
  json!({"kind":"observed_scalar","value":false,"observers":[false]}),
16527
16601
  "{observed:?}"
16528
16602
  );
16529
- assert_eq!(store.fact_builds.load(Ordering::Relaxed), builds + 2);
16603
+ assert_eq!(store.fact_builds.load(Ordering::Relaxed), builds + 3);
16530
16604
  store.assert_conserved();
16531
16605
  }
16532
16606
 
@@ -20162,7 +20236,10 @@ mod tests {
20162
20236
  .unwrap()
20163
20237
  .root,
20164
20238
  );
20165
- let bound = slice_bytes.max(super::ledger_tests::facts_bound_walk(&root));
20239
+ let bound = slice_bytes.max(crate::snapshot_projection::facts_bound(
20240
+ &root,
20241
+ FactsNeed::Index,
20242
+ ));
20166
20243
  let query = slice_query(&prepared);
20167
20244
  let record = size_of::<PreparedQueryCursor>()
20168
20245
  + owner["claimant"].as_str().unwrap().len()
@@ -41,6 +41,7 @@ pub(crate) struct CachedCall {
41
41
  #[derive(Debug, Clone)]
42
42
  pub(crate) struct CachedTurn {
43
43
  prompt: String,
44
+ prompt_count: usize,
44
45
  bounds: Range<usize>,
45
46
  started: Option<usize>,
46
47
  ended: Option<usize>,
@@ -252,6 +253,8 @@ impl ActivityIndex {
252
253
  }
253
254
  }
254
255
  let turn = CachedTurn {
256
+ prompt_count: next.prompt_count_before(next.turn_count())
257
+ + usize::from(!indexed.prompt.is_empty()),
255
258
  prompt: indexed.prompt,
256
259
  bounds: first_new_index + indexed.start..first_new_index + indexed.end,
257
260
  started: indexed.started_idx.map(|i| first_new_index + i),
@@ -299,6 +302,19 @@ impl ActivityIndex {
299
302
  self.turns.get(index).map(|turn| turn.prompt.as_str())
300
303
  }
301
304
 
305
+ pub(crate) fn prompt_count_before(&self, turn: usize) -> usize {
306
+ if turn == 0 {
307
+ 0
308
+ } else {
309
+ self.turns[turn - 1].prompt_count
310
+ }
311
+ }
312
+
313
+ pub(crate) fn prompt_turn(&self, ordinal: usize) -> usize {
314
+ self.turns
315
+ .partition_point(|turn| turn.prompt_count <= ordinal)
316
+ }
317
+
302
318
  pub fn turn_bounds(&self, index: usize) -> Option<Range<usize>> {
303
319
  self.turns.get(index).map(|turn| turn.bounds.clone())
304
320
  }
@@ -558,6 +574,7 @@ impl ActivityIndex {
558
574
  for turn in turns.iter() {
559
575
  let CachedTurn {
560
576
  prompt,
577
+ prompt_count: _,
561
578
  bounds: _,
562
579
  started: _,
563
580
  ended: _,