cc-transcript 14.46.20__tar.gz → 14.46.21__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.20 → cc_transcript-14.46.21}/PKG-INFO +1 -1
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/pyproject.toml +1 -1
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot.rs +13 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_cache.rs +1 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_prepared_service.rs +108 -28
- cc_transcript-14.46.21/rust/crates/core/src/snapshot_sidechain_feed.rs +1005 -0
- cc_transcript-14.46.21/rust/crates/core/src/snapshot_sidechain_feed_tests.rs +193 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/Cargo.lock +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/Cargo.toml +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/LICENSE +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/README.md +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/__init__.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/__init__.pyi +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/_native.pyi +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/activity.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/activity_probe.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/builders.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/codex.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/command.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/context.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/corrections.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/cost.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/decision_store.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/decisions.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/discovery.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/disktruth.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/evidence.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/extract/__init__.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/extract/correct.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/facts.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/filterspec.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/heartbeats.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/ids.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/judge/__init__.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/judge/llm.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/judge/similar.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/judge/verdicts.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/ledger.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/literals.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/mining/__init__.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/mining/candidates.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/mining/confidence.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/mining/engine.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/mining/formats.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/mining/sampling.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/mining/signals.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/mining/sourcekind.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/mining/spec.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/mining/store.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/models.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/nlp.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/notifications.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/parser.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/py.typed +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/query.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/render.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/sentiment/__init__.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/sentiment/buckets.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/sentiment/data/afinn-en-165.tsv +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/sentiment/data/domain_overrides.tsv +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/sentiment/data/en-ewt.udpipe +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/sentiment/engine.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/sentiment/lexicon.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/sentiment/scorespec.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/snapshot_schema/config.schema.json +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/snapshot_schema/context.schema.json +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/snapshot_schema/request.schema.json +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/snapshot_schema/response.schema.json +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/snapshot_schema/tool_registry.schema.json +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/snapshots.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/synthetic.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/tools.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/cc_transcript/watch.py +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/cli/Cargo.toml +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/cli/src/commands/blame.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/cli/src/commands/corpus.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/cli/src/commands/corrections.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/cli/src/commands/digest.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/cli/src/commands/facts.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/cli/src/commands/grep.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/cli/src/commands/list.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/cli/src/commands/mod.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/cli/src/commands/scratchpad.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/cli/src/commands/show.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/cli/src/commands/slice.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/cli/src/commands/stats.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/cli/src/commands/watch.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/cli/src/index.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/cli/src/lib.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/cli/src/output.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/cli/src/target.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/cli/src/timearg.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/Cargo.toml +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/benches/parse.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/benches/render.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/benches/toolcall.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/build.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/activity.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/actor.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/blame.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/buckets.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/codex/discovery.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/codex/lower.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/codex/mod.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/codex/parse.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/codex/probe.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/codex/protocol.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/codex/review_continuation.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/codex/types.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/command.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/context.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/corrections.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/cost.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/discovery.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/facts.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/feedback.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/filter.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/gateway.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/ids.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/judge.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/lib.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/literals/command.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/literals/corrections.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/literals/feedback.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/literals/mining.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/literals/mod.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/literals/protocol.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/mining.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/mining_index.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/notifications.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/parse.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/protocol.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/pystr.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/query.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/render.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/request_body.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/rng.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/scan.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/scan_checkpoint.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/scan_grep.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/scan_grep_stream.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/scan_grep_stream_tests.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/scan_index.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/scan_projection.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/scan_regressions.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/scan_stream.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/schema.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_activity.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_admission_report_tests.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_cache_tests.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_catalog.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_catalog_owner.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_catalog_tests.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_codec.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_codex_append.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_common_borrowed_parent_tests.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_compact_codex.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_compact_codex_tests.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_direct_tail.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_direct_tail_tests.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_graph_anchor_tests.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_graph_validation_tests.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_hydrate_budget_tests.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_hydration_observations.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_index_allocations.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_input.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_interaction_api.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_interaction_api_tests.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_interactions.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_interactions_tests.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_labels.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_ledger.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_ledger_tests.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_load_charge_audit_tests.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_load_charge_work_tests.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_membership_progress.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_membership_progress_controls.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_membership_progress_tests.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_memory.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_owned.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_persistent.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_prepared.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_prepared_disk.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_projection.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_publication_shared_admission_tests.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_query_hydration_tests.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_raw_materialization.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_raw_projection.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_raw_projection_tests.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_raw_scope.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_raw_scope_tests.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_raw_tail_tests.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_raw_window.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_registered_review_tests.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_regressions.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_reply_resume_tests.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_review.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_review_admission_tests.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_review_context.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_review_reader.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_review_source.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_root_warm.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_sidechain_absence.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_sidechain_absence_tests.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_skill_demand_controls.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_skill_demand_tests.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_skill_framing.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_skills.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_source_cache_index_tests.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_spine.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_spine_tests.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_symlink_proof.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_text.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/sqlite.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/toolcall.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/types.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/value.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/watch.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/tests/persistent_allocation_model.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/tests/sonic_arena_model.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/tests/std_allocation_model.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/Cargo.toml +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/build.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/data/command_prefix_pins.tsv +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/actor_bridge.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/bin/stub_gen.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/codex.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/command.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/context.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/corrections.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/discovery.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/feedback.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/judge.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/lexicon.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/lib.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/mining.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/nlp.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/python.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/render.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/score.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/snapshot_decode.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/snapshots.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/snapshots_registered_review.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/sqlite.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/toolcall.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/views/attachment.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/views/blocks.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/views/command.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/views/convert.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/views/dunder.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/views/events.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/views/meta.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/views/mod.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/views/print.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/views/store.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/views/system.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/views/toolcall.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/views/toolresult.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/py/src/views/transcript.rs +0 -0
- {cc_transcript-14.46.20 → cc_transcript-14.46.21}/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.21" # 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"
|
|
@@ -1196,6 +1196,7 @@ struct PreparedBuild {
|
|
|
1196
1196
|
sources: Vec<PreparedSourceRef>,
|
|
1197
1197
|
stamps: Vec<(PathBuf, SourceStamp)>,
|
|
1198
1198
|
sidechain_dirs: Vec<(PathBuf, Option<SourceStamp>)>,
|
|
1199
|
+
sidechain_registration: Option<u64>,
|
|
1199
1200
|
expires: u64,
|
|
1200
1201
|
}
|
|
1201
1202
|
|
|
@@ -2310,6 +2311,7 @@ pub(crate) struct StoreState {
|
|
|
2310
2311
|
fact_read_in_flight: bool,
|
|
2311
2312
|
owned: crate::snapshot_owned::OwnedProjections,
|
|
2312
2313
|
ledger: RetainedLedger,
|
|
2314
|
+
sidechain_feed: Arc<SidechainFeed>,
|
|
2313
2315
|
#[cfg(test)]
|
|
2314
2316
|
audits: Arc<AtomicUsize>,
|
|
2315
2317
|
#[cfg(test)]
|
|
@@ -2398,6 +2400,7 @@ impl StoreState {
|
|
|
2398
2400
|
fact_read_in_flight: false,
|
|
2399
2401
|
owned: crate::snapshot_owned::OwnedProjections::default(),
|
|
2400
2402
|
ledger: RetainedLedger::new(work),
|
|
2403
|
+
sidechain_feed: Arc::default(),
|
|
2401
2404
|
#[cfg(test)]
|
|
2402
2405
|
audits: Arc::new(AtomicUsize::new(0)),
|
|
2403
2406
|
#[cfg(test)]
|
|
@@ -2878,6 +2881,7 @@ impl StoreState {
|
|
|
2878
2881
|
|
|
2879
2882
|
fn remove_latest(&mut self, identity: &SourceIdentity) -> Option<Arc<TranscriptSnapshot>> {
|
|
2880
2883
|
let key = self.latest.remove(identity)?;
|
|
2884
|
+
self.sidechain_feed.release(*identity);
|
|
2881
2885
|
let removed = Arc::clone(
|
|
2882
2886
|
&self
|
|
2883
2887
|
.generations
|
|
@@ -3736,6 +3740,7 @@ pub struct NativeStore {
|
|
|
3736
3740
|
transport_bytes: AtomicU64,
|
|
3737
3741
|
state: Mutex<StoreState>,
|
|
3738
3742
|
fact_read_released: Condvar,
|
|
3743
|
+
sidechain_feed: Arc<SidechainFeed>,
|
|
3739
3744
|
#[cfg(test)]
|
|
3740
3745
|
catalog_wait_hook: Mutex<Option<Arc<dyn Fn() + Send + Sync>>>,
|
|
3741
3746
|
classifiers: Mutex<HashMap<String, Arc<ClassifierCallback>>>,
|
|
@@ -4302,6 +4307,7 @@ impl NativeStore {
|
|
|
4302
4307
|
work.clone(),
|
|
4303
4308
|
)?;
|
|
4304
4309
|
state.prepared_disk_index_bytes = prepared_disk.index_bytes();
|
|
4310
|
+
let sidechain_feed = Arc::clone(&state.sidechain_feed);
|
|
4305
4311
|
Ok(Self {
|
|
4306
4312
|
config,
|
|
4307
4313
|
agent_sources: false,
|
|
@@ -4313,6 +4319,7 @@ impl NativeStore {
|
|
|
4313
4319
|
transport_bytes: AtomicU64::new(0),
|
|
4314
4320
|
state: Mutex::new(state),
|
|
4315
4321
|
fact_read_released: Condvar::new(),
|
|
4322
|
+
sidechain_feed,
|
|
4316
4323
|
#[cfg(test)]
|
|
4317
4324
|
catalog_wait_hook: Mutex::new(None),
|
|
4318
4325
|
classifiers: Mutex::new(HashMap::new()),
|
|
@@ -7039,6 +7046,10 @@ impl NativeStore {
|
|
|
7039
7046
|
});
|
|
7040
7047
|
}
|
|
7041
7048
|
|
|
7049
|
+
pub fn take_sidechain_watch_failures(&self) -> Vec<(PathBuf, String)> {
|
|
7050
|
+
self.sidechain_feed.take_failures()
|
|
7051
|
+
}
|
|
7052
|
+
|
|
7042
7053
|
pub fn take_admission_refusal(&self) -> Option<Value> {
|
|
7043
7054
|
let mut state = self.lock_state();
|
|
7044
7055
|
let refusal = state.last_refusal.take()?;
|
|
@@ -13018,6 +13029,7 @@ include!("snapshot_catalog_owner.rs");
|
|
|
13018
13029
|
|
|
13019
13030
|
include!("snapshot_membership_progress.rs");
|
|
13020
13031
|
include!("snapshot_sidechain_absence.rs");
|
|
13032
|
+
include!("snapshot_sidechain_feed.rs");
|
|
13021
13033
|
include!("snapshot_prepared_service.rs");
|
|
13022
13034
|
include!("snapshot_skills.rs");
|
|
13023
13035
|
include!("snapshot_hydration_observations.rs");
|
|
@@ -13111,6 +13123,7 @@ mod tests {
|
|
|
13111
13123
|
include!("snapshot_membership_progress_tests.rs");
|
|
13112
13124
|
include!("snapshot_membership_progress_controls.rs");
|
|
13113
13125
|
include!("snapshot_sidechain_absence_tests.rs");
|
|
13126
|
+
include!("snapshot_sidechain_feed_tests.rs");
|
|
13114
13127
|
include!("snapshot_common_borrowed_parent_tests.rs");
|
|
13115
13128
|
include!("snapshot_graph_anchor_tests.rs");
|
|
13116
13129
|
|
|
@@ -339,6 +339,7 @@ impl StoreState {
|
|
|
339
339
|
assert!(self.cache_order.remove(&(cached.touched, owner)));
|
|
340
340
|
if let Some(identity) = cached.latest {
|
|
341
341
|
assert_eq!(self.latest.remove(&identity), Some(key));
|
|
342
|
+
self.sidechain_feed.release(identity);
|
|
342
343
|
if self.recent_codex.contains_key(&identity) {
|
|
343
344
|
self.recent_codex_raw_bytes -= codex_raw_len(&cached.snapshot);
|
|
344
345
|
}
|
{cc_transcript-14.46.20 → cc_transcript-14.46.21}/rust/crates/core/src/snapshot_prepared_service.rs
RENAMED
|
@@ -1455,6 +1455,7 @@ impl NativeStore {
|
|
|
1455
1455
|
sources: Vec::new(),
|
|
1456
1456
|
stamps: vec![(root.canonical_path.clone(), root.stamp)],
|
|
1457
1457
|
sidechain_dirs: Vec::new(),
|
|
1458
|
+
sidechain_registration: None,
|
|
1458
1459
|
expires: (now_ms() + self.config.ttl).min(remaining.deadline_unix_ms),
|
|
1459
1460
|
};
|
|
1460
1461
|
build.context_bytes = value_bytes(&build.context);
|
|
@@ -1510,6 +1511,7 @@ impl NativeStore {
|
|
|
1510
1511
|
usage: &mut [u64; 20],
|
|
1511
1512
|
) -> Result<(Value, Option<String>, Option<String>), SnapshotError> {
|
|
1512
1513
|
self.validate_prepared_build_scope(&build, cancel)?;
|
|
1514
|
+
self.sidechain_feed.drain();
|
|
1513
1515
|
let context = &build.context;
|
|
1514
1516
|
if build.tasks.is_empty() && build.sources.is_empty() && build.listing.is_none() {
|
|
1515
1517
|
let direct = build.request["direct_paths"]
|
|
@@ -1676,7 +1678,51 @@ impl NativeStore {
|
|
|
1676
1678
|
directory_bytes,
|
|
1677
1679
|
"sidechain directory landed off its predicted capacity"
|
|
1678
1680
|
);
|
|
1679
|
-
let
|
|
1681
|
+
let root = build.root.stamp.identity;
|
|
1682
|
+
let rooted = parent == build.root.canonical_path;
|
|
1683
|
+
let live = rooted && self.lock_state().latest.contains_key(&root);
|
|
1684
|
+
let fed = rooted
|
|
1685
|
+
.then(|| self.sidechain_feed.listing(root, &directory, live))
|
|
1686
|
+
.flatten();
|
|
1687
|
+
if let Some((stamp, members)) = fed {
|
|
1688
|
+
self.authority(context, Some(&directory))?;
|
|
1689
|
+
build.owned_payload_bytes += directory.capacity();
|
|
1690
|
+
build.charge_work.tick(1);
|
|
1691
|
+
build.sidechain_dirs.push((directory, Some(stamp)));
|
|
1692
|
+
assert_eq!(
|
|
1693
|
+
build.sidechain_dirs.capacity(),
|
|
1694
|
+
predicted,
|
|
1695
|
+
"prepared build collections landed off their predicted capacities"
|
|
1696
|
+
);
|
|
1697
|
+
self.extend_projection_reservation(
|
|
1698
|
+
reservation,
|
|
1699
|
+
context,
|
|
1700
|
+
vec_growth(&build.tasks, members.len())
|
|
1701
|
+
+ members
|
|
1702
|
+
.iter()
|
|
1703
|
+
.map(|path| path.capacity() + spawner(path).len())
|
|
1704
|
+
.sum::<usize>(),
|
|
1705
|
+
)?;
|
|
1706
|
+
let predicted = vec_capacity_for(&build.tasks, members.len());
|
|
1707
|
+
build.tasks.reserve(members.len());
|
|
1708
|
+
assert_eq!(
|
|
1709
|
+
build.tasks.capacity(),
|
|
1710
|
+
predicted,
|
|
1711
|
+
"prepared build collections landed off their predicted capacities"
|
|
1712
|
+
);
|
|
1713
|
+
for path in members.into_iter().rev() {
|
|
1714
|
+
let spawned_by = spawner(&path).to_owned();
|
|
1715
|
+
build.owned_payload_bytes += path.capacity() + spawned_by.capacity();
|
|
1716
|
+
build.charge_work.tick(1);
|
|
1717
|
+
build.tasks.push(GraphTask::Visit {
|
|
1718
|
+
path,
|
|
1719
|
+
depth,
|
|
1720
|
+
spawned_by: Some(spawned_by),
|
|
1721
|
+
});
|
|
1722
|
+
}
|
|
1723
|
+
continue;
|
|
1724
|
+
}
|
|
1725
|
+
let canonical = match sidechain_realpath(&directory) {
|
|
1680
1726
|
Ok(canonical) => canonical,
|
|
1681
1727
|
Err(error) if error.kind() == std::io::ErrorKind::NotFound => {
|
|
1682
1728
|
build.owned_payload_bytes += directory.capacity();
|
|
@@ -1692,8 +1738,7 @@ impl NativeStore {
|
|
|
1692
1738
|
Err(error) => return Err(io_error(error)),
|
|
1693
1739
|
};
|
|
1694
1740
|
self.authority(context, Some(&canonical))?;
|
|
1695
|
-
let stamp =
|
|
1696
|
-
SourceStamp::of(&std::fs::metadata(&canonical).map_err(io_error)?);
|
|
1741
|
+
let stamp = sidechain_stat(&canonical).map_err(io_error)?;
|
|
1697
1742
|
self.extend_projection_reservation(
|
|
1698
1743
|
reservation,
|
|
1699
1744
|
context,
|
|
@@ -1701,6 +1746,9 @@ impl NativeStore {
|
|
|
1701
1746
|
+ READ_DIR_HANDLE_BYTES
|
|
1702
1747
|
+ directory.as_os_str().len(),
|
|
1703
1748
|
)?;
|
|
1749
|
+
if live && canonical == directory && build.sidechain_registration.is_none() {
|
|
1750
|
+
build.sidechain_registration = self.sidechain_feed.begin(root, &directory);
|
|
1751
|
+
}
|
|
1704
1752
|
build.owned_payload_bytes += canonical.capacity();
|
|
1705
1753
|
build.charge_work.tick(1);
|
|
1706
1754
|
build.sidechain_dirs.push((canonical, Some(stamp)));
|
|
@@ -1710,7 +1758,7 @@ impl NativeStore {
|
|
|
1710
1758
|
"prepared build collections landed off their predicted capacities"
|
|
1711
1759
|
);
|
|
1712
1760
|
build.listing = Some(GraphListing {
|
|
1713
|
-
entries:
|
|
1761
|
+
entries: sidechain_listing(&directory)?,
|
|
1714
1762
|
children: Vec::new(),
|
|
1715
1763
|
depth,
|
|
1716
1764
|
});
|
|
@@ -1720,33 +1768,53 @@ impl NativeStore {
|
|
|
1720
1768
|
GraphTask::Visit {
|
|
1721
1769
|
path,
|
|
1722
1770
|
depth,
|
|
1723
|
-
spawned_by
|
|
1771
|
+
spawned_by,
|
|
1724
1772
|
} => {
|
|
1725
1773
|
examined += 1;
|
|
1726
|
-
let
|
|
1727
|
-
|
|
1728
|
-
let
|
|
1729
|
-
|
|
1774
|
+
let listed = spawned_by.is_some();
|
|
1775
|
+
let member = listed && depth == 1;
|
|
1776
|
+
let fed = member.then(|| self.sidechain_feed.stamp(&path)).flatten();
|
|
1777
|
+
let (canonical, stamp) = match fed {
|
|
1778
|
+
Some(stamp) => (path, stamp),
|
|
1779
|
+
None => {
|
|
1780
|
+
let canonical = sidechain_realpath(&path).map_err(io_error)?;
|
|
1781
|
+
self.authority(context, Some(&canonical))?;
|
|
1782
|
+
let registration =
|
|
1783
|
+
build.sidechain_registration.filter(|_| member);
|
|
1784
|
+
if let Some(epoch) = registration {
|
|
1785
|
+
self.sidechain_feed.watch(epoch, &path, &canonical);
|
|
1786
|
+
}
|
|
1787
|
+
let stamp = sidechain_stat(&canonical).map_err(io_error)?;
|
|
1788
|
+
if let Some(epoch) = registration {
|
|
1789
|
+
self.sidechain_feed.record(epoch, &path, stamp);
|
|
1790
|
+
}
|
|
1791
|
+
(canonical, stamp)
|
|
1792
|
+
}
|
|
1793
|
+
};
|
|
1730
1794
|
if build.seen.contains(&stamp.identity.file()) {
|
|
1731
1795
|
continue;
|
|
1732
1796
|
}
|
|
1797
|
+
let nested = !listed;
|
|
1733
1798
|
if active_since_ns(&build.request)?
|
|
1734
1799
|
.is_some_and(|since| stamp.mtime_ns < since)
|
|
1735
1800
|
{
|
|
1736
1801
|
self.extend_projection_reservation(
|
|
1737
1802
|
reservation,
|
|
1738
1803
|
context,
|
|
1739
|
-
set_growth(&build.seen, 1)
|
|
1804
|
+
set_growth(&build.seen, 1)
|
|
1805
|
+
+ if nested { canonical.as_os_str().len() } else { 0 },
|
|
1740
1806
|
)?;
|
|
1741
1807
|
let predicted =
|
|
1742
1808
|
(set_capacity_for(&build.seen, 1), build.tasks.capacity());
|
|
1743
1809
|
build.seen.insert(stamp.identity.file());
|
|
1744
|
-
build.owned_payload_bytes += canonical.capacity();
|
|
1745
1810
|
build.charge_work.tick(1);
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1811
|
+
if nested {
|
|
1812
|
+
build.owned_payload_bytes += canonical.capacity();
|
|
1813
|
+
build.tasks.push(GraphTask::List {
|
|
1814
|
+
parent: canonical,
|
|
1815
|
+
depth: depth + 1,
|
|
1816
|
+
});
|
|
1817
|
+
}
|
|
1750
1818
|
assert_eq!(
|
|
1751
1819
|
(build.seen.capacity(), build.tasks.capacity()),
|
|
1752
1820
|
predicted,
|
|
@@ -1760,13 +1828,14 @@ impl NativeStore {
|
|
|
1760
1828
|
"prepared graph source budget exhausted",
|
|
1761
1829
|
));
|
|
1762
1830
|
}
|
|
1831
|
+
let copies = if nested { 3 } else { 2 };
|
|
1763
1832
|
self.extend_projection_reservation(
|
|
1764
1833
|
reservation,
|
|
1765
1834
|
context,
|
|
1766
1835
|
set_growth(&build.seen, 1)
|
|
1767
1836
|
+ vec_growth(&build.stamps, 1)
|
|
1768
1837
|
+ vec_growth(&build.sources, 1)
|
|
1769
|
-
+
|
|
1838
|
+
+ copies * canonical.as_os_str().len(),
|
|
1770
1839
|
)?;
|
|
1771
1840
|
let predicted = (
|
|
1772
1841
|
set_capacity_for(&build.seen, 1),
|
|
@@ -1778,18 +1847,26 @@ impl NativeStore {
|
|
|
1778
1847
|
self.build_sources.fetch_add(1, Ordering::Relaxed);
|
|
1779
1848
|
build.seen.insert(stamp.identity.file());
|
|
1780
1849
|
build.stamps.push((canonical.clone(), stamp));
|
|
1781
|
-
build.
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1850
|
+
build.owned_payload_bytes += build.stamps.last().unwrap().0.capacity();
|
|
1851
|
+
if nested {
|
|
1852
|
+
build.sources.push(PreparedSourceRef {
|
|
1853
|
+
path: canonical.clone(),
|
|
1854
|
+
stamp,
|
|
1855
|
+
});
|
|
1856
|
+
build.owned_payload_bytes += build.sources.last().unwrap().path.capacity()
|
|
1857
|
+
+ canonical.capacity();
|
|
1858
|
+
build.tasks.push(GraphTask::List {
|
|
1859
|
+
parent: canonical,
|
|
1860
|
+
depth: depth + 1,
|
|
1861
|
+
});
|
|
1862
|
+
} else {
|
|
1863
|
+
build.owned_payload_bytes += canonical.capacity();
|
|
1864
|
+
build.sources.push(PreparedSourceRef {
|
|
1865
|
+
path: canonical,
|
|
1866
|
+
stamp,
|
|
1867
|
+
});
|
|
1868
|
+
}
|
|
1869
|
+
build.charge_work.tick(copies);
|
|
1793
1870
|
assert_eq!(
|
|
1794
1871
|
(
|
|
1795
1872
|
build.seen.capacity(),
|
|
@@ -1810,6 +1887,9 @@ impl NativeStore {
|
|
|
1810
1887
|
if build.listing.is_some() || !build.tasks.is_empty() {
|
|
1811
1888
|
return self.store_prepared_build(token, build, reservation);
|
|
1812
1889
|
}
|
|
1890
|
+
if let Some(epoch) = build.sidechain_registration {
|
|
1891
|
+
self.sidechain_feed.complete(epoch);
|
|
1892
|
+
}
|
|
1813
1893
|
let graph_id = self.token("prepared-graph");
|
|
1814
1894
|
self.extend_projection_reservation(
|
|
1815
1895
|
reservation,
|