cc-transcript 14.44.0__tar.gz → 14.45.1__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.44.0 → cc_transcript-14.45.1}/PKG-INFO +1 -1
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/snapshot_schema/config.schema.json +4 -4
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/pyproject.toml +1 -1
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/cli/src/commands/grep.rs +91 -18
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/scan.rs +146 -66
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/scan_grep.rs +2 -2
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/scan_regressions.rs +6 -6
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/snapshot.rs +426 -19
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/snapshot_ledger_tests.rs +8 -6
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/snapshot_prepared_disk.rs +26 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/snapshot_prepared_service.rs +50 -9
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/Cargo.lock +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/Cargo.toml +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/LICENSE +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/README.md +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/__init__.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/__init__.pyi +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/_native.pyi +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/activity.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/activity_probe.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/builders.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/codex.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/command.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/context.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/corrections.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/cost.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/decision_store.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/decisions.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/discovery.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/disktruth.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/evidence.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/extract/__init__.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/extract/correct.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/facts.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/filterspec.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/heartbeats.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/ids.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/judge/__init__.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/judge/llm.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/judge/similar.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/judge/verdicts.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/ledger.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/literals.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/mining/__init__.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/mining/candidates.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/mining/confidence.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/mining/engine.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/mining/formats.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/mining/sampling.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/mining/signals.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/mining/sourcekind.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/mining/spec.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/mining/store.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/models.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/nlp.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/notifications.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/parser.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/py.typed +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/query.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/render.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/sentiment/__init__.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/sentiment/buckets.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/sentiment/data/afinn-en-165.tsv +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/sentiment/data/domain_overrides.tsv +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/sentiment/data/en-ewt.udpipe +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/sentiment/engine.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/sentiment/lexicon.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/sentiment/scorespec.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/snapshot_schema/context.schema.json +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/snapshot_schema/request.schema.json +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/snapshot_schema/response.schema.json +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/snapshot_schema/tool_registry.schema.json +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/snapshots.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/synthetic.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/tools.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/watch.py +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/cli/Cargo.toml +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/cli/src/commands/blame.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/cli/src/commands/corpus.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/cli/src/commands/corrections.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/cli/src/commands/digest.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/cli/src/commands/facts.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/cli/src/commands/list.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/cli/src/commands/mod.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/cli/src/commands/scratchpad.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/cli/src/commands/show.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/cli/src/commands/slice.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/cli/src/commands/stats.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/cli/src/commands/watch.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/cli/src/lib.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/cli/src/output.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/cli/src/target.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/cli/src/timearg.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/Cargo.toml +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/benches/parse.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/benches/render.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/benches/toolcall.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/build.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/activity.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/actor.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/blame.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/buckets.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/codex/discovery.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/codex/lower.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/codex/mod.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/codex/parse.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/codex/probe.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/codex/protocol.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/codex/types.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/command.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/context.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/corrections.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/cost.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/discovery.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/facts.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/feedback.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/filter.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/gateway.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/ids.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/judge.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/lib.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/literals/command.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/literals/corrections.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/literals/feedback.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/literals/mining.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/literals/mod.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/literals/protocol.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/notifications.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/parse.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/protocol.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/pystr.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/query.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/render.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/rng.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/scan_checkpoint.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/scan_grep_stream.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/scan_grep_stream_tests.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/scan_index.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/scan_projection.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/scan_stream.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/schema.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/snapshot_activity.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/snapshot_codec.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/snapshot_codex_append.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/snapshot_labels.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/snapshot_ledger.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/snapshot_memory.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/snapshot_owned.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/snapshot_prepared.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/snapshot_projection.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/snapshot_regressions.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/snapshot_root_warm.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/snapshot_text.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/sqlite.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/toolcall.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/types.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/value.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/src/watch.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/tests/sonic_arena_model.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/core/tests/std_allocation_model.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/Cargo.toml +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/build.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/data/command_prefix_pins.tsv +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/actor_bridge.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/bin/stub_gen.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/codex.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/command.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/context.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/corrections.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/discovery.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/feedback.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/judge.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/lexicon.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/lib.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/mining.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/nlp.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/python.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/render.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/score.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/snapshot_decode.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/snapshots.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/sqlite.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/toolcall.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/views/attachment.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/views/blocks.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/views/command.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/views/convert.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/views/dunder.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/views/events.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/views/meta.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/views/mod.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/views/print.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/views/store.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/views/system.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/views/toolcall.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/views/toolresult.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/views/transcript.rs +0 -0
- {cc_transcript-14.44.0 → cc_transcript-14.45.1}/rust/crates/py/src/watch.rs +0 -0
{cc_transcript-14.44.0 → cc_transcript-14.45.1}/cc_transcript/snapshot_schema/config.schema.json
RENAMED
|
@@ -88,28 +88,28 @@
|
|
|
88
88
|
"type": "integer"
|
|
89
89
|
},
|
|
90
90
|
"max_scan_discovery_entries": {
|
|
91
|
-
"default":
|
|
91
|
+
"default": 1048576,
|
|
92
92
|
"exclusiveMinimum": 0,
|
|
93
93
|
"maximum": 9007199254740991,
|
|
94
94
|
"title": "Max Scan Discovery Entries",
|
|
95
95
|
"type": "integer"
|
|
96
96
|
},
|
|
97
97
|
"max_scan_events": {
|
|
98
|
-
"default":
|
|
98
|
+
"default": 4294967296,
|
|
99
99
|
"exclusiveMinimum": 0,
|
|
100
100
|
"maximum": 9007199254740991,
|
|
101
101
|
"title": "Max Scan Events",
|
|
102
102
|
"type": "integer"
|
|
103
103
|
},
|
|
104
104
|
"max_scan_read_bytes": {
|
|
105
|
-
"default":
|
|
105
|
+
"default": 1099511627776,
|
|
106
106
|
"exclusiveMinimum": 0,
|
|
107
107
|
"maximum": 9007199254740991,
|
|
108
108
|
"title": "Max Scan Read Bytes",
|
|
109
109
|
"type": "integer"
|
|
110
110
|
},
|
|
111
111
|
"max_scan_sources": {
|
|
112
|
-
"default":
|
|
112
|
+
"default": 1048576,
|
|
113
113
|
"exclusiveMinimum": 0,
|
|
114
114
|
"maximum": 9007199254740991,
|
|
115
115
|
"title": "Max Scan Sources",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "cc-transcript"
|
|
3
|
-
version = "14.
|
|
3
|
+
version = "14.45.1" # 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"
|
|
@@ -4,7 +4,7 @@ use std::path::{Path, PathBuf};
|
|
|
4
4
|
|
|
5
5
|
use cc_transcript_core::render::{compact_line, display_path, event_json, transcript_header, Json};
|
|
6
6
|
use cc_transcript_core::scan::{
|
|
7
|
-
scan_corpus, ScanBudget, ScanControl, ScanOutcome, ScanPlan, ScanSession,
|
|
7
|
+
scan_corpus, Budget, ScanBudget, ScanControl, ScanOutcome, ScanPlan, ScanSession,
|
|
8
8
|
};
|
|
9
9
|
use cc_transcript_core::scan_checkpoint::GrepCheckpoints;
|
|
10
10
|
use cc_transcript_core::scan_grep::{
|
|
@@ -38,13 +38,17 @@ pub struct ScanOptions {
|
|
|
38
38
|
pub max_output_bytes: Option<usize>,
|
|
39
39
|
#[arg(long, help = "Maximum filesystem entries examined during discovery.")]
|
|
40
40
|
pub max_discovery_entries: Option<usize>,
|
|
41
|
-
#[arg(long, help = "Maximum
|
|
41
|
+
#[arg(long, help = "Maximum transcripts the scan opens.")]
|
|
42
42
|
pub max_sources: Option<usize>,
|
|
43
43
|
#[arg(long, help = "Deadline for the complete scan in milliseconds.")]
|
|
44
44
|
pub timeout_ms: Option<u64>,
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
impl ScanOptions {
|
|
48
|
+
fn timeout_ms(&self, store: &NativeStore) -> u64 {
|
|
49
|
+
self.timeout_ms.unwrap_or_else(|| store.scan_timeout_ms())
|
|
50
|
+
}
|
|
51
|
+
|
|
48
52
|
fn apply(&self, mut limits: WorkLimits) -> Result<WorkLimits, CliExit> {
|
|
49
53
|
if let Some(n) = self.max_read_bytes {
|
|
50
54
|
limits.max_read_bytes = n;
|
|
@@ -150,16 +154,46 @@ fn output_error() -> SnapshotError {
|
|
|
150
154
|
SnapshotError::new(Status::OutputLimit, "stdout write failed")
|
|
151
155
|
}
|
|
152
156
|
|
|
157
|
+
fn raise(budget: Budget, limits: &WorkLimits, timeout_ms: u64) -> String {
|
|
158
|
+
let (flag, value) = match budget {
|
|
159
|
+
Budget::ReadBytes => ("--max-read-bytes", limits.max_read_bytes as u64),
|
|
160
|
+
Budget::SourceReadBytes if limits.max_source_read_bytes < limits.max_read_bytes => (
|
|
161
|
+
"--max-source-read-bytes",
|
|
162
|
+
limits.max_source_read_bytes as u64,
|
|
163
|
+
),
|
|
164
|
+
Budget::SourceReadBytes => ("--max-read-bytes", limits.max_read_bytes as u64),
|
|
165
|
+
Budget::Events => ("--max-events", limits.max_events as u64),
|
|
166
|
+
Budget::OutputBytes => ("--max-output-bytes", limits.max_output_bytes as u64),
|
|
167
|
+
Budget::DiscoveryEntries => (
|
|
168
|
+
"--max-discovery-entries",
|
|
169
|
+
limits.max_discovery_entries as u64,
|
|
170
|
+
),
|
|
171
|
+
Budget::Sources => ("--max-sources", limits.max_sources as u64),
|
|
172
|
+
Budget::Deadline => ("--timeout-ms", timeout_ms),
|
|
173
|
+
};
|
|
174
|
+
format!("raise {flag} above {value}")
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
fn stopped(outcome: &ScanOutcome) -> bool {
|
|
178
|
+
outcome
|
|
179
|
+
.reason
|
|
180
|
+
.as_deref()
|
|
181
|
+
.is_some_and(|reason| !reason.starts_with("result_limit"))
|
|
182
|
+
}
|
|
183
|
+
|
|
153
184
|
struct Emitter {
|
|
154
185
|
out: Out,
|
|
155
186
|
scan_json: bool,
|
|
156
187
|
first: bool,
|
|
157
188
|
exit: Option<i32>,
|
|
189
|
+
limits: WorkLimits,
|
|
190
|
+
timeout_ms: u64,
|
|
158
191
|
}
|
|
159
192
|
|
|
160
193
|
impl Emitter {
|
|
161
194
|
fn new(
|
|
162
195
|
scan_json: bool,
|
|
196
|
+
timeout_ms: u64,
|
|
163
197
|
budget: &mut ScanBudget,
|
|
164
198
|
_cancel: &Cancellation,
|
|
165
199
|
) -> Result<Self, CliExit> {
|
|
@@ -178,6 +212,8 @@ impl Emitter {
|
|
|
178
212
|
scan_json,
|
|
179
213
|
first: true,
|
|
180
214
|
exit: None,
|
|
215
|
+
limits: budget.limits,
|
|
216
|
+
timeout_ms,
|
|
181
217
|
})
|
|
182
218
|
}
|
|
183
219
|
|
|
@@ -188,6 +224,15 @@ impl Emitter {
|
|
|
188
224
|
cancel: &Cancellation,
|
|
189
225
|
) -> Result<(), SnapshotError> {
|
|
190
226
|
budget.charge_output(line.len().saturating_add(2), cancel)?;
|
|
227
|
+
self.write(line)
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
fn summary(&mut self, line: String, budget: &mut ScanBudget) -> Result<(), SnapshotError> {
|
|
231
|
+
budget.reserve_output(line.len().saturating_add(2))?;
|
|
232
|
+
self.write(line)
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
fn write(&mut self, line: String) -> Result<(), SnapshotError> {
|
|
191
236
|
let result = if self.scan_json && !self.first {
|
|
192
237
|
self.out.line(",").and_then(|()| self.out.line(&line))
|
|
193
238
|
} else {
|
|
@@ -223,7 +268,13 @@ impl Emitter {
|
|
|
223
268
|
eline(&format!("warning: partial view: {scope}"));
|
|
224
269
|
}
|
|
225
270
|
} else {
|
|
226
|
-
|
|
271
|
+
match outcome.budget {
|
|
272
|
+
Some(budget) => eline(&format!(
|
|
273
|
+
"warning: scan incomplete: {reason}; {}",
|
|
274
|
+
raise(budget, &self.limits, self.timeout_ms)
|
|
275
|
+
)),
|
|
276
|
+
None => eline(&format!("warning: scan incomplete: {reason}")),
|
|
277
|
+
}
|
|
227
278
|
return Err(CliExit(3));
|
|
228
279
|
}
|
|
229
280
|
}
|
|
@@ -305,11 +356,12 @@ fn result_suffix(event: &Entry, results: &HashMap<&str, GrepResultMetadata<'_>>)
|
|
|
305
356
|
pub fn run(args: GrepArgs) -> Result<(), CliExit> {
|
|
306
357
|
let store = NativeStore::new(&json!({})).map_err(snapshot_error)?;
|
|
307
358
|
let limits = args.scan_limits.apply(store.scan_limits())?;
|
|
359
|
+
let timeout_ms = args.scan_limits.timeout_ms(&store);
|
|
308
360
|
let cancel = Cancellation::default();
|
|
309
361
|
*crate::SCAN_CANCELLATION.lock().expect("scan cancellation") = Some(cancel.clone());
|
|
310
362
|
let _interrupt = ScanInterrupt;
|
|
311
363
|
if let Some(path) = &args.corpus {
|
|
312
|
-
return run_over_corpus(&store, &args, path, limits, cancel);
|
|
364
|
+
return run_over_corpus(&store, &args, path, limits, timeout_ms, cancel);
|
|
313
365
|
}
|
|
314
366
|
let mut session = ScanSession::new(&store, limits, cancel.clone());
|
|
315
367
|
let mut reducer = match prepare_reducer(&args, &mut session.budget, &cancel) {
|
|
@@ -320,6 +372,7 @@ pub fn run(args: GrepArgs) -> Result<(), CliExit> {
|
|
|
320
372
|
Err(error) => {
|
|
321
373
|
let emitter = Emitter::new(
|
|
322
374
|
args.scan_json,
|
|
375
|
+
timeout_ms,
|
|
323
376
|
&mut session.budget,
|
|
324
377
|
&Cancellation::default(),
|
|
325
378
|
)?;
|
|
@@ -344,7 +397,7 @@ pub fn run(args: GrepArgs) -> Result<(), CliExit> {
|
|
|
344
397
|
let checkpoints = checkpoints();
|
|
345
398
|
let mut render = Render {
|
|
346
399
|
args: &args,
|
|
347
|
-
emitter: Emitter::new(args.scan_json, &mut session.budget, &cancel)?,
|
|
400
|
+
emitter: Emitter::new(args.scan_json, timeout_ms, &mut session.budget, &cancel)?,
|
|
348
401
|
files: 0,
|
|
349
402
|
};
|
|
350
403
|
let mut outcome = session.each_source(&plan, |session, path| {
|
|
@@ -397,17 +450,23 @@ pub fn run(args: GrepArgs) -> Result<(), CliExit> {
|
|
|
397
450
|
} else {
|
|
398
451
|
String::new()
|
|
399
452
|
};
|
|
400
|
-
|
|
453
|
+
let partial = if stopped(&outcome) {
|
|
454
|
+
" so far (incomplete scan)"
|
|
455
|
+
} else {
|
|
456
|
+
""
|
|
457
|
+
};
|
|
458
|
+
if let Err(error) = render.emitter.summary(
|
|
401
459
|
format!(
|
|
402
|
-
"{} files, {} matches{note}{validated}",
|
|
460
|
+
"{} files, {} matches{partial}{note}{validated}",
|
|
403
461
|
render.files,
|
|
404
462
|
counts.iter().sum::<usize>()
|
|
405
463
|
),
|
|
406
464
|
&mut session.budget,
|
|
407
|
-
&cancel,
|
|
408
465
|
) {
|
|
409
|
-
outcome
|
|
410
|
-
|
|
466
|
+
if !stopped(&outcome) {
|
|
467
|
+
outcome.complete = false;
|
|
468
|
+
(outcome.reason, outcome.budget) = session.budget.explain(error);
|
|
469
|
+
}
|
|
411
470
|
}
|
|
412
471
|
outcome.progress = session.budget.progress.clone();
|
|
413
472
|
}
|
|
@@ -497,6 +556,7 @@ fn run_over_corpus(
|
|
|
497
556
|
args: &GrepArgs,
|
|
498
557
|
path: &Path,
|
|
499
558
|
limits: WorkLimits,
|
|
559
|
+
timeout_ms: u64,
|
|
500
560
|
cancel: Cancellation,
|
|
501
561
|
) -> Result<(), CliExit> {
|
|
502
562
|
let mut budget = ScanBudget::new(store, limits);
|
|
@@ -506,14 +566,19 @@ fn run_over_corpus(
|
|
|
506
566
|
return Err(usage_error(USAGE, HELP_PATH, &error.reason))
|
|
507
567
|
}
|
|
508
568
|
Err(error) => {
|
|
509
|
-
let emitter = Emitter::new(
|
|
569
|
+
let emitter = Emitter::new(
|
|
570
|
+
args.scan_json,
|
|
571
|
+
timeout_ms,
|
|
572
|
+
&mut budget,
|
|
573
|
+
&Cancellation::default(),
|
|
574
|
+
)?;
|
|
510
575
|
return emitter.finish(
|
|
511
576
|
&failed_outcome(error, &budget),
|
|
512
577
|
&vec![0; args.patterns.len() + 1],
|
|
513
578
|
);
|
|
514
579
|
}
|
|
515
580
|
};
|
|
516
|
-
let mut emitter = Emitter::new(args.scan_json, &mut budget, &cancel)?;
|
|
581
|
+
let mut emitter = Emitter::new(args.scan_json, timeout_ms, &mut budget, &cancel)?;
|
|
517
582
|
let mut outcome = scan_corpus(
|
|
518
583
|
path,
|
|
519
584
|
&mut budget,
|
|
@@ -557,17 +622,23 @@ fn run_over_corpus(
|
|
|
557
622
|
}
|
|
558
623
|
let counts = reducer.counts();
|
|
559
624
|
if !args.scan_json {
|
|
560
|
-
|
|
625
|
+
let partial = if stopped(&outcome) {
|
|
626
|
+
" so far (incomplete scan)"
|
|
627
|
+
} else {
|
|
628
|
+
""
|
|
629
|
+
};
|
|
630
|
+
if let Err(error) = emitter.summary(
|
|
561
631
|
format!(
|
|
562
|
-
"{} matches in {}",
|
|
632
|
+
"{} matches in {}{partial}",
|
|
563
633
|
counts.iter().sum::<usize>(),
|
|
564
634
|
display_path(&path.to_string_lossy())
|
|
565
635
|
),
|
|
566
636
|
&mut budget,
|
|
567
|
-
&cancel,
|
|
568
637
|
) {
|
|
569
|
-
outcome
|
|
570
|
-
|
|
638
|
+
if !stopped(&outcome) {
|
|
639
|
+
outcome.complete = false;
|
|
640
|
+
(outcome.reason, outcome.budget) = budget.explain(error);
|
|
641
|
+
}
|
|
571
642
|
}
|
|
572
643
|
outcome.progress = budget.progress.clone();
|
|
573
644
|
}
|
|
@@ -594,9 +665,11 @@ fn checkpoints() -> GrepCheckpoints {
|
|
|
594
665
|
}
|
|
595
666
|
|
|
596
667
|
fn failed_outcome(error: SnapshotError, budget: &ScanBudget) -> ScanOutcome {
|
|
668
|
+
let (reason, budget_stop) = budget.explain(error);
|
|
597
669
|
ScanOutcome {
|
|
598
670
|
complete: false,
|
|
599
|
-
reason
|
|
671
|
+
reason,
|
|
672
|
+
budget: budget_stop,
|
|
600
673
|
selected_sources: 0,
|
|
601
674
|
available_sources: 0,
|
|
602
675
|
progress: budget.progress.clone(),
|