cc-transcript 14.41.0__tar.gz → 14.43.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.
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/PKG-INFO +1 -1
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/snapshot_schema/config.schema.json +15 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/pyproject.toml +1 -1
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/Cargo.toml +3 -0
- cc_transcript-14.43.0/rust/crates/core/build.rs +84 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/lib.rs +2 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/snapshot.rs +79 -6
- cc_transcript-14.43.0/rust/crates/core/src/snapshot_prepared_disk.rs +3423 -0
- cc_transcript-14.41.0/rust/crates/core/src/snapshot_prepared_disk.rs +0 -1908
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/Cargo.lock +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/Cargo.toml +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/LICENSE +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/README.md +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/__init__.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/__init__.pyi +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/_native.pyi +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/activity.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/activity_probe.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/builders.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/codex.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/command.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/context.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/corrections.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/cost.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/decision_store.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/decisions.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/discovery.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/disktruth.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/evidence.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/extract/__init__.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/extract/correct.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/facts.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/filterspec.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/heartbeats.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/ids.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/judge/__init__.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/judge/llm.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/judge/similar.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/judge/verdicts.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/ledger.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/literals.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/mining/__init__.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/mining/candidates.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/mining/confidence.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/mining/engine.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/mining/formats.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/mining/sampling.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/mining/signals.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/mining/sourcekind.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/mining/spec.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/mining/store.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/models.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/nlp.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/notifications.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/parser.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/py.typed +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/query.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/render.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/sentiment/__init__.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/sentiment/buckets.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/sentiment/data/afinn-en-165.tsv +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/sentiment/data/domain_overrides.tsv +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/sentiment/data/en-ewt.udpipe +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/sentiment/engine.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/sentiment/lexicon.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/sentiment/scorespec.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/snapshot_schema/context.schema.json +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/snapshot_schema/request.schema.json +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/snapshot_schema/response.schema.json +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/snapshot_schema/tool_registry.schema.json +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/snapshots.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/synthetic.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/tools.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/watch.py +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/cli/Cargo.toml +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/cli/src/commands/blame.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/cli/src/commands/corpus.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/cli/src/commands/corrections.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/cli/src/commands/digest.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/cli/src/commands/facts.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/cli/src/commands/grep.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/cli/src/commands/list.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/cli/src/commands/mod.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/cli/src/commands/scratchpad.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/cli/src/commands/show.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/cli/src/commands/slice.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/cli/src/commands/stats.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/cli/src/commands/watch.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/cli/src/lib.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/cli/src/output.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/cli/src/target.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/cli/src/timearg.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/benches/parse.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/benches/render.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/benches/toolcall.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/activity.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/actor.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/blame.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/buckets.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/codex/discovery.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/codex/lower.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/codex/mod.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/codex/parse.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/codex/probe.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/codex/protocol.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/codex/types.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/command.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/context.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/corrections.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/cost.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/discovery.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/facts.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/feedback.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/filter.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/gateway.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/ids.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/judge.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/literals/command.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/literals/corrections.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/literals/feedback.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/literals/mining.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/literals/mod.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/literals/protocol.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/notifications.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/parse.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/protocol.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/pystr.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/query.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/render.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/rng.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/scan.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/scan_checkpoint.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/scan_grep.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/scan_grep_stream.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/scan_grep_stream_tests.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/scan_index.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/scan_projection.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/scan_regressions.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/scan_stream.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/schema.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/snapshot_activity.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/snapshot_codec.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/snapshot_codex_append.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/snapshot_labels.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/snapshot_ledger.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/snapshot_ledger_tests.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/snapshot_memory.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/snapshot_owned.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/snapshot_prepared.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/snapshot_prepared_service.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/snapshot_projection.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/snapshot_regressions.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/snapshot_root_warm.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/snapshot_text.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/sqlite.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/toolcall.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/types.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/value.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/src/watch.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/tests/sonic_arena_model.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/core/tests/std_allocation_model.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/Cargo.toml +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/build.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/data/command_prefix_pins.tsv +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/actor_bridge.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/bin/stub_gen.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/codex.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/command.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/context.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/corrections.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/discovery.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/feedback.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/judge.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/lexicon.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/lib.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/mining.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/nlp.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/python.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/render.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/score.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/snapshot_decode.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/snapshots.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/sqlite.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/toolcall.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/views/attachment.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/views/blocks.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/views/command.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/views/convert.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/views/dunder.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/views/events.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/views/meta.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/views/mod.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/views/print.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/views/store.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/views/system.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/views/toolcall.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/views/toolresult.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/views/transcript.rs +0 -0
- {cc_transcript-14.41.0 → cc_transcript-14.43.0}/rust/crates/py/src/watch.rs +0 -0
{cc_transcript-14.41.0 → cc_transcript-14.43.0}/cc_transcript/snapshot_schema/config.schema.json
RENAMED
|
@@ -129,6 +129,21 @@
|
|
|
129
129
|
"title": "Max Source Bytes",
|
|
130
130
|
"type": "integer"
|
|
131
131
|
},
|
|
132
|
+
"prepared_fact_producer": {
|
|
133
|
+
"anyOf": [
|
|
134
|
+
{
|
|
135
|
+
"maxLength": 256,
|
|
136
|
+
"minLength": 1,
|
|
137
|
+
"type": "string"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"type": "null"
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
"default": null,
|
|
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
|
+
"title": "Prepared Fact Producer"
|
|
146
|
+
},
|
|
132
147
|
"reserved_hook_accounted_bytes": {
|
|
133
148
|
"default": 536870912,
|
|
134
149
|
"exclusiveMinimum": 0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "cc-transcript"
|
|
3
|
-
version = "14.
|
|
3
|
+
version = "14.43.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
|
+
}
|
|
@@ -3129,18 +3129,31 @@ impl NativeStore {
|
|
|
3129
3129
|
);
|
|
3130
3130
|
}
|
|
3131
3131
|
}
|
|
3132
|
-
|
|
3132
|
+
let footprint = number(&Self::gauges(&mut state), "retained_total_accounted_bytes")?;
|
|
3133
|
+
if footprint > config.retained {
|
|
3133
3134
|
return Err(invalid("retained cap below startup footprint"));
|
|
3134
3135
|
}
|
|
3135
3136
|
#[cfg(test)]
|
|
3136
3137
|
let audits = Arc::clone(&state.audits);
|
|
3138
|
+
let prepared_disk = crate::snapshot_prepared_disk::PreparedDiskCache::new(
|
|
3139
|
+
&owner_epoch,
|
|
3140
|
+
get("max_prepared_disk_bytes", 2 * 1024 * 1024 * 1024),
|
|
3141
|
+
&crate::snapshot_prepared_disk::FactOrigin {
|
|
3142
|
+
producer: value.get("prepared_fact_producer").and_then(Value::as_str),
|
|
3143
|
+
engine: crate::BUILD_IDENTITY,
|
|
3144
|
+
max_source_bytes: config.source,
|
|
3145
|
+
max_entry_bytes: config.entry,
|
|
3146
|
+
},
|
|
3147
|
+
config
|
|
3148
|
+
.retained
|
|
3149
|
+
.saturating_sub(config.hook_bytes)
|
|
3150
|
+
.saturating_sub(footprint),
|
|
3151
|
+
work.clone(),
|
|
3152
|
+
)?;
|
|
3153
|
+
state.prepared_disk_index_bytes = prepared_disk.index_bytes();
|
|
3137
3154
|
Ok(Self {
|
|
3138
3155
|
config,
|
|
3139
|
-
prepared_disk
|
|
3140
|
-
&owner_epoch,
|
|
3141
|
-
get("max_prepared_disk_bytes", 2 * 1024 * 1024 * 1024),
|
|
3142
|
-
work.clone(),
|
|
3143
|
-
)?,
|
|
3156
|
+
prepared_disk,
|
|
3144
3157
|
owner_epoch,
|
|
3145
3158
|
default_registry,
|
|
3146
3159
|
seed,
|
|
@@ -13171,6 +13184,66 @@ mod tests {
|
|
|
13171
13184
|
assert!(after[1] > before[1]);
|
|
13172
13185
|
}
|
|
13173
13186
|
|
|
13187
|
+
#[test]
|
|
13188
|
+
fn restarted_owner_reuses_prepared_facts_for_unchanged_sources() {
|
|
13189
|
+
let namespace = std::fs::canonicalize(std::env::temp_dir())
|
|
13190
|
+
.unwrap()
|
|
13191
|
+
.join(format!(
|
|
13192
|
+
"cc-transcript-prepared-reuse-{}-{}",
|
|
13193
|
+
std::process::id(),
|
|
13194
|
+
now_ms()
|
|
13195
|
+
));
|
|
13196
|
+
crate::snapshot_prepared_disk::REUSE_NAMESPACE_OVERRIDE
|
|
13197
|
+
.with(|path| *path.borrow_mut() = Some(namespace.clone()));
|
|
13198
|
+
let tool = r#"{"type":"assistant","uuid":"tool","sessionId":"s","timestamp":"2026-01-02T03:04:06Z","message":{"model":"test","content":[{"type":"tool_use","id":"read","name":"Read","input":{"file_path":"/tmp/changed"}}]}}"#;
|
|
13199
|
+
let source = Source::new(&format!("{}\n", user("root")));
|
|
13200
|
+
let changed = source.directory.join("changed.jsonl");
|
|
13201
|
+
let stable = source.directory.join("stable.jsonl");
|
|
13202
|
+
std::fs::write(&changed, format!("{}\n", user("before"))).unwrap();
|
|
13203
|
+
std::fs::write(&stable, format!("{}\n", user("stable"))).unwrap();
|
|
13204
|
+
let config = json!({"prepared_fact_producer":"restart-test"});
|
|
13205
|
+
let owner = context("a");
|
|
13206
|
+
let serve = |store: &NativeStore| {
|
|
13207
|
+
let root = finish(
|
|
13208
|
+
store,
|
|
13209
|
+
store.request(&acquire(&source.path), &owner, &Cancellation::default()),
|
|
13210
|
+
&owner,
|
|
13211
|
+
);
|
|
13212
|
+
let template = acquire(&source.path);
|
|
13213
|
+
let prepare = json!({"schema":SCHEMA,"id":"prepare","operation":"prepare_graph","view":{"handle":handle(&root),"classifier":{"id":"native","version":"1"},"selectors":[],"attachments":[]},"thread_ids":[],"roots":[],"direct_paths":[stable.to_string_lossy().as_ref(),changed.to_string_lossy().as_ref()],"deadline_unix_ms":template["deadline_unix_ms"],"limits":template["limits"]});
|
|
13214
|
+
let graph = finish(
|
|
13215
|
+
store,
|
|
13216
|
+
store.request(&prepare, &owner, &Cancellation::default()),
|
|
13217
|
+
&owner,
|
|
13218
|
+
);
|
|
13219
|
+
assert_eq!(graph["status"].as_str(), Some("ok"), "{graph:?}");
|
|
13220
|
+
let answer = finish_prepared(
|
|
13221
|
+
store,
|
|
13222
|
+
store.request(&json!({"schema":SCHEMA,"id":"query","operation":"query_graph","handle":graph["data"]["handle"],"selectors":[],"query":{"kind":"has_tool","pattern":"Read","subagents":true},"deadline_unix_ms":template["deadline_unix_ms"],"limits":template["limits"]}), &owner, &Cancellation::default()),
|
|
13223
|
+
&owner,
|
|
13224
|
+
);
|
|
13225
|
+
assert_eq!(answer["status"].as_str(), Some("ok"), "{answer:?}");
|
|
13226
|
+
answer["data"]["value"].as_bool()
|
|
13227
|
+
};
|
|
13228
|
+
let first = NativeStore::new(&config).unwrap();
|
|
13229
|
+
assert_eq!(serve(&first), Some(false));
|
|
13230
|
+
let built = first.prepared_disk.stats().writes;
|
|
13231
|
+
drop(first);
|
|
13232
|
+
std::fs::write(&changed, format!("{}\n{tool}\n", user("after"))).unwrap();
|
|
13233
|
+
let restarted = NativeStore::new(&config).unwrap();
|
|
13234
|
+
assert_eq!(serve(&restarted), Some(true));
|
|
13235
|
+
let rebuilt = restarted.prepared_disk.stats().writes;
|
|
13236
|
+
assert!(
|
|
13237
|
+
rebuilt >= 1 && rebuilt < built,
|
|
13238
|
+
"the restarted owner wrote {rebuilt} facts where the first wrote {built}"
|
|
13239
|
+
);
|
|
13240
|
+
restarted.assert_conserved();
|
|
13241
|
+
drop(restarted);
|
|
13242
|
+
crate::snapshot_prepared_disk::REUSE_NAMESPACE_OVERRIDE
|
|
13243
|
+
.with(|path| *path.borrow_mut() = None);
|
|
13244
|
+
std::fs::remove_dir_all(namespace).unwrap();
|
|
13245
|
+
}
|
|
13246
|
+
|
|
13174
13247
|
#[test]
|
|
13175
13248
|
fn prepared_negative_rechecks_sidechain_membership() {
|
|
13176
13249
|
let source = Source::new(&format!("{}\n", user("root")));
|