cc-transcript 14.46.2__tar.gz → 14.46.4__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.2 → cc_transcript-14.46.4}/PKG-INFO +1 -1
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/pyproject.toml +1 -1
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot.rs +64 -35
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_index_allocations.rs +43 -42
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_prepared_service.rs +1 -1
- cc_transcript-14.46.4/rust/crates/core/src/snapshot_reply_resume_tests.rs +65 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/Cargo.lock +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/Cargo.toml +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/LICENSE +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/README.md +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/__init__.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/__init__.pyi +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/_native.pyi +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/activity.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/activity_probe.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/builders.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/codex.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/command.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/context.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/corrections.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/cost.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/decision_store.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/decisions.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/discovery.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/disktruth.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/evidence.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/extract/__init__.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/extract/correct.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/facts.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/filterspec.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/heartbeats.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/ids.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/judge/__init__.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/judge/llm.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/judge/similar.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/judge/verdicts.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/ledger.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/literals.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/mining/__init__.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/mining/candidates.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/mining/confidence.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/mining/engine.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/mining/formats.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/mining/sampling.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/mining/signals.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/mining/sourcekind.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/mining/spec.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/mining/store.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/models.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/nlp.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/notifications.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/parser.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/py.typed +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/query.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/render.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/sentiment/__init__.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/sentiment/buckets.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/sentiment/data/afinn-en-165.tsv +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/sentiment/data/domain_overrides.tsv +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/sentiment/data/en-ewt.udpipe +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/sentiment/engine.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/sentiment/lexicon.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/sentiment/scorespec.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/snapshot_schema/config.schema.json +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/snapshot_schema/context.schema.json +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/snapshot_schema/request.schema.json +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/snapshot_schema/response.schema.json +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/snapshot_schema/tool_registry.schema.json +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/snapshots.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/synthetic.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/tools.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/watch.py +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/cli/Cargo.toml +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/cli/src/commands/blame.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/cli/src/commands/corpus.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/cli/src/commands/corrections.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/cli/src/commands/digest.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/cli/src/commands/facts.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/cli/src/commands/grep.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/cli/src/commands/list.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/cli/src/commands/mod.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/cli/src/commands/scratchpad.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/cli/src/commands/show.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/cli/src/commands/slice.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/cli/src/commands/stats.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/cli/src/commands/watch.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/cli/src/lib.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/cli/src/output.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/cli/src/target.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/cli/src/timearg.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/Cargo.toml +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/benches/parse.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/benches/render.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/benches/toolcall.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/build.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/activity.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/actor.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/blame.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/buckets.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/codex/discovery.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/codex/lower.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/codex/mod.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/codex/parse.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/codex/probe.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/codex/protocol.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/codex/review_continuation.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/codex/types.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/command.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/context.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/corrections.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/cost.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/discovery.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/facts.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/feedback.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/filter.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/gateway.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/ids.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/judge.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/lib.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/literals/command.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/literals/corrections.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/literals/feedback.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/literals/mining.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/literals/mod.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/literals/protocol.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/mining.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/mining_index.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/notifications.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/parse.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/protocol.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/pystr.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/query.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/render.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/request_body.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/rng.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/scan.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/scan_checkpoint.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/scan_grep.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/scan_grep_stream.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/scan_grep_stream_tests.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/scan_index.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/scan_projection.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/scan_regressions.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/scan_stream.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/schema.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_activity.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_admission_report_tests.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_cache.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_cache_tests.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_catalog.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_catalog_owner.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_catalog_tests.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_codec.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_codex_append.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_common_borrowed_parent_tests.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_compact_codex.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_compact_codex_tests.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_direct_tail.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_direct_tail_tests.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_graph_anchor_tests.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_graph_validation_tests.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_hydrate_budget_tests.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_hydration_observations.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_input.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_interaction_api.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_interaction_api_tests.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_interactions.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_interactions_tests.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_labels.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_ledger.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_ledger_tests.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_load_charge_audit_tests.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_load_charge_work_tests.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_membership_progress.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_membership_progress_controls.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_membership_progress_tests.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_memory.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_owned.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_persistent.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_prepared.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_prepared_disk.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_projection.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_publication_shared_admission_tests.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_query_hydration_tests.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_raw_materialization.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_raw_projection.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_raw_projection_tests.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_raw_scope.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_raw_scope_tests.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_raw_tail_tests.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_raw_window.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_registered_review_tests.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_regressions.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_review.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_review_context.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_review_reader.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_review_source.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_root_warm.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_sidechain_absence.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_sidechain_absence_tests.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_skill_demand_controls.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_skill_demand_tests.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_skill_framing.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_skills.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_source_cache_index_tests.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_spine.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_spine_tests.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_symlink_proof.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_text.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/sqlite.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/toolcall.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/types.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/value.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/watch.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/tests/sonic_arena_model.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/tests/std_allocation_model.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/Cargo.toml +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/build.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/data/command_prefix_pins.tsv +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/actor_bridge.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/bin/stub_gen.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/codex.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/command.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/context.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/corrections.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/discovery.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/feedback.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/judge.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/lexicon.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/lib.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/mining.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/nlp.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/python.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/render.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/score.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/snapshot_decode.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/snapshots.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/snapshots_registered_review.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/sqlite.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/toolcall.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/views/attachment.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/views/blocks.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/views/command.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/views/convert.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/views/dunder.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/views/events.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/views/meta.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/views/mod.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/views/print.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/views/store.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/views/system.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/views/toolcall.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/views/toolresult.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/py/src/views/transcript.rs +0 -0
- {cc_transcript-14.46.2 → cc_transcript-14.46.4}/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.4" # 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"
|
|
@@ -7237,8 +7237,8 @@ impl NativeStore {
|
|
|
7237
7237
|
fn request_inner(&self, request: &Value, context: &Value, cancel: &Cancellation) -> Value {
|
|
7238
7238
|
let mut usage = [0u64; 20];
|
|
7239
7239
|
let id = request.get("id").cloned().unwrap_or(json!("invalid"));
|
|
7240
|
-
let _reply_reservation = if
|
|
7241
|
-
== Some("release")
|
|
7240
|
+
let _reply_reservation = if self.agent_sources
|
|
7241
|
+
|| request.get("operation").and_then(Value::as_str) == Some("release")
|
|
7242
7242
|
{
|
|
7243
7243
|
None
|
|
7244
7244
|
} else {
|
|
@@ -8948,17 +8948,38 @@ impl NativeStore {
|
|
|
8948
8948
|
}
|
|
8949
8949
|
let mut lease = None;
|
|
8950
8950
|
let stepped = if load.result.is_none() {
|
|
8951
|
-
let read_bound = self.config.read_step.min(
|
|
8951
|
+
let mut read_bound = self.config.read_step.min(
|
|
8952
8952
|
waiter
|
|
8953
8953
|
.limits
|
|
8954
8954
|
.max_source_read_bytes
|
|
8955
8955
|
.saturating_sub(waiter.used_source_bytes),
|
|
8956
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
|
+
}
|
|
8957
8975
|
let events_bound = self
|
|
8958
8976
|
.config
|
|
8959
8977
|
.event_step
|
|
8960
8978
|
.min(waiter.limits.max_events.saturating_sub(waiter.used_events));
|
|
8961
|
-
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
|
+
{
|
|
8962
8983
|
self.lock_state().waiters.remove(token);
|
|
8963
8984
|
return Err(source_read_limit());
|
|
8964
8985
|
}
|
|
@@ -9695,7 +9716,7 @@ impl NativeStore {
|
|
|
9695
9716
|
"open source changed during preparation",
|
|
9696
9717
|
));
|
|
9697
9718
|
}
|
|
9698
|
-
if !load.origin_complete {
|
|
9719
|
+
if !self.agent_sources && !load.origin_complete {
|
|
9699
9720
|
let fence_size = (slot.stamp.size as usize).min(64);
|
|
9700
9721
|
let count = fence_size
|
|
9701
9722
|
.saturating_sub(load.origin_fence.len())
|
|
@@ -9731,35 +9752,37 @@ impl NativeStore {
|
|
|
9731
9752
|
let (prior_end, prior_fence) = self
|
|
9732
9753
|
.source_prefix_fence(previous)
|
|
9733
9754
|
.expect("cached source prefix");
|
|
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
|
-
|
|
9759
|
-
|
|
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
|
+
}
|
|
9760
9783
|
}
|
|
9761
9784
|
let fence = std::mem::take(&mut load.prefix_fence);
|
|
9762
|
-
if fence == prior_fence {
|
|
9785
|
+
if self.agent_sources || fence == prior_fence {
|
|
9763
9786
|
if previous.stamp.identity.window_base != slot.stamp.identity.window_base {
|
|
9764
9787
|
load.file
|
|
9765
9788
|
.seek(SeekFrom::Start(load.offset))
|
|
@@ -9815,6 +9838,11 @@ impl NativeStore {
|
|
|
9815
9838
|
}
|
|
9816
9839
|
load.fence = fence;
|
|
9817
9840
|
}
|
|
9841
|
+
if self.agent_sources {
|
|
9842
|
+
load.file
|
|
9843
|
+
.seek(SeekFrom::Start(load.offset))
|
|
9844
|
+
.map_err(io_error)?;
|
|
9845
|
+
}
|
|
9818
9846
|
load.prefix_checked = true;
|
|
9819
9847
|
} else {
|
|
9820
9848
|
if self.agent_sources {
|
|
@@ -10212,7 +10240,7 @@ impl NativeStore {
|
|
|
10212
10240
|
if load.indexed < load.count {
|
|
10213
10241
|
return Ok(());
|
|
10214
10242
|
}
|
|
10215
|
-
if !load.sealed {
|
|
10243
|
+
if !self.agent_sources && !load.sealed {
|
|
10216
10244
|
let fence_size = load.origin_fence.len();
|
|
10217
10245
|
let remaining = read_bound.saturating_sub((usage[1] - read_start) as usize);
|
|
10218
10246
|
let count = fence_size
|
|
@@ -12852,6 +12880,7 @@ mod tests {
|
|
|
12852
12880
|
use std::io::Write;
|
|
12853
12881
|
|
|
12854
12882
|
include!("snapshot_admission_report_tests.rs");
|
|
12883
|
+
include!("snapshot_reply_resume_tests.rs");
|
|
12855
12884
|
|
|
12856
12885
|
struct Source {
|
|
12857
12886
|
directory: PathBuf,
|
|
@@ -22127,13 +22156,13 @@ mod tests {
|
|
|
22127
22156
|
);
|
|
22128
22157
|
}
|
|
22129
22158
|
let source = Source::new(&contents);
|
|
22130
|
-
let store = NativeStore::
|
|
22159
|
+
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();
|
|
22131
22160
|
let owner = context("a");
|
|
22132
22161
|
let request = json!({"schema":SCHEMA,"id":"request","operation":"acquire","path":source.path.to_string_lossy().as_ref(),"classifier":{"id":"native","version":"1"},
|
|
22133
22162
|
"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}});
|
|
22134
22163
|
let root = finish(
|
|
22135
22164
|
&store,
|
|
22136
|
-
store.
|
|
22165
|
+
store.request_agent(&request, &owner, &Cancellation::default()),
|
|
22137
22166
|
&owner,
|
|
22138
22167
|
);
|
|
22139
22168
|
let mut page = store
|
{cc_transcript-14.46.2 → cc_transcript-14.46.4}/rust/crates/core/src/snapshot_index_allocations.rs
RENAMED
|
@@ -21,6 +21,25 @@ struct RegistryState {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
impl RegistryState {
|
|
24
|
+
fn bytes(&self) -> usize {
|
|
25
|
+
(arc_bytes::<Registry>() + MUTEX_STORAGE_BYTES)
|
|
26
|
+
.saturating_add(
|
|
27
|
+
self.queue
|
|
28
|
+
.capacity()
|
|
29
|
+
.saturating_mul(size_of::<(usize, Weak<AllocationOwner>)>()),
|
|
30
|
+
)
|
|
31
|
+
.saturating_add(
|
|
32
|
+
self.owners_capacity
|
|
33
|
+
.saturating_mul(4 * (size_of::<(usize, RegistryOwner)>() + size_of::<usize>())),
|
|
34
|
+
)
|
|
35
|
+
.saturating_add(
|
|
36
|
+
self.queue
|
|
37
|
+
.len()
|
|
38
|
+
.saturating_add(self.owners.len())
|
|
39
|
+
.saturating_mul(arc_bytes::<AllocationOwner>()),
|
|
40
|
+
)
|
|
41
|
+
}
|
|
42
|
+
|
|
24
43
|
fn unqueue(&mut self, id: usize) {
|
|
25
44
|
if let Some(at) = self
|
|
26
45
|
.owners
|
|
@@ -62,26 +81,7 @@ impl RegistryWitness {
|
|
|
62
81
|
impl Registry {
|
|
63
82
|
fn allocation(self: &Arc<Self>) -> (usize, usize) {
|
|
64
83
|
let state = self.state.lock().expect("allocation registry");
|
|
65
|
-
|
|
66
|
-
.saturating_add(
|
|
67
|
-
state
|
|
68
|
-
.queue
|
|
69
|
-
.capacity()
|
|
70
|
-
.saturating_mul(size_of::<(usize, Weak<AllocationOwner>)>()),
|
|
71
|
-
)
|
|
72
|
-
.saturating_add(
|
|
73
|
-
state
|
|
74
|
-
.owners_capacity
|
|
75
|
-
.saturating_mul(4 * (size_of::<(usize, RegistryOwner)>() + size_of::<usize>())),
|
|
76
|
-
)
|
|
77
|
-
.saturating_add(
|
|
78
|
-
state
|
|
79
|
-
.queue
|
|
80
|
-
.len()
|
|
81
|
-
.saturating_add(state.owners.len())
|
|
82
|
-
.saturating_mul(arc_bytes::<AllocationOwner>()),
|
|
83
|
-
);
|
|
84
|
-
(Arc::as_ptr(self) as usize, bytes)
|
|
84
|
+
(Arc::as_ptr(self) as usize, state.bytes())
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -303,28 +303,29 @@ impl AllocationSet {
|
|
|
303
303
|
.saturating_mul(64 * width)
|
|
304
304
|
.min(bound),
|
|
305
305
|
);
|
|
306
|
-
let
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
)
|
|
306
|
+
let queue = if state.queue.len().saturating_add(inserts) > state.queue.capacity() {
|
|
307
|
+
state
|
|
308
|
+
.queue
|
|
309
|
+
.capacity()
|
|
310
|
+
.saturating_add(inserts)
|
|
311
|
+
.saturating_mul(2 * size_of::<(usize, Weak<AllocationOwner>)>())
|
|
312
|
+
} else {
|
|
313
|
+
0
|
|
314
|
+
};
|
|
315
|
+
let table = if state.owners.len().saturating_add(inserts) > state.owners.capacity() {
|
|
316
|
+
state
|
|
317
|
+
.owners_capacity
|
|
318
|
+
.saturating_add(inserts)
|
|
319
|
+
.saturating_mul(8 * (size_of::<(usize, RegistryOwner)>() + size_of::<usize>()))
|
|
320
|
+
} else {
|
|
321
|
+
0
|
|
322
|
+
};
|
|
323
|
+
let registry = state
|
|
324
|
+
.bytes()
|
|
325
|
+
.saturating_sub(self.registry.admitted_bytes.load(Ordering::Acquire))
|
|
326
|
+
.saturating_add(queue)
|
|
327
|
+
.saturating_add(table)
|
|
328
|
+
.saturating_add(inserts.saturating_mul(2 * arc_bytes::<AllocationOwner>()));
|
|
328
329
|
let pending = state
|
|
329
330
|
.queue
|
|
330
331
|
.len()
|
{cc_transcript-14.46.2 → cc_transcript-14.46.4}/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.2 → cc_transcript-14.46.4}/cc_transcript/sentiment/data/afinn-en-165.tsv
RENAMED
|
File without changes
|
{cc_transcript-14.46.2 → cc_transcript-14.46.4}/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.2 → cc_transcript-14.46.4}/cc_transcript/snapshot_schema/config.schema.json
RENAMED
|
File without changes
|
{cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/snapshot_schema/context.schema.json
RENAMED
|
File without changes
|
{cc_transcript-14.46.2 → cc_transcript-14.46.4}/cc_transcript/snapshot_schema/request.schema.json
RENAMED
|
File without changes
|
{cc_transcript-14.46.2 → cc_transcript-14.46.4}/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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|