entelligence-cli 0.1.331__tar.gz → 0.1.334__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.
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/PKG-INFO +1 -1
- entelligence_cli-0.1.334/entelligence_cli/_vendor/MEMORY_CORE_SOURCE_REVISION +1 -0
- entelligence_cli-0.1.334/entelligence_cli/_vendor/MEMORY_CORE_VERSION +1 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/local/source.py +136 -8
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/upload/discovery.py +33 -8
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli.egg-info/PKG-INFO +1 -1
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli.egg-info/SOURCES.txt +1 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/pyproject.toml +1 -1
- entelligence_cli-0.1.334/tests/test_upload_skips_codex_imports.py +112 -0
- entelligence_cli-0.1.331/entelligence_cli/_vendor/MEMORY_CORE_SOURCE_REVISION +0 -1
- entelligence_cli-0.1.331/entelligence_cli/_vendor/MEMORY_CORE_VERSION +0 -1
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/README.md +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/__init__.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/__init__.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/__init__.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/code_authorship.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/__init__.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/__init__.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_paths.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_segmentation_prompts/system.j2 +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_segmentation_prompts/user.j2 +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/__init__.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/_base.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/_jsonl_utils.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/entireio/__init__.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/entireio/git_reader.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/entireio/models.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/entireio/parser.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/entireio/source.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/factory.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/local/__init__.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/local/parsers/__init__.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/local/parsers/base.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/local/parsers/claude_code.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/local/parsers/claude_cost_summary.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/local/parsers/codex.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/local/parsers/copilot.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/local/parsers/cursor_agent_transcript.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/local/parsers/cursor_store.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/local/parsers/kiro.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/local/parsers/opencode.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/behavior_signals.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/edit_lines.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/file_paths.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/metrics.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/produced.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/segment_orchestrator.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/segment_pure.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/session_pure.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/skill_names.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/spans.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/pricing.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/vocabulary/__init__.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/vocabulary/categories.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/vocabulary/edges.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/_vendor/memory_core/vocabulary/nodes.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/agent_insights_proxy.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/agent_insights_segment.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/api_client.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/ascii-art.txt +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/billing_snapshot.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/browser_login.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/claude_cloud.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/cli.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/code_authorship.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/commands/__init__.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/commands/auth.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/commands/budget.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/commands/config.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/commands/cursor_doctor.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/commands/incident.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/commands/insights.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/commands/mcp.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/commands/reset.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/commands/review.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/commands/router.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/commands/security.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/commands/skills.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/commands/trim.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/commands/update.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/config.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/cursor_cloud.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/cursor_path_a_usage.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/diagnostics.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/exceptions.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/facts_envelope.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/git_operations.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/hooks/__init__.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/hooks/capacity_emit.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/hooks/context_guard.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/hooks/session_brief.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/hooks/standup_emit.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/insights_log.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/insights_watch.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/mcp_inventory.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/platform_env.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/router/__init__.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/router/claude_settings.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/router/codex_auth.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/router/codex_settings.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/router/compress.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/router/copilot_launcher.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/router/copilot_settings.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/router/cursor_settings.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/router/state.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/scheduling.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/session_deferrals.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/session_inventory.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/session_revisions.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/textual_ui.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/token_savings_snapshot.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/ui/__init__.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/ui/interactive.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/ui/keys.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/ui/loaders.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/ui/output.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/ui/styles.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/update_checker.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/upload/__init__.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/upload/conductor.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/upload/config.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/upload/cursor_usage.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/upload/manifest.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/upload/models.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/upload/pii.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/upload/runner.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/upload/secrets.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/upload/stores.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/wrapped_game.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli.egg-info/dependency_links.txt +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli.egg-info/entry_points.txt +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli.egg-info/requires.txt +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli.egg-info/top_level.txt +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/setup.cfg +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_agent_insights_proxy.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_agent_insights_proxy_api_client.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_agent_insights_segment.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_attach_fix_smoke.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_attach_ticket_smoke.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_auto_update_loop_guard.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_billing_snapshot.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_billing_snapshot_cloud.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_budget_smoke.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_capacity_emit.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_claude_capture_boundary.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_claude_cloud.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_claude_cloud_cadence.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_claude_code_cost_events.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_claude_code_subagent_usage.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_claude_hook_helper_classification.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_code_authorship.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_code_authorship_parser_regressions.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_code_authorship_parsers.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_codex_auth.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_codex_native_ledger.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_codex_settings.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_codex_total_only_sync.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_conductor.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_context_guard.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_copilot_launcher.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_copilot_parser_tokens.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_creation_provenance_contract.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_cursor_cloud.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_cursor_composer_mtime_stamp.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_cursor_doctor.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_cursor_path_a_usage.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_cursor_path_regex_and_heartbeat.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_cursor_self_heal_loop.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_cursor_settings.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_cursor_unknown_timestamps.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_cursor_usage.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_cursor_usage_archive.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_cursor_usage_completeness.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_cursor_usage_heal.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_cursor_usage_recapture.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_cursor_usage_state.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_detached_background_work.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_diagnostics.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_discovery_head_unicode.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_discovery_opencode.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_eligibility_state.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_endpoint_scheme_enforcement.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_entropy_secret_detection.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_error_body_decode.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_facts_envelope.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_git_operations_copilot.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_heartbeat_api_client.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_identity_cache_refresh.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_incident_refs.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_incident_smoke.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_insights_cadence_heartbeat.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_insights_checkpoint_resume.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_insights_copilot_prompts.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_insights_cursor_composer_home.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_insights_index_failure.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_insights_kiro_prompts.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_insights_log.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_insights_me_smoke.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_insights_path_a_default.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_insights_produced_prs.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_insights_redrain.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_insights_repo_attribution.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_insights_schedule.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_insights_schedule_arm.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_insights_structured_payload.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_insights_watch.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_insights_watch_transport.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_legacy_encoding_recovery.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_local_source_discovery_stats.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_login_token_stdin.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_machine_fingerprint.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_mcp_install.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_mcp_inventory.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_multipart_backoff.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_pii.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_presigned_skip_index.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_processing_checkpoint_api_client.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_release_directive.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_reset_command.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_review_redaction.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_rosetta_self_heal.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_router_commands.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_router_dead_proxy_guard.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_router_stats.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_scheduling_cron_env.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_schtasks_integration.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_secrets_redaction_boundary.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_security_commands.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_segment_chunking.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_segment_session_timeout.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_segmentation_role_gate.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_segmentation_window_scope.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_segmentation_worker_failure_visibility.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_session_accuracy_regressions.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_session_brief.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_session_deferrals.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_session_inventory.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_session_revisions.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_sessions_status_chunking.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_sessions_status_safe_default.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_skills_command.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_sync_backgrounding.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_sync_dry_run_checkpoint.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_sync_parse_failure_checkpoint.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_sync_partial_schema.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_sync_pushes_built_sessions.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_sync_runs_full_pipeline.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_token_savings_snapshot.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_trim_command.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_trim_hook_opt_in_only_guard.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_update_command.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_upload_copilot.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_upload_cursor_store.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_upload_home_backfill.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_upload_kiro.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_upload_repo_filter.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_upload_repo_roots.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_windows_compat.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_world_model_provenance.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_wrap_retry.py +0 -0
- {entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/tests/test_wsl_support.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: entelligence-cli
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.334
|
|
4
4
|
Summary: AI-powered code review assistant for your terminal - Get instant, intelligent feedback on your code changes
|
|
5
5
|
Author-email: EntelligenceAI <info@entelligence.ai>
|
|
6
6
|
Project-URL: Homepage, https://entelligence.ai
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
f0226e8af01b7ca37ca82d61b10e90c1db57659b
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.1.32
|
|
@@ -568,6 +568,117 @@ def _slug_name_variants(name: str) -> list[str]:
|
|
|
568
568
|
return variants
|
|
569
569
|
|
|
570
570
|
|
|
571
|
+
#: Where a Codex home keeps rollouts. Codex MOVES a rollout, unchanged, from
|
|
572
|
+
#: `sessions/YYYY/MM/DD/` to a flat `archived_sessions/` when the developer
|
|
573
|
+
#: archives the thread. The file stem -- and so the session id -- is the same in
|
|
574
|
+
#: both, so reading the second folder cannot mint a second session.
|
|
575
|
+
CODEX_ROLLOUT_DIRS = ("sessions", "archived_sessions")
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
def codex_rollout_dirs(home: Path) -> list[Path]:
|
|
579
|
+
"""Return the rollout directories that exist under a Codex home.
|
|
580
|
+
|
|
581
|
+
The single answer to "where are this home's Codex sessions", shared by
|
|
582
|
+
every reader (`LocalSource`, the server-side uploader walk, the skill
|
|
583
|
+
corpus walker, and the CLI's transcript upload) so none of them can
|
|
584
|
+
overlook archived threads again.
|
|
585
|
+
|
|
586
|
+
Args:
|
|
587
|
+
home: a candidate Codex home.
|
|
588
|
+
|
|
589
|
+
Returns:
|
|
590
|
+
The existing directories, `sessions/` first. EMPTY means this is not a
|
|
591
|
+
Codex home: a home whose every thread is archived has no `sessions/`
|
|
592
|
+
directory and is still a home.
|
|
593
|
+
"""
|
|
594
|
+
return [home / name for name in CODEX_ROLLOUT_DIRS if (home / name).is_dir()]
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
#: Where Codex records the sessions it imported from another agent, one record
|
|
598
|
+
#: per import, each naming the Codex thread it created (`imported_thread_id`).
|
|
599
|
+
_CODEX_IMPORT_LEDGER = "external_agent_session_imports.json"
|
|
600
|
+
_UUID_LEN = 36
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
def _codex_imported_thread_ids(home: Path) -> frozenset[str]:
|
|
604
|
+
"""Return the thread ids Codex says it imported from another agent.
|
|
605
|
+
|
|
606
|
+
Reads Codex's own ledger, so an import is identified by what Codex
|
|
607
|
+
recorded, never guessed from a transcript's shape.
|
|
608
|
+
|
|
609
|
+
Args:
|
|
610
|
+
home: a Codex home (the directory holding `sessions/`).
|
|
611
|
+
|
|
612
|
+
Returns:
|
|
613
|
+
The imported thread ids. EMPTY when the ledger is absent, unreadable
|
|
614
|
+
or not the expected shape, and malformed records are passed over: an
|
|
615
|
+
empty set skips nothing, so every failure here fails open to
|
|
616
|
+
capturing the rollout, never to dropping a session.
|
|
617
|
+
"""
|
|
618
|
+
try:
|
|
619
|
+
ledger = json.loads((home / _CODEX_IMPORT_LEDGER).read_text(encoding="utf-8"))
|
|
620
|
+
except (OSError, ValueError):
|
|
621
|
+
return frozenset()
|
|
622
|
+
records = ledger.get("records") if isinstance(ledger, dict) else None
|
|
623
|
+
if not isinstance(records, list):
|
|
624
|
+
return frozenset()
|
|
625
|
+
return frozenset(
|
|
626
|
+
record["imported_thread_id"]
|
|
627
|
+
for record in records
|
|
628
|
+
if isinstance(record, dict) and isinstance(record.get("imported_thread_id"), str)
|
|
629
|
+
)
|
|
630
|
+
|
|
631
|
+
|
|
632
|
+
def _codex_ran_a_turn(jsonl_file: Path) -> bool:
|
|
633
|
+
"""Return whether Codex ran a model turn of its own in this rollout.
|
|
634
|
+
|
|
635
|
+
Codex writes a `turn_context` record for every turn it runs. A transcript
|
|
636
|
+
it only imported has none; one the developer then continued in Codex does,
|
|
637
|
+
and carries real Codex spend.
|
|
638
|
+
|
|
639
|
+
Returns:
|
|
640
|
+
True when a `turn_context` record is present -- and also when the file
|
|
641
|
+
cannot be read, so an I/O fault can never be what drops a session.
|
|
642
|
+
"""
|
|
643
|
+
# ponytail: an import that was never continued is re-read in full on every
|
|
644
|
+
# index build (measured: 45 files, 8 MB, ~125 ms). Cache by (path, mtime,
|
|
645
|
+
# size) if a home ever holds enough imports for that to show up in a sync.
|
|
646
|
+
try:
|
|
647
|
+
with jsonl_file.open("rb") as fh:
|
|
648
|
+
for line in fh:
|
|
649
|
+
if b'"turn_context"' not in line:
|
|
650
|
+
continue
|
|
651
|
+
try:
|
|
652
|
+
record = json.loads(line)
|
|
653
|
+
except ValueError:
|
|
654
|
+
continue
|
|
655
|
+
if isinstance(record, dict) and record.get("type") == "turn_context":
|
|
656
|
+
return True
|
|
657
|
+
except OSError:
|
|
658
|
+
return True
|
|
659
|
+
return False
|
|
660
|
+
|
|
661
|
+
|
|
662
|
+
def _codex_is_uncontinued_import(jsonl_file: Path, imported_thread_ids: frozenset[str]) -> bool:
|
|
663
|
+
"""Return whether a rollout is another agent's session that Codex only imported.
|
|
664
|
+
|
|
665
|
+
The single statement of the rule, shared by every Codex discovery path
|
|
666
|
+
(`LocalSource` here, and the CLI's transcript upload) so they cannot
|
|
667
|
+
disagree about which rollouts are Codex sessions.
|
|
668
|
+
|
|
669
|
+
Args:
|
|
670
|
+
jsonl_file: the rollout; its stem ends in its thread id.
|
|
671
|
+
imported_thread_ids: `_codex_imported_thread_ids` of the rollout's home.
|
|
672
|
+
|
|
673
|
+
Returns:
|
|
674
|
+
True only when BOTH hold: Codex's ledger names the thread, and Codex
|
|
675
|
+
never ran a turn of its own in it. The ledger alone would drop an
|
|
676
|
+
import the developer went on to continue in Codex, which carries
|
|
677
|
+
real Codex spend.
|
|
678
|
+
"""
|
|
679
|
+
return jsonl_file.stem[-_UUID_LEN:] in imported_thread_ids and not _codex_ran_a_turn(jsonl_file)
|
|
680
|
+
|
|
681
|
+
|
|
571
682
|
def _cwd_from_codex_head(head: bytes) -> str | None:
|
|
572
683
|
"""The absolute `cwd` Codex records in its `session_meta` line.
|
|
573
684
|
|
|
@@ -1260,14 +1371,18 @@ class LocalSource:
|
|
|
1260
1371
|
_index_put(index, ref[0], ref[1], newest)
|
|
1261
1372
|
|
|
1262
1373
|
for home in self.codex_homes:
|
|
1263
|
-
|
|
1264
|
-
if not
|
|
1265
|
-
logger.debug("Skipping non-existent path: %s",
|
|
1374
|
+
rollout_dirs = codex_rollout_dirs(home)
|
|
1375
|
+
if not rollout_dirs:
|
|
1376
|
+
logger.debug("Skipping non-existent path: %s", home / "sessions")
|
|
1266
1377
|
continue
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1378
|
+
imported_thread_ids = _codex_imported_thread_ids(home)
|
|
1379
|
+
for rollout_dir in rollout_dirs:
|
|
1380
|
+
for jsonl_file in rollout_dir.rglob("*.jsonl"):
|
|
1381
|
+
ref = self._index_codex_file(
|
|
1382
|
+
jsonl_file, home=home, imported_thread_ids=imported_thread_ids
|
|
1383
|
+
)
|
|
1384
|
+
if ref:
|
|
1385
|
+
_index_put(index, ref[0], ref[1], newest)
|
|
1271
1386
|
|
|
1272
1387
|
# opencode: materialized NDJSON lives at `<home>/<project_id>/*.jsonl`
|
|
1273
1388
|
# (no fixed sub-dir like Claude's `projects/` or Codex's `sessions/`),
|
|
@@ -1464,8 +1579,18 @@ class LocalSource:
|
|
|
1464
1579
|
jsonl_file: Path,
|
|
1465
1580
|
*,
|
|
1466
1581
|
home: Path,
|
|
1582
|
+
imported_thread_ids: frozenset[str] = frozenset(),
|
|
1467
1583
|
) -> tuple[str, _FileRef] | None:
|
|
1468
|
-
"""Index one Codex JSONL file.
|
|
1584
|
+
"""Index one Codex JSONL file.
|
|
1585
|
+
|
|
1586
|
+
Args:
|
|
1587
|
+
jsonl_file: the rollout to index.
|
|
1588
|
+
home: the Codex home it was found under.
|
|
1589
|
+
imported_thread_ids: `_codex_imported_thread_ids(home)`, read once
|
|
1590
|
+
per home by the caller. A rollout named for one of these that
|
|
1591
|
+
Codex never ran a turn in is another agent's session, already
|
|
1592
|
+
captured under that agent, and is skipped.
|
|
1593
|
+
"""
|
|
1469
1594
|
if not jsonl_file.is_file():
|
|
1470
1595
|
# See _index_cc_file's identical guard: a directory/broken symlink
|
|
1471
1596
|
# is never tallied, only a genuinely empty real file is.
|
|
@@ -1492,6 +1617,9 @@ class LocalSource:
|
|
|
1492
1617
|
self._record_discovery("codex", "different_agent")
|
|
1493
1618
|
return None
|
|
1494
1619
|
|
|
1620
|
+
if _codex_is_uncontinued_import(jsonl_file, imported_thread_ids):
|
|
1621
|
+
self._record_discovery("codex", "imported_not_continued")
|
|
1622
|
+
return None
|
|
1495
1623
|
stem = jsonl_file.stem
|
|
1496
1624
|
session_id = f"local:{agent}:{stem}"
|
|
1497
1625
|
mtime = datetime.fromtimestamp(jsonl_file.stat().st_mtime, tz=UTC)
|
|
@@ -200,13 +200,34 @@ def _codex_cwd_from_file(path: Path, head: bytes) -> Path | None:
|
|
|
200
200
|
|
|
201
201
|
|
|
202
202
|
def find_codex_candidates(home: HomeSpec) -> Iterator[Session]:
|
|
203
|
-
"""Yield Sessions for every Codex transcript under ``home`` (no secret scan).
|
|
204
|
-
|
|
205
|
-
|
|
203
|
+
"""Yield Sessions for every Codex transcript under ``home`` (no secret scan).
|
|
204
|
+
|
|
205
|
+
A rollout Codex imported from another agent and never ran a turn in is NOT
|
|
206
|
+
yielded: the original is uploaded under its own agent, and the server parses
|
|
207
|
+
uploads with no import ledger beside them, so a copy that reaches S3 is
|
|
208
|
+
ingested as a second, $0 Codex session and can never be recognised again.
|
|
209
|
+
The decision is memory_core's -- the one ``LocalSource`` makes -- so the two
|
|
210
|
+
discovery paths cannot disagree; it fails open (yields) on any ledger fault.
|
|
211
|
+
"""
|
|
212
|
+
# Function-level: the ``_vendor`` sys.path bootstrap must run before
|
|
213
|
+
# ``memory_core`` resolves (same reason as ``upload/secrets.py``).
|
|
214
|
+
from entelligence_cli import _vendor as _vendor # noqa: F401 — memory_core on sys.path
|
|
215
|
+
from memory_core.ingestion.coding_agent._sources.local.source import (
|
|
216
|
+
_codex_imported_thread_ids,
|
|
217
|
+
_codex_is_uncontinued_import,
|
|
218
|
+
codex_rollout_dirs,
|
|
219
|
+
)
|
|
220
|
+
|
|
221
|
+
# `sessions/` AND `archived_sessions/`: Codex moves a rollout to the second
|
|
222
|
+
# when its thread is archived, and an archived session is still a session.
|
|
223
|
+
rollout_dirs = codex_rollout_dirs(home.path)
|
|
224
|
+
if not rollout_dirs:
|
|
206
225
|
logger.debug("Skipping %s (no sessions dir)", home.path)
|
|
207
226
|
return
|
|
208
227
|
|
|
209
|
-
|
|
228
|
+
imported_thread_ids = _codex_imported_thread_ids(home.path)
|
|
229
|
+
rollouts = (jsonl for rollout_dir in rollout_dirs for jsonl in rollout_dir.rglob("*.jsonl"))
|
|
230
|
+
for jsonl in rollouts:
|
|
210
231
|
if not jsonl.is_file():
|
|
211
232
|
continue
|
|
212
233
|
try:
|
|
@@ -215,6 +236,8 @@ def find_codex_candidates(home: HomeSpec) -> Iterator[Session]:
|
|
|
215
236
|
continue
|
|
216
237
|
if st.st_size == 0:
|
|
217
238
|
continue
|
|
239
|
+
if _codex_is_uncontinued_import(jsonl, imported_thread_ids):
|
|
240
|
+
continue
|
|
218
241
|
|
|
219
242
|
head = _read_head(jsonl)
|
|
220
243
|
if head is None:
|
|
@@ -2134,11 +2157,13 @@ def _count_cc_sessions(home: Path) -> int:
|
|
|
2134
2157
|
|
|
2135
2158
|
|
|
2136
2159
|
def _count_codex_sessions(home: Path) -> int:
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2160
|
+
# Function-level for the same reason as in ``find_codex_candidates``. Same
|
|
2161
|
+
# folders as that walk, so a home it would read is never left undetected.
|
|
2162
|
+
from entelligence_cli import _vendor as _vendor # noqa: F401 — memory_core on sys.path
|
|
2163
|
+
from memory_core.ingestion.coding_agent._sources.local.source import codex_rollout_dirs
|
|
2164
|
+
|
|
2140
2165
|
try:
|
|
2141
|
-
return sum(1 for _ in
|
|
2166
|
+
return sum(1 for d in codex_rollout_dirs(home) for _ in d.rglob("*.jsonl"))
|
|
2142
2167
|
except OSError:
|
|
2143
2168
|
return 0
|
|
2144
2169
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: entelligence-cli
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.334
|
|
4
4
|
Summary: AI-powered code review assistant for your terminal - Get instant, intelligent feedback on your code changes
|
|
5
5
|
Author-email: EntelligenceAI <info@entelligence.ai>
|
|
6
6
|
Project-URL: Homepage, https://entelligence.ai
|
|
@@ -250,6 +250,7 @@ tests/test_upload_home_backfill.py
|
|
|
250
250
|
tests/test_upload_kiro.py
|
|
251
251
|
tests/test_upload_repo_filter.py
|
|
252
252
|
tests/test_upload_repo_roots.py
|
|
253
|
+
tests/test_upload_skips_codex_imports.py
|
|
253
254
|
tests/test_windows_compat.py
|
|
254
255
|
tests/test_world_model_provenance.py
|
|
255
256
|
tests/test_wrap_retry.py
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "entelligence-cli"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.334"
|
|
8
8
|
description = "AI-powered code review assistant for your terminal - Get instant, intelligent feedback on your code changes"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
authors = [
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"""The transcript upload must not send a rollout Codex imported from another agent.
|
|
2
|
+
|
|
3
|
+
Codex writes an imported session (measured: 47 Claude Code sessions in one pass)
|
|
4
|
+
as an ordinary `sessions/**/rollout-*.jsonl` and records it in
|
|
5
|
+
`<codex home>/external_agent_session_imports.json`. The original is already
|
|
6
|
+
uploaded under its own agent; uploading the copy made the server ingest it a
|
|
7
|
+
second time, as a Codex session with no model and $0.
|
|
8
|
+
|
|
9
|
+
This lane matters more than the local one: the server parses uploads with no
|
|
10
|
+
ledger beside them, so an import that reaches S3 can never be recognised again.
|
|
11
|
+
The decision is memory_core's (`_codex_imported_thread_ids`, `_codex_ran_a_turn`),
|
|
12
|
+
the same one `LocalSource` makes, so the two discovery paths cannot disagree.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
|
|
17
|
+
import json
|
|
18
|
+
from pathlib import Path
|
|
19
|
+
|
|
20
|
+
from entelligence_cli.upload.discovery import find_codex_candidates
|
|
21
|
+
from entelligence_cli.upload.models import AgentKind, HomeSpec
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
IMPORTED = "01a0a028-0000-7000-8000-00000000000a"
|
|
25
|
+
CONTINUED = "01a0a028-0000-7000-8000-00000000000b"
|
|
26
|
+
REAL = "01a0a028-0000-7000-8000-00000000000c"
|
|
27
|
+
REAL_BUT_EMPTY = "01a0a028-0000-7000-8000-00000000000d"
|
|
28
|
+
|
|
29
|
+
_META = {"type": "session_meta", "payload": {"originator": "codex_cli_rs", "cwd": "/repo"}}
|
|
30
|
+
_TURN = {"type": "turn_context", "payload": {"model": "gpt-5.6-sol"}}
|
|
31
|
+
_TOTAL_ONLY_USAGE = {
|
|
32
|
+
"type": "event_msg",
|
|
33
|
+
"payload": {"type": "token_count", "info": {"total_token_usage": {"total_tokens": 493481}}},
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
def _write_rollout(home: Path, thread_id: str, records: list[dict]) -> None:
|
|
38
|
+
day = home / "sessions" / "2026" / "09" / "08"
|
|
39
|
+
day.mkdir(parents=True, exist_ok=True)
|
|
40
|
+
body = b"\n".join(json.dumps(r).encode() for r in records) + b"\n"
|
|
41
|
+
(day / f"rollout-2026-09-08T07-23-37-{thread_id}.jsonl").write_bytes(body)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
def _codex_home(tmp_path: Path) -> Path:
|
|
45
|
+
home = tmp_path / ".codex"
|
|
46
|
+
_write_rollout(home, IMPORTED, [_META, _TOTAL_ONLY_USAGE])
|
|
47
|
+
_write_rollout(home, CONTINUED, [_META, _TOTAL_ONLY_USAGE, _TURN])
|
|
48
|
+
_write_rollout(home, REAL, [_META, _TURN])
|
|
49
|
+
_write_rollout(home, REAL_BUT_EMPTY, [_META])
|
|
50
|
+
return home
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
def _uploaded_threads(home: Path) -> set[str]:
|
|
54
|
+
sessions = find_codex_candidates(HomeSpec(kind=AgentKind.CODEX, path=home))
|
|
55
|
+
return {s.abs_path.stem[-36:] for s in sessions}
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
def test_an_imported_rollout_that_was_never_continued_is_not_uploaded(tmp_path: Path) -> None:
|
|
59
|
+
home = _codex_home(tmp_path)
|
|
60
|
+
ledger = {"records": [{"imported_thread_id": IMPORTED}, {"imported_thread_id": CONTINUED}]}
|
|
61
|
+
(home / "external_agent_session_imports.json").write_text(json.dumps(ledger))
|
|
62
|
+
|
|
63
|
+
# CONTINUED carries real Codex turns; REAL_BUT_EMPTY is not in the ledger.
|
|
64
|
+
assert _uploaded_threads(home) == {CONTINUED, REAL, REAL_BUT_EMPTY}
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
def test_without_a_readable_ledger_everything_is_uploaded(tmp_path: Path) -> None:
|
|
68
|
+
home = _codex_home(tmp_path)
|
|
69
|
+
assert _uploaded_threads(home) == {IMPORTED, CONTINUED, REAL, REAL_BUT_EMPTY}
|
|
70
|
+
|
|
71
|
+
(home / "external_agent_session_imports.json").write_text("{not json")
|
|
72
|
+
assert _uploaded_threads(home) == {IMPORTED, CONTINUED, REAL, REAL_BUT_EMPTY}
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
def test_an_archived_rollout_is_uploaded_and_an_archived_import_is_not(tmp_path: Path) -> None:
|
|
76
|
+
# Codex moves a rollout to a flat `archived_sessions/` when its thread is archived.
|
|
77
|
+
home = tmp_path / ".codex"
|
|
78
|
+
archived = home / "archived_sessions"
|
|
79
|
+
archived.mkdir(parents=True)
|
|
80
|
+
for thread_id, records in ((REAL, [_META, _TURN]), (IMPORTED, [_META, _TOTAL_ONLY_USAGE])):
|
|
81
|
+
body = b"\n".join(json.dumps(r).encode() for r in records) + b"\n"
|
|
82
|
+
(archived / f"rollout-2026-09-08T07-23-37-{thread_id}.jsonl").write_bytes(body)
|
|
83
|
+
(home / "external_agent_session_imports.json").write_text(
|
|
84
|
+
json.dumps({"records": [{"imported_thread_id": IMPORTED}]})
|
|
85
|
+
)
|
|
86
|
+
|
|
87
|
+
sessions = list(find_codex_candidates(HomeSpec(kind=AgentKind.CODEX, path=home)))
|
|
88
|
+
|
|
89
|
+
# A home with no `sessions/` dir at all is still walked, and the key keeps the real folder.
|
|
90
|
+
assert [s.abs_path.stem[-36:] for s in sessions] == [REAL]
|
|
91
|
+
assert sessions[0].rel_path.parts[0] == "archived_sessions"
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
def test_a_home_holding_only_archived_rollouts_is_auto_detected(
|
|
95
|
+
tmp_path: Path, monkeypatch
|
|
96
|
+
) -> None:
|
|
97
|
+
# First-time setup finds homes through `auto_detect_homes`; a home it drops is
|
|
98
|
+
# never configured, so `find_codex_candidates` never gets to walk it.
|
|
99
|
+
from entelligence_cli.upload import discovery
|
|
100
|
+
|
|
101
|
+
archived_only = tmp_path / ".codex"
|
|
102
|
+
(archived_only / "archived_sessions").mkdir(parents=True)
|
|
103
|
+
rollout = archived_only / "archived_sessions" / f"rollout-2026-09-08T07-23-37-{REAL}.jsonl"
|
|
104
|
+
rollout.write_bytes(json.dumps(_META).encode() + b"\n")
|
|
105
|
+
# Looks like a Codex home, holds no rollout in either folder: still not a home.
|
|
106
|
+
(tmp_path / ".codex-empty" / "archived_sessions").mkdir(parents=True)
|
|
107
|
+
(tmp_path / ".codex-empty" / "sessions").mkdir()
|
|
108
|
+
monkeypatch.setattr(discovery, "home_search_roots", lambda: [tmp_path])
|
|
109
|
+
|
|
110
|
+
codex_homes = discovery.auto_detect_homes()[1]
|
|
111
|
+
|
|
112
|
+
assert codex_homes == [archived_only.resolve()]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
3993eafd66b26a19bbbffd2daebcd0d757d1ceba
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.1.31
|
|
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
|
{entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/agent_insights_proxy.py
RENAMED
|
File without changes
|
{entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/agent_insights_segment.py
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
|
{entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/commands/cursor_doctor.py
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
|
{entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/cursor_path_a_usage.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/hooks/capacity_emit.py
RENAMED
|
File without changes
|
{entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/hooks/context_guard.py
RENAMED
|
File without changes
|
{entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/hooks/session_brief.py
RENAMED
|
File without changes
|
{entelligence_cli-0.1.331 → entelligence_cli-0.1.334}/entelligence_cli/hooks/standup_emit.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|