cc-transcript 14.46.1__tar.gz → 14.46.3__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.46.1 → cc_transcript-14.46.3}/PKG-INFO +1 -1
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/pyproject.toml +1 -1
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot.rs +135 -33
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_index_allocations.rs +7 -7
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_persistent.rs +8 -4
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_prepared_service.rs +1 -1
- cc_transcript-14.46.3/rust/crates/core/src/snapshot_reply_resume_tests.rs +65 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/Cargo.lock +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/Cargo.toml +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/LICENSE +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/README.md +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/__init__.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/__init__.pyi +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/_native.pyi +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/activity.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/activity_probe.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/builders.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/codex.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/command.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/context.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/corrections.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/cost.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/decision_store.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/decisions.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/discovery.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/disktruth.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/evidence.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/extract/__init__.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/extract/correct.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/facts.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/filterspec.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/heartbeats.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/ids.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/judge/__init__.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/judge/llm.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/judge/similar.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/judge/verdicts.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/ledger.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/literals.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/mining/__init__.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/mining/candidates.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/mining/confidence.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/mining/engine.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/mining/formats.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/mining/sampling.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/mining/signals.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/mining/sourcekind.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/mining/spec.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/mining/store.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/models.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/nlp.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/notifications.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/parser.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/py.typed +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/query.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/render.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/sentiment/__init__.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/sentiment/buckets.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/sentiment/data/afinn-en-165.tsv +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/sentiment/data/domain_overrides.tsv +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/sentiment/data/en-ewt.udpipe +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/sentiment/engine.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/sentiment/lexicon.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/sentiment/scorespec.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/snapshot_schema/config.schema.json +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/snapshot_schema/context.schema.json +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/snapshot_schema/request.schema.json +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/snapshot_schema/response.schema.json +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/snapshot_schema/tool_registry.schema.json +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/snapshots.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/synthetic.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/tools.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/watch.py +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/cli/Cargo.toml +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/cli/src/commands/blame.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/cli/src/commands/corpus.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/cli/src/commands/corrections.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/cli/src/commands/digest.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/cli/src/commands/facts.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/cli/src/commands/grep.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/cli/src/commands/list.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/cli/src/commands/mod.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/cli/src/commands/scratchpad.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/cli/src/commands/show.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/cli/src/commands/slice.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/cli/src/commands/stats.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/cli/src/commands/watch.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/cli/src/lib.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/cli/src/output.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/cli/src/target.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/cli/src/timearg.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/Cargo.toml +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/benches/parse.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/benches/render.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/benches/toolcall.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/build.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/activity.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/actor.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/blame.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/buckets.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/codex/discovery.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/codex/lower.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/codex/mod.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/codex/parse.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/codex/probe.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/codex/protocol.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/codex/review_continuation.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/codex/types.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/command.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/context.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/corrections.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/cost.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/discovery.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/facts.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/feedback.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/filter.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/gateway.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/ids.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/judge.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/lib.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/literals/command.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/literals/corrections.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/literals/feedback.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/literals/mining.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/literals/mod.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/literals/protocol.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/mining.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/mining_index.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/notifications.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/parse.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/protocol.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/pystr.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/query.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/render.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/request_body.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/rng.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/scan.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/scan_checkpoint.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/scan_grep.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/scan_grep_stream.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/scan_grep_stream_tests.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/scan_index.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/scan_projection.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/scan_regressions.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/scan_stream.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/schema.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_activity.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_admission_report_tests.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_cache.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_cache_tests.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_catalog.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_catalog_owner.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_catalog_tests.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_codec.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_codex_append.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_common_borrowed_parent_tests.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_compact_codex.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_compact_codex_tests.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_direct_tail.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_direct_tail_tests.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_graph_anchor_tests.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_graph_validation_tests.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_hydrate_budget_tests.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_hydration_observations.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_input.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_interaction_api.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_interaction_api_tests.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_interactions.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_interactions_tests.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_labels.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_ledger.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_ledger_tests.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_load_charge_audit_tests.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_load_charge_work_tests.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_membership_progress.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_membership_progress_controls.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_membership_progress_tests.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_memory.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_owned.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_prepared.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_prepared_disk.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_projection.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_publication_shared_admission_tests.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_query_hydration_tests.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_raw_materialization.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_raw_projection.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_raw_projection_tests.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_raw_scope.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_raw_scope_tests.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_raw_tail_tests.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_raw_window.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_registered_review_tests.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_regressions.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_review.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_review_context.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_review_reader.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_review_source.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_root_warm.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_sidechain_absence.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_sidechain_absence_tests.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_skill_demand_controls.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_skill_demand_tests.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_skill_framing.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_skills.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_source_cache_index_tests.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_spine.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_spine_tests.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_symlink_proof.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_text.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/sqlite.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/toolcall.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/types.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/value.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/watch.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/tests/sonic_arena_model.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/tests/std_allocation_model.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/Cargo.toml +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/build.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/data/command_prefix_pins.tsv +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/actor_bridge.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/bin/stub_gen.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/codex.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/command.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/context.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/corrections.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/discovery.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/feedback.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/judge.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/lexicon.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/lib.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/mining.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/nlp.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/python.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/render.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/score.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/snapshot_decode.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/snapshots.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/snapshots_registered_review.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/sqlite.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/toolcall.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/views/attachment.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/views/blocks.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/views/command.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/views/convert.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/views/dunder.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/views/events.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/views/meta.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/views/mod.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/views/print.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/views/store.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/views/system.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/views/toolcall.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/views/toolresult.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/views/transcript.rs +0 -0
- {cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/py/src/watch.rs +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "cc-transcript"
|
|
3
|
-
version = "14.46.
|
|
3
|
+
version = "14.46.3" # 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"
|
|
@@ -4928,6 +4928,7 @@ impl NativeStore {
|
|
|
4928
4928
|
let max_stage_bytes = entry_bytes(&source)
|
|
4929
4929
|
.saturating_mul(4)
|
|
4930
4930
|
.saturating_add(source.event_count.saturating_mul(512))
|
|
4931
|
+
.saturating_add(source.activity.accounted_bytes().saturating_mul(2))
|
|
4931
4932
|
.saturating_add(16 * 1024)
|
|
4932
4933
|
.min(self.config.retained);
|
|
4933
4934
|
let mut reservation = self.reserve_projection(
|
|
@@ -7236,8 +7237,8 @@ impl NativeStore {
|
|
|
7236
7237
|
fn request_inner(&self, request: &Value, context: &Value, cancel: &Cancellation) -> Value {
|
|
7237
7238
|
let mut usage = [0u64; 20];
|
|
7238
7239
|
let id = request.get("id").cloned().unwrap_or(json!("invalid"));
|
|
7239
|
-
let _reply_reservation = if
|
|
7240
|
-
== Some("release")
|
|
7240
|
+
let _reply_reservation = if self.agent_sources
|
|
7241
|
+
|| request.get("operation").and_then(Value::as_str) == Some("release")
|
|
7241
7242
|
{
|
|
7242
7243
|
None
|
|
7243
7244
|
} else {
|
|
@@ -8947,17 +8948,38 @@ impl NativeStore {
|
|
|
8947
8948
|
}
|
|
8948
8949
|
let mut lease = None;
|
|
8949
8950
|
let stepped = if load.result.is_none() {
|
|
8950
|
-
let read_bound = self.config.read_step.min(
|
|
8951
|
+
let mut read_bound = self.config.read_step.min(
|
|
8951
8952
|
waiter
|
|
8952
8953
|
.limits
|
|
8953
8954
|
.max_source_read_bytes
|
|
8954
8955
|
.saturating_sub(waiter.used_source_bytes),
|
|
8955
8956
|
);
|
|
8957
|
+
if self.agent_sources {
|
|
8958
|
+
let start = if !load.prefix_checked {
|
|
8959
|
+
load.previous.as_ref().map_or(load.offset, |previous| {
|
|
8960
|
+
if previous.stamp.identity.window_base == slot.stamp.identity.window_base {
|
|
8961
|
+
if previous.provider == Provider::Codex {
|
|
8962
|
+
previous.stamp.size
|
|
8963
|
+
} else {
|
|
8964
|
+
previous.committed_bytes
|
|
8965
|
+
}
|
|
8966
|
+
} else {
|
|
8967
|
+
load.offset
|
|
8968
|
+
}
|
|
8969
|
+
})
|
|
8970
|
+
} else {
|
|
8971
|
+
load.offset
|
|
8972
|
+
};
|
|
8973
|
+
read_bound = read_bound.min(slot.stamp.size.saturating_sub(start) as usize);
|
|
8974
|
+
}
|
|
8956
8975
|
let events_bound = self
|
|
8957
8976
|
.config
|
|
8958
8977
|
.event_step
|
|
8959
8978
|
.min(waiter.limits.max_events.saturating_sub(waiter.used_events));
|
|
8960
|
-
if read_bound == 0
|
|
8979
|
+
if read_bound == 0
|
|
8980
|
+
&& load.offset < slot.stamp.size
|
|
8981
|
+
&& (!self.agent_sources || load.previous.is_none() || load.prefix_checked)
|
|
8982
|
+
{
|
|
8961
8983
|
self.lock_state().waiters.remove(token);
|
|
8962
8984
|
return Err(source_read_limit());
|
|
8963
8985
|
}
|
|
@@ -9694,7 +9716,7 @@ impl NativeStore {
|
|
|
9694
9716
|
"open source changed during preparation",
|
|
9695
9717
|
));
|
|
9696
9718
|
}
|
|
9697
|
-
if !load.origin_complete {
|
|
9719
|
+
if !self.agent_sources && !load.origin_complete {
|
|
9698
9720
|
let fence_size = (slot.stamp.size as usize).min(64);
|
|
9699
9721
|
let count = fence_size
|
|
9700
9722
|
.saturating_sub(load.origin_fence.len())
|
|
@@ -9730,35 +9752,37 @@ impl NativeStore {
|
|
|
9730
9752
|
let (prior_end, prior_fence) = self
|
|
9731
9753
|
.source_prefix_fence(previous)
|
|
9732
9754
|
.expect("cached source prefix");
|
|
9733
|
-
|
|
9734
|
-
|
|
9735
|
-
|
|
9736
|
-
|
|
9737
|
-
|
|
9738
|
-
|
|
9739
|
-
|
|
9740
|
-
|
|
9741
|
-
.
|
|
9742
|
-
|
|
9743
|
-
|
|
9744
|
-
|
|
9745
|
-
|
|
9746
|
-
|
|
9747
|
-
|
|
9748
|
-
|
|
9749
|
-
|
|
9750
|
-
|
|
9751
|
-
|
|
9752
|
-
|
|
9753
|
-
|
|
9754
|
-
|
|
9755
|
-
|
|
9756
|
-
|
|
9757
|
-
|
|
9758
|
-
|
|
9755
|
+
if !self.agent_sources {
|
|
9756
|
+
let count = prior_fence
|
|
9757
|
+
.len()
|
|
9758
|
+
.saturating_sub(load.prefix_fence.len())
|
|
9759
|
+
.min(read_bound);
|
|
9760
|
+
if count == 0 && prior_fence.len() > load.prefix_fence.len() {
|
|
9761
|
+
return Err(source_read_limit());
|
|
9762
|
+
}
|
|
9763
|
+
load.file
|
|
9764
|
+
.seek(SeekFrom::Start(
|
|
9765
|
+
prior_end - prior_fence.len() as u64 + load.prefix_fence.len() as u64,
|
|
9766
|
+
))
|
|
9767
|
+
.map_err(io_error)?;
|
|
9768
|
+
let start = load.prefix_fence.len();
|
|
9769
|
+
load.prefix_fence.resize(start + count, 0);
|
|
9770
|
+
self.before_source_read();
|
|
9771
|
+
load.file
|
|
9772
|
+
.read_exact(&mut load.prefix_fence[start..])
|
|
9773
|
+
.map_err(io_error)?;
|
|
9774
|
+
usage[1] += count as u64;
|
|
9775
|
+
#[cfg(test)]
|
|
9776
|
+
self.observe_hydration(HydrationObservation::Read {
|
|
9777
|
+
stamp: slot.stamp,
|
|
9778
|
+
bytes: count as u64,
|
|
9779
|
+
});
|
|
9780
|
+
if load.prefix_fence.len() < prior_fence.len() {
|
|
9781
|
+
return Ok(());
|
|
9782
|
+
}
|
|
9759
9783
|
}
|
|
9760
9784
|
let fence = std::mem::take(&mut load.prefix_fence);
|
|
9761
|
-
if fence == prior_fence {
|
|
9785
|
+
if self.agent_sources || fence == prior_fence {
|
|
9762
9786
|
if previous.stamp.identity.window_base != slot.stamp.identity.window_base {
|
|
9763
9787
|
load.file
|
|
9764
9788
|
.seek(SeekFrom::Start(load.offset))
|
|
@@ -9814,6 +9838,9 @@ impl NativeStore {
|
|
|
9814
9838
|
}
|
|
9815
9839
|
load.fence = fence;
|
|
9816
9840
|
}
|
|
9841
|
+
if self.agent_sources {
|
|
9842
|
+
load.file.seek(SeekFrom::Start(load.offset)).map_err(io_error)?;
|
|
9843
|
+
}
|
|
9817
9844
|
load.prefix_checked = true;
|
|
9818
9845
|
} else {
|
|
9819
9846
|
if self.agent_sources {
|
|
@@ -10211,7 +10238,7 @@ impl NativeStore {
|
|
|
10211
10238
|
if load.indexed < load.count {
|
|
10212
10239
|
return Ok(());
|
|
10213
10240
|
}
|
|
10214
|
-
if !load.sealed {
|
|
10241
|
+
if !self.agent_sources && !load.sealed {
|
|
10215
10242
|
let fence_size = load.origin_fence.len();
|
|
10216
10243
|
let remaining = read_bound.saturating_sub((usage[1] - read_start) as usize);
|
|
10217
10244
|
let count = fence_size
|
|
@@ -12851,6 +12878,7 @@ mod tests {
|
|
|
12851
12878
|
use std::io::Write;
|
|
12852
12879
|
|
|
12853
12880
|
include!("snapshot_admission_report_tests.rs");
|
|
12881
|
+
include!("snapshot_reply_resume_tests.rs");
|
|
12854
12882
|
|
|
12855
12883
|
struct Source {
|
|
12856
12884
|
directory: PathBuf,
|
|
@@ -22091,6 +22119,80 @@ mod tests {
|
|
|
22091
22119
|
.pin(&complete["description"]["handle"], &owner)
|
|
22092
22120
|
.is_ok());
|
|
22093
22121
|
}
|
|
22122
|
+
#[test]
|
|
22123
|
+
fn classifier_staging_admits_a_foreground_transcript_of_tool_turns() {
|
|
22124
|
+
let at = "2026-01-02T03:04:05Z";
|
|
22125
|
+
let line = |value: Value| format!("{}\n", sonic_rs::to_string(&value).unwrap());
|
|
22126
|
+
let mut contents = String::new();
|
|
22127
|
+
for turn in 0..120 {
|
|
22128
|
+
contents += &line(
|
|
22129
|
+
json!({"type":"user","uuid":format!("p{turn}"),"sessionId":"s","timestamp":at,
|
|
22130
|
+
"message":{"role":"user","content":format!("prompt {turn} alpha")}}),
|
|
22131
|
+
);
|
|
22132
|
+
contents += &line(
|
|
22133
|
+
json!({"type":"assistant","uuid":format!("a{turn}"),"sessionId":"s","timestamp":at,
|
|
22134
|
+
"message":{"role":"assistant","model":"m","content":[{"type":"text","text":format!("reply {turn}")},
|
|
22135
|
+
{"type":"tool_use","id":format!("read-{turn}"),"name":"Read","input":{"file_path":format!("src/mod{turn}.py")}}]}}),
|
|
22136
|
+
);
|
|
22137
|
+
contents += &line(
|
|
22138
|
+
json!({"type":"user","uuid":format!("r{turn}"),"sessionId":"s","timestamp":at,
|
|
22139
|
+
"message":{"role":"user","content":[{"type":"tool_result","tool_use_id":format!("read-{turn}"),"content":format!("result-alpha {}", "x".repeat(4096))}]}}),
|
|
22140
|
+
);
|
|
22141
|
+
contents += &line(
|
|
22142
|
+
json!({"type":"assistant","uuid":format!("b{turn}"),"sessionId":"s","timestamp":at,
|
|
22143
|
+
"message":{"role":"assistant","model":"m","content":[
|
|
22144
|
+
{"type":"tool_use","id":format!("bash-{turn}"),"name":"Bash","input":{"command":"git push origin HEAD"}},
|
|
22145
|
+
{"type":"tool_use","id":format!("grep-{turn}"),"name":"Grep","input":{"pattern":"alpha"}}]}}),
|
|
22146
|
+
);
|
|
22147
|
+
contents += &line(
|
|
22148
|
+
json!({"type":"user","uuid":format!("s{turn}"),"sessionId":"s","timestamp":at,
|
|
22149
|
+
"message":{"role":"user","content":[{"type":"tool_result","tool_use_id":format!("bash-{turn}"),"content":"pushed"}]}}),
|
|
22150
|
+
);
|
|
22151
|
+
contents += &line(
|
|
22152
|
+
json!({"type":"user","uuid":format!("g{turn}"),"sessionId":"s","timestamp":at,
|
|
22153
|
+
"message":{"role":"user","content":[{"type":"tool_result","tool_use_id":format!("grep-{turn}"),"content":"no matches","is_error":true}]}}),
|
|
22154
|
+
);
|
|
22155
|
+
}
|
|
22156
|
+
let source = Source::new(&contents);
|
|
22157
|
+
let store = NativeStore::new_agent(&json!({"max_read_bytes_per_step":2*1024*1024,"max_entry_bytes":64*1024,"max_retained_bytes":32*1024*1024,"reserved_hook_accounted_bytes":4096,"max_leases":16,"reserved_hook_leases":1})).unwrap();
|
|
22158
|
+
let owner = context("a");
|
|
22159
|
+
let request = json!({"schema":SCHEMA,"id":"request","operation":"acquire","path":source.path.to_string_lossy().as_ref(),"classifier":{"id":"native","version":"1"},
|
|
22160
|
+
"deadline_unix_ms":now_ms()+30_000,"limits":{"max_read_bytes":8*1024*1024,"max_source_read_bytes":8*1024*1024,"max_events":4096,"max_items":4096,"max_output_bytes":8*1024*1024,"max_discovery_entries":1000,"max_sources":100}});
|
|
22161
|
+
let root = finish(
|
|
22162
|
+
&store,
|
|
22163
|
+
store.request_agent(&request, &owner, &Cancellation::default()),
|
|
22164
|
+
&owner,
|
|
22165
|
+
);
|
|
22166
|
+
let mut page = store
|
|
22167
|
+
.prepare_classifier(
|
|
22168
|
+
handle(&root),
|
|
22169
|
+
&json!({"id":"application","version":"1"}),
|
|
22170
|
+
&owner,
|
|
22171
|
+
&Cancellation::default(),
|
|
22172
|
+
limits(&request).unwrap(),
|
|
22173
|
+
)
|
|
22174
|
+
.unwrap();
|
|
22175
|
+
while page["complete"].as_bool() != Some(true) {
|
|
22176
|
+
let labels = page["records_json"]
|
|
22177
|
+
.as_array()
|
|
22178
|
+
.unwrap()
|
|
22179
|
+
.iter()
|
|
22180
|
+
.map(|record| record.as_str().unwrap().contains("prompt "))
|
|
22181
|
+
.collect::<Vec<_>>();
|
|
22182
|
+
page = store
|
|
22183
|
+
.submit_classifier(
|
|
22184
|
+
page["cursor"].as_str().unwrap(),
|
|
22185
|
+
&labels,
|
|
22186
|
+
&owner,
|
|
22187
|
+
&Cancellation::default(),
|
|
22188
|
+
)
|
|
22189
|
+
.unwrap();
|
|
22190
|
+
}
|
|
22191
|
+
let derived = store.pin(&page["description"]["handle"], &owner).unwrap();
|
|
22192
|
+
assert!(derived.id.starts_with("labels:"));
|
|
22193
|
+
assert_eq!(derived.event_count, 720);
|
|
22194
|
+
}
|
|
22195
|
+
|
|
22094
22196
|
#[test]
|
|
22095
22197
|
fn label_publication_transfers_quota_and_lease_failure_rolls_back_generation() {
|
|
22096
22198
|
let source = Source::new(&format!("{}\n", user("a")));
|
{cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_index_allocations.rs
RENAMED
|
@@ -296,13 +296,13 @@ impl AllocationSet {
|
|
|
296
296
|
let state = self.registry.state.lock().expect("allocation registry");
|
|
297
297
|
let count = self.len().saturating_add(inserts);
|
|
298
298
|
let width = size_of::<usize>() + size_of::<Arc<AllocationOwner>>() + 4 * size_of::<usize>();
|
|
299
|
-
let
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
299
|
+
let bound = (count.saturating_mul(8) + 64).saturating_mul(width);
|
|
300
|
+
let nodes = bound.saturating_add(
|
|
301
|
+
inserts
|
|
302
|
+
.saturating_mul(count.max(1).ilog2() as usize + 4)
|
|
303
|
+
.saturating_mul(64 * width)
|
|
304
|
+
.min(bound),
|
|
305
|
+
);
|
|
306
306
|
let registry = (arc_bytes::<Registry>() + MUTEX_STORAGE_BYTES)
|
|
307
307
|
.saturating_add(
|
|
308
308
|
state
|
|
@@ -174,12 +174,14 @@ impl<K: Ord + Clone + Borrow<str>, V: Clone> Tree<K, V> {
|
|
|
174
174
|
return 0;
|
|
175
175
|
}
|
|
176
176
|
let count = self.len().saturating_add(inserts);
|
|
177
|
-
Self::metadata_bound(count, self.max_key_bytes)
|
|
177
|
+
let bound = Self::metadata_bound(count, self.max_key_bytes);
|
|
178
|
+
bound.saturating_add(
|
|
178
179
|
inserts
|
|
179
180
|
.saturating_mul(count.max(1).ilog2() as usize + 4)
|
|
180
181
|
.saturating_mul(
|
|
181
182
|
64 * (size_of::<K>() + size_of::<Counted<V>>() + 4 * size_of::<usize>()),
|
|
182
|
-
)
|
|
183
|
+
)
|
|
184
|
+
.min(bound),
|
|
183
185
|
)
|
|
184
186
|
}
|
|
185
187
|
}
|
|
@@ -266,10 +268,12 @@ impl<T: Clone> Vector<T> {
|
|
|
266
268
|
return 0;
|
|
267
269
|
}
|
|
268
270
|
let count = self.len().saturating_add(inserts);
|
|
269
|
-
Self::metadata_bound(count)
|
|
271
|
+
let bound = Self::metadata_bound(count);
|
|
272
|
+
bound.saturating_add(
|
|
270
273
|
inserts
|
|
271
274
|
.saturating_mul(count.max(1).ilog2() as usize + 4)
|
|
272
|
-
.saturating_mul(256 * (size_of::<Counted<T>>() + 4 * size_of::<usize>()))
|
|
275
|
+
.saturating_mul(256 * (size_of::<Counted<T>>() + 4 * size_of::<usize>()))
|
|
276
|
+
.min(bound),
|
|
273
277
|
)
|
|
274
278
|
}
|
|
275
279
|
pub(crate) fn partition_point(&self, mut predicate: impl FnMut(&T) -> bool) -> usize {
|
{cc_transcript-14.46.1 → cc_transcript-14.46.3}/rust/crates/core/src/snapshot_prepared_service.rs
RENAMED
|
@@ -2385,7 +2385,7 @@ impl NativeStore {
|
|
|
2385
2385
|
usage: &mut [u64; 20],
|
|
2386
2386
|
) -> Result<SourceStamp, SnapshotError> {
|
|
2387
2387
|
let (snapshot, physical) = self.prepared_root_observation(root, header, context)?;
|
|
2388
|
-
if
|
|
2388
|
+
if !self.matches_source(physical, root.stamp)
|
|
2389
2389
|
&& !self.extends_prefix(&snapshot, remaining, usage)?
|
|
2390
2390
|
{
|
|
2391
2391
|
return Err(SnapshotError::new(
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
fn finish_reply_without_storage_padding(
|
|
2
|
+
store: &NativeStore,
|
|
3
|
+
request: &Value,
|
|
4
|
+
owner: &Value,
|
|
5
|
+
) -> (Value, usize, u64) {
|
|
6
|
+
let mut response = store.test_request(request, owner, &Cancellation::default());
|
|
7
|
+
let mut resumes = 0;
|
|
8
|
+
let mut bytes = response["usage"]["source_bytes_read"].as_u64().unwrap();
|
|
9
|
+
while response["status"].as_str() == Some("incomplete") {
|
|
10
|
+
assert!(resumes < 100, "{response:?}");
|
|
11
|
+
response = store.test_request(
|
|
12
|
+
&json!({"schema":SCHEMA,"id":"resume","operation":"resume","cursor":response["cursor"]}),
|
|
13
|
+
owner,
|
|
14
|
+
&Cancellation::default(),
|
|
15
|
+
);
|
|
16
|
+
bytes += response["usage"]["source_bytes_read"].as_u64().unwrap();
|
|
17
|
+
resumes += 1;
|
|
18
|
+
}
|
|
19
|
+
assert_eq!(response["status"].as_str(), Some("ok"), "{response:?}");
|
|
20
|
+
store.assert_conserved();
|
|
21
|
+
(response, resumes, bytes)
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
#[test]
|
|
25
|
+
fn agent_resumes_without_a_maximum_reply_storage_reservation() {
|
|
26
|
+
for read_step in [128, 8 * 1024 * 1024] {
|
|
27
|
+
let cap = 1024 * 1024;
|
|
28
|
+
let store = NativeStore::new_agent(&json!({
|
|
29
|
+
"max_read_bytes_per_step":read_step,
|
|
30
|
+
"max_events_per_step":1,
|
|
31
|
+
"max_entry_bytes":8192,
|
|
32
|
+
"max_retained_bytes":cap,
|
|
33
|
+
"reserved_hook_accounted_bytes":0,
|
|
34
|
+
"max_leases":16,
|
|
35
|
+
"reserved_hook_leases":0
|
|
36
|
+
})).unwrap();
|
|
37
|
+
let contents = format!("{}\n{}\n{}\n", user("first"), user("second"), user("third"));
|
|
38
|
+
let source = Source::new(&contents);
|
|
39
|
+
let owner = context("reply-resume");
|
|
40
|
+
let (first, resumes, bytes) = finish_reply_without_storage_padding(&store, &acquire(&source.path), &owner);
|
|
41
|
+
assert!(resumes > 0);
|
|
42
|
+
assert_eq!(bytes, contents.len() as u64);
|
|
43
|
+
assert!(store.retained_accounted_bytes() <= cap);
|
|
44
|
+
for _ in 0..3 {
|
|
45
|
+
let (warm, resumes, bytes) = finish_reply_without_storage_padding(&store, &acquire(&source.path), &owner);
|
|
46
|
+
assert_eq!(resumes, 0);
|
|
47
|
+
assert_eq!(bytes, 0);
|
|
48
|
+
for key in ["events_parsed", "bytes_decoded", "prepared_cache_bytes_read", "activity_lifts"] {
|
|
49
|
+
assert_eq!(warm["usage"][key].as_u64(), Some(0), "{key}: {warm:?}");
|
|
50
|
+
}
|
|
51
|
+
assert!(store.retained_accounted_bytes() <= cap);
|
|
52
|
+
}
|
|
53
|
+
let appended = format!("{}\n", user("fourth"));
|
|
54
|
+
let before = store.lock_state().counters;
|
|
55
|
+
source.append(&appended);
|
|
56
|
+
let (last, _, bytes) = finish_reply_without_storage_padding(&store, &acquire(&source.path), &owner);
|
|
57
|
+
assert_eq!(bytes, appended.len() as u64);
|
|
58
|
+
assert_eq!(store.lock_state().counters[3] - before[3], 1);
|
|
59
|
+
assert_ne!(handle(&first)["generation"], handle(&last)["generation"]);
|
|
60
|
+
assert!(store.retained_accounted_bytes() <= cap);
|
|
61
|
+
let snapshot = store.pin(handle(&last), &owner).unwrap();
|
|
62
|
+
assert_eq!(snapshot.event_count, 4);
|
|
63
|
+
assert_eq!(snapshot.entry(3).meta().unwrap().uuid.to_string(), "fourth");
|
|
64
|
+
}
|
|
65
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/sentiment/data/afinn-en-165.tsv
RENAMED
|
File without changes
|
{cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/sentiment/data/domain_overrides.tsv
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/snapshot_schema/config.schema.json
RENAMED
|
File without changes
|
{cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/snapshot_schema/context.schema.json
RENAMED
|
File without changes
|
{cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/snapshot_schema/request.schema.json
RENAMED
|
File without changes
|
{cc_transcript-14.46.1 → cc_transcript-14.46.3}/cc_transcript/snapshot_schema/response.schema.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|