bugx-cli 0.1.0 → 0.1.2
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.
- package/README.md +193 -185
- package/core/README.md +2 -2
- package/core/agent/README.md +2 -1
- package/core/agent/agent_artifacts.py +8 -6
- package/core/agent/agent_eval.py +136 -54
- package/core/agent/agent_execution.py +218 -52
- package/core/agent/agent_orchestrator.py +14 -8
- package/core/agent/agent_targets.py +8 -2
- package/core/agent/feature_baseline.py +150 -0
- package/core/assets/README.md +3 -2
- package/core/assets/axe-core/LICENSE-3RD-PARTY.txt +66 -0
- package/core/assets/axe-core/LICENSE.txt +362 -0
- package/core/assets/axe-core/UPSTREAM.md +10 -0
- package/core/assets/axe-core/axe.min.js +12 -0
- package/core/assets/bugx-hero-en.svg +74 -0
- package/core/assets/bugx-hero-zh.svg +74 -0
- package/core/assets/bugx-social-preview.svg +71 -0
- package/core/assets/bugx-wechat-group.png +0 -0
- package/core/assets/codex.png +0 -0
- package/core/assets/dsh.png +0 -0
- package/core/assets/webui-chatgpt.jpg +0 -0
- package/core/assets/webui-session.jpg +0 -0
- package/core/assets/webui-skills.jpg +0 -0
- package/core/assets/webui-studio.jpg +0 -0
- package/core/assets/webui-zcode.jpg +0 -0
- package/core/assets/zcode.png +0 -0
- package/core/audit_packs/README.md +2 -0
- package/core/audit_packs/pitfalls/auth_crypto.json +64 -0
- package/core/audit_packs/pitfalls/file_ssrf_cmd.json +64 -0
- package/core/audit_packs/pitfalls/go_backend.json +66 -0
- package/core/audit_packs/pitfalls/java_spring.json +64 -0
- package/core/audit_packs/pitfalls/js_ts_web.json +67 -0
- package/core/audit_packs/pitfalls/python_web.json +82 -0
- package/core/autonomous_cve/SPEC.md +1 -1
- package/core/autonomous_cve/attack_graph_store.py +152 -106
- package/core/autonomous_cve/behavior_graph.py +8 -2
- package/core/autonomous_cve/verifier.py +4 -1
- package/core/bugx.md +1 -1
- package/core/bugx_paths.py +43 -8
- package/core/cli-help.txt +66 -0
- package/core/cloud_sync/SPEC.md +1 -1
- package/core/cloud_sync/cloud_client.py +81 -11
- package/core/cloud_sync/cloud_onboard.py +42 -1
- package/core/cloud_sync/consent.py +33 -3
- package/core/cloud_sync/flywheel_client.py +186 -15
- package/core/cloud_sync/network_transport.py +24 -3
- package/core/cloud_sync/sensitive_filter.py +2 -2
- package/core/cloud_sync/sync_push.py +12 -10
- package/core/contracts/AGENT_GUIDE.md +6 -9
- package/core/contracts/README.md +2 -2
- package/core/contracts/bugx-runtime-contract.md +1 -1
- package/core/contracts/bugx-worker.md +1 -1
- package/core/contracts/engine_gap_contracts.py +86 -3
- package/core/coverage/coverage_discovery.py +599 -29
- package/core/coverage/coverage_evidence.py +47 -0
- package/core/coverage/coverage_forensics.py +9 -0
- package/core/coverage/coverage_validate.py +6 -1
- package/core/dev_harness/SPEC.md +1 -1
- package/core/engine-integrity.json +670 -442
- package/core/fuzzing/concurrency_fuzzer.py +53 -0
- package/core/fuzzing/differential_oracle.py +562 -27
- package/core/fuzzing/fuzz_input.py +109 -6
- package/core/fuzzing/stateful_fuzzer.py +72 -0
- package/core/governance/secret_redactor.py +22 -10
- package/core/host_acp/SPEC.md +1 -1
- package/core/host_acp/__init__.py +4 -4
- package/core/host_acp/claude.py +59 -1
- package/core/host_acp/cline.py +64 -1
- package/core/host_acp/codex.py +56 -1
- package/core/host_acp/dsh.py +59 -1
- package/core/host_acp/opencode.py +56 -1
- package/core/host_acp/pi.py +59 -1
- package/core/host_acp/zcode.py +59 -1
- package/core/host_runtime/SPEC.md +1 -1
- package/core/host_runtime/adapters.py +1 -1
- package/core/host_runtime/cline.py +13 -0
- package/core/host_runtime/host_evaluators.py +44 -4
- package/core/host_runtime/host_probe.py +1 -1
- package/core/host_runtime/host_provider_arbitrator.py +116 -62
- package/core/host_runtime/host_registry.py +15 -8
- package/core/host_runtime/mcp_registry_gate.py +12 -1
- package/core/host_runtime/pi.py +102 -0
- package/core/host_runtime/provider_facts.py +66 -0
- package/core/hosts/SPEC.md +1 -1
- package/core/hosts/__init__.py +6 -2
- package/core/hosts/_dsh_usage.py +1 -1
- package/core/hosts/base.py +32 -4
- package/core/hosts/claude.py +55 -0
- package/core/hosts/cline.py +6 -2
- package/core/hosts/codex.py +58 -0
- package/core/hosts/dsh.py +9 -1
- package/core/hosts/opencode.py +6 -6
- package/core/hosts/pi.py +159 -2
- package/core/infra/README.md +4 -2
- package/core/infra/__init__.py +2 -0
- package/core/infra/build_info.py +22 -3
- package/core/infra/client_metadata.py +1 -1
- package/core/infra/json_utils.py +22 -0
- package/core/launch_phases/README.md +6 -3
- package/core/launch_phases/SPEC.md +1 -1
- package/core/launch_phases/common.py +21 -2
- package/core/launch_phases/finding_confirm_phase.py +170 -5
- package/core/launch_phases/finding_settlement.py +188 -1
- package/core/launch_phases/judge_phase.py +69 -12
- package/core/launch_phases/orchestrator_controls.py +11 -7
- package/core/launch_phases/post_coverage_sync.py +9 -2
- package/core/launch_phases/post_phase.py +144 -8
- package/core/launch_phases/post_receipt.py +12 -1
- package/core/launch_phases/pre_phase.py +3 -3
- package/core/launch_phases/pre_recon_scout.py +66 -36
- package/core/launch_phases/pre_state_builder.py +23 -176
- package/core/launch_phases/report_sharing.py +3 -7
- package/core/launch_phases/round_orchestrator.py +129 -58
- package/core/launch_phases/semantic_recon.py +545 -0
- package/core/launch_phases/session_runtime.py +56 -9
- package/core/launch_phases/startup_gates.py +36 -8
- package/core/launch_phases/startup_interaction.py +68 -12
- package/core/launch_phases/startup_version_gate.py +13 -3
- package/core/launch_phases/supervisor_bridge.py +46 -17
- package/core/launch_phases/supervisor_coverage.py +8 -2
- package/core/launch_phases/supervisor_degraded.py +1 -9
- package/core/launch_phases/verify_loop.py +767 -0
- package/core/launch_phases/worker_barriers.py +15 -5
- package/core/launch_phases/worker_orchestrator.py +105 -25
- package/core/launch_phases/worker_prior.py +115 -0
- package/core/ledger/README.md +2 -1
- package/core/ledger/SPEC.md +1 -1
- package/core/ledger/_facade.py +2 -1
- package/core/ledger/archive_ops.py +60 -2
- package/core/ledger/cli.py +6 -1
- package/core/ledger/export_ops.py +6 -1
- package/core/ledger/finding_confirmation.py +48 -6
- package/core/ledger/finding_lifecycle.py +428 -5
- package/core/ledger/finding_verification.py +555 -10
- package/core/ledger/fp_ledger.py +255 -0
- package/core/ledger/incidents.py +10 -4
- package/core/ledger/patterns.py +10 -7
- package/core/ledger/receipt_contract.py +17 -1
- package/core/ledger/sync_ops.py +21 -16
- package/core/ledger/tool_experience.py +2 -1
- package/core/ledger/verify_life.py +88 -17
- package/core/locales/en-US.json +2 -2
- package/core/locales/zh-CN.json +2 -2
- package/core/mcp_handlers/SPEC.md +1 -1
- package/core/mcp_handlers/base.py +23 -3
- package/core/mcp_handlers/channel_lifecycle.py +85 -30
- package/core/mcp_handlers/retrieval_handlers.py +11 -1
- package/core/mcp_handlers/rpc_server.py +6 -1
- package/core/mcp_handlers/supervisor_handlers.py +32 -6
- package/core/mcp_handlers/tool_table.py +15 -0
- package/core/mcp_runtime_support/environment.py +0 -38
- package/core/mcp_runtime_support/verifier.py +0 -52
- package/core/metadata.txt +2 -3
- package/core/planning/README.md +2 -1
- package/core/planning/domain_router.py +4 -2
- package/core/planning/dynamic_flow_analyzer.py +219 -14
- package/core/planning/judge_pipeline.py +87 -4
- package/core/planning/prompt_harness.py +57 -15
- package/core/planning/prompt_policy_engine.py +386 -0
- package/core/planning/spec_harvester.py +4 -4
- package/core/probes/INTERFACE.md +11 -1
- package/core/probes/SPEC.md +11 -1
- package/core/probes/__init__.py +46 -40
- package/core/probes/android_probe.py +177 -9
- package/core/probes/codebase_memory_probe.py +57 -0
- package/core/probes/desktop_probe.py +104 -0
- package/core/probes/differential_probe.py +99 -21
- package/core/probes/efficiency_probe.py +64 -0
- package/core/probes/ios_binary_probe.py +105 -1
- package/core/probes/memory_probe.py +66 -0
- package/core/probes/miniprogram_probe.py +75 -13
- package/core/probes/mobile_probe.py +215 -30
- package/core/probes/native_probe.py +88 -0
- package/core/probes/openwiki_probe.py +70 -0
- package/core/probes/pattern_probe.py +106 -0
- package/core/probes/platform_probe.py +81 -0
- package/core/probes/probe_registry.py +108 -7
- package/core/probes/sast_fixture_corpus.py +340 -0
- package/core/probes/sast_probe.py +553 -52
- package/core/probes/sast_rules.py +668 -28
- package/core/probes/sca_scanner.py +48 -0
- package/core/probes/ui_accessibility.py +149 -0
- package/core/probes/ui_audit.py +513 -0
- package/core/probes/ui_contract.py +273 -0
- package/core/probes/ui_evidence.py +212 -0
- package/core/probes/ui_measurements.py +314 -0
- package/core/probes/ui_repair.py +250 -0
- package/core/probes/ui_review.py +133 -0
- package/core/probes/ui_storybook.py +107 -0
- package/core/probes/ui_tokens.py +185 -0
- package/core/probes/ui_visual_diff.py +131 -0
- package/core/probes/web_probe.py +373 -18
- package/core/project_profiler/SPEC.md +1 -1
- package/core/project_profiler/arbitrator.py +6 -1
- package/core/project_profiler/detector.py +8 -1
- package/core/project_profiler/strategy.py +51 -15
- package/core/prompts/README.md +4 -2
- package/core/prompts/command_routing_en.md +2 -2
- package/core/prompts/command_routing_zh.md +2 -2
- package/core/prompts/policies/prompt_policies.json +101 -0
- package/core/prompts/stages/stage_repair.md +1 -1
- package/core/prompts/stages/stage_verify.defensive.md +42 -0
- package/core/prompts/stages/stage_verify.md +44 -0
- package/core/repair/README.md +1 -1
- package/core/repair/l7_repair_loop.py +1 -4
- package/core/repair/rsi_fixer.py +4 -4
- package/core/repair/rsi_loop.py +1 -3
- package/core/repair/rsi_repair.py +7 -7
- package/core/repair/rsi_scope.py +27 -8
- package/core/report_engine/SPEC.md +1 -1
- package/core/report_engine/attestation.py +8 -4
- package/core/report_engine/finding_report.py +2 -1
- package/core/report_engine/models.py +7 -9
- package/core/report_engine/report_share.py +0 -8
- package/core/report_engine/sast_bridge.py +2 -2
- package/core/report_engine/server.py +18 -8
- package/core/report_engine/web-conformance.md +123 -18
- package/core/report_engine/web_conformance.py +21 -52
- package/core/retrieval/README.md +2 -1
- package/core/retrieval/SPEC.md +1 -1
- package/core/retrieval/code_analyzer.py +50 -14
- package/core/retrieval/context_assembler.py +7 -1
- package/core/retrieval/knowledge_sync.py +108 -14
- package/core/retrieval/pitfall_packs.py +277 -0
- package/core/retrieval/symbol_index.py +25 -6
- package/core/retrieval/universal_code_matcher.py +234 -49
- package/core/runtime/README.md +1 -1
- package/core/runtime/bugx_logging.py +78 -7
- package/core/runtime/fixture_solidify.py +5 -10
- package/core/runtime/global_telemetry.py +20 -0
- package/core/runtime/incident_eval.py +1 -1
- package/core/runtime/model_runner.py +4 -41
- package/core/runtime/platform_adapter.py +2 -2
- package/core/runtime/prep_validate.py +4 -2
- package/core/runtime/project_settings.py +2 -1
- package/core/runtime/scenario_eval.py +50 -8
- package/core/skills/bugx_docs_mcp_server.py +3 -1
- package/core/skills/bugx_mcp_server.py +29 -2
- package/core/skills/tools_kb.py +1 -1
- package/core/supervisor/README.md +1 -1
- package/core/supervisor/SPEC.md +1 -1
- package/core/supervisor/budget_governor.py +503 -9
- package/core/supervisor/checkpoint_pipeline.py +248 -6
- package/core/supervisor/checkpoint_sync.py +13 -0
- package/core/supervisor/claim_events.py +1 -1
- package/core/supervisor/finding_workflow.py +22 -5
- package/core/supervisor/lease_manager.py +1 -1
- package/core/supervisor/lifecycle_blocks.py +6 -1
- package/core/supervisor/rejection_remedies.py +52 -5
- package/core/supervisor/serial_authorization.py +48 -4
- package/core/supervisor/task_scheduler.py +2 -2
- package/core/supervisor/worker_checkpoint.py +8 -1
- package/core/supervisor/worker_runtime.py +8 -2
- package/core/supervisor_types/worker_claim.py +9 -0
- package/core/webui/README.md +1 -1
- package/core/webui/SPEC.md +2 -1
- package/core/webui/adapters/claude.py +5 -1
- package/core/webui/adapters/cline.py +10 -2
- package/core/webui/adapters/codex.py +5 -1
- package/core/webui/adapters/dsh.py +5 -1
- package/core/webui/docs_session_service.py +2 -2
- package/core/webui/mcp_inspector.py +11 -7
- package/core/webui/static/00-base.css +1060 -0
- package/core/webui/static/01-monitoring.css +802 -0
- package/core/webui/static/02-header-actions.css +321 -0
- package/core/webui/static/03-trigger-popover.css +697 -0
- package/core/webui/static/04-composer.css +628 -0
- package/core/webui/static/05-skills-center.css +878 -0
- package/core/webui/static/06-mcp-center.css +623 -0
- package/core/webui/static/07-skill-detail.css +265 -0
- package/core/webui/static/08-files-management.css +167 -0
- package/core/webui/static/09-files-center.css +386 -0
- package/core/webui/static/10-icons.css +105 -0
- package/core/webui/static/11-project-options.css +185 -0
- package/core/webui/static/12-profile-tab.css +383 -0
- package/core/webui/static/design-tokens.css +113 -0
- package/core/webui/static/index.html +14 -1
- package/core/webui/workspace_service.py +1 -1
- package/docs/07_distribution/01_README_NPM.md +193 -185
- package/ecosystem/integrations/README.md +1 -1
- package/ecosystem/integrations/dsh/mcp/package.json +1 -1
- package/ecosystem/integrations/dsh/skills/bugx-dsh/SKILL.md +1 -1
- package/ecosystem/integrations/dsh/ui/package.json +1 -1
- package/ecosystem/integrations/opencode/bugx-mcp-manifest.json +4 -4
- package/ecosystem/integrations/opencode/mcp-lock.json +14 -6
- package/ecosystem/integrations/opencode/opencode.json +23 -12
- package/ecosystem/integrations/pi/extensions/bugx/manifest.json +1 -1
- package/ecosystem/integrations/qoder/connector-meta.json +1 -1
- package/ecosystem/integrations/workbuddy/connector-meta.json +1 -1
- package/ecosystem/integrations/workbuddy/skills/bugx/SKILL.md +1 -1
- package/ecosystem/plugins/bugx/.claude-plugin/plugin.json +1 -1
- package/ecosystem/plugins/bugx/.codex-plugin/plugin.json +1 -1
- package/ecosystem/plugins/bugx/.zcode-plugin/plugin.json +1 -1
- package/ecosystem/plugins/bugx/skills/bugx/SKILL.md +2 -2
- package/ecosystem/plugins/bugx/skills/bugx-dsh/SKILL.md +1 -1
- package/ecosystem/plugins/bugx/skills/bugx-opencode/SKILL.md +1 -1
- package/ecosystem/plugins/bugx/skills/bugx-zcode/SKILL.md +1 -1
- package/interfaces/bin/bugx.js +37 -0
- package/interfaces/cli/bugx_cli/__init__.py +4 -2
- package/interfaces/cli/bugx_cli/cli.py +172 -69
- package/interfaces/cli/bugx_cli/commands/advisory.py +1 -1
- package/interfaces/cli/bugx_cli/commands/agent.py +461 -134
- package/interfaces/cli/bugx_cli/commands/audit.py +10 -9
- package/interfaces/cli/bugx_cli/commands/autonomous.py +1 -1
- package/interfaces/cli/bugx_cli/commands/cloud.py +31 -22
- package/interfaces/cli/bugx_cli/commands/doctor.py +449 -204
- package/interfaces/cli/bugx_cli/commands/interaction.py +5 -1
- package/interfaces/cli/bugx_cli/commands/knowledge.py +5 -4
- package/interfaces/cli/bugx_cli/commands/lifecycle.py +3 -3
- package/interfaces/cli/bugx_cli/commands/plugin.py +58 -23
- package/interfaces/cli/bugx_cli/commands/plugin_claude.py +7 -7
- package/interfaces/cli/bugx_cli/commands/plugin_funide.py +2 -1
- package/interfaces/cli/bugx_cli/commands/plugin_zcode.py +1 -1
- package/interfaces/cli/bugx_cli/commands/project.py +6 -13
- package/interfaces/cli/bugx_cli/commands/report.py +2 -6
- package/interfaces/cli/bugx_cli/commands/system.py +524 -169
- package/interfaces/cli/bugx_cli/common.py +21 -15
- package/interfaces/cli/bugx_cli/host_adapters.py +29 -54
- package/interfaces/cli/bugx_cli/hosts/registry.py +8 -6
- package/interfaces/cli/bugx_cli/infra/ai_advisor.py +157 -27
- package/interfaces/cli/bugx_cli/infra/engine_installer.py +35 -16
- package/interfaces/cli/bugx_cli/infra/host_sync.py +11 -8
- package/interfaces/cli/bugx_cli/infra/mcp_advisor.py +76 -5
- package/interfaces/cli/bugx_cli/infra/security.py +13 -6
- package/package.json +30 -15
- package/pyproject.toml +60 -9
- package/scripts/ensure-python.mjs +7 -7
- package/scripts/sync-version.mjs +10 -21
- package/scripts/test-npm-wrapper.mjs +1 -1
- package/core/assets/bugx-hero-cn.png +0 -0
- package/core/assets/bugx-hero-en.png +0 -0
- package/core/webui/static/project-settings.css +0 -6458
- package/docs/07_distribution/README.md +0 -16
- package/docs/README.md +0 -121
- package/interfaces/README.md +0 -143
- package/interfaces/bin/README.md +0 -35
- package/interfaces/cli/README.md +0 -90
- package/scripts/README.md +0 -118
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
/* =========================================================================
|
|
2
|
+
* Workspace File Management & Safe Deletion Styles (REQ-10)
|
|
3
|
+
* ========================================================================= */
|
|
4
|
+
.bx-files-layout {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
gap: var(--sp-6);
|
|
8
|
+
margin-top: var(--sp-4);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.bx-files-breadcrumb-bar {
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
flex-wrap: wrap;
|
|
15
|
+
gap: var(--sp-3);
|
|
16
|
+
padding: var(--sp-4) var(--sp-7);
|
|
17
|
+
background: rgba(0, 0, 0, 0.03);
|
|
18
|
+
border: 1px solid var(--bx-black-06);
|
|
19
|
+
border-radius: var(--radius-md);
|
|
20
|
+
font-size: var(--fs-body);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.bx-crumb-btn {
|
|
24
|
+
background: none;
|
|
25
|
+
border: none;
|
|
26
|
+
color: #0066cc;
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
font-size: var(--fs-body);
|
|
29
|
+
font-weight: 500;
|
|
30
|
+
padding: var(--sp-2) var(--sp-3);
|
|
31
|
+
border-radius: var(--radius-xs);
|
|
32
|
+
transition: background 0.15s ease;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.bx-crumb-btn:hover {
|
|
36
|
+
background: rgba(0, 102, 204, 0.08);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.bx-crumb-sep {
|
|
40
|
+
color: #8e8e93;
|
|
41
|
+
font-size: var(--fs-label-sm);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.bx-crumb-current {
|
|
45
|
+
font-weight: 600;
|
|
46
|
+
color: var(--bx-apple-gray-900);
|
|
47
|
+
font-size: var(--fs-body);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.bx-files-container {
|
|
51
|
+
border: 1px solid var(--bx-black-08);
|
|
52
|
+
border-radius: var(--radius-md);
|
|
53
|
+
overflow: hidden;
|
|
54
|
+
max-height: 520px;
|
|
55
|
+
overflow-y: auto;
|
|
56
|
+
background: var(--bx-white);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.bx-files-table {
|
|
60
|
+
width: 100%;
|
|
61
|
+
border-collapse: collapse;
|
|
62
|
+
font-size: var(--fs-body);
|
|
63
|
+
text-align: left;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.bx-files-table th {
|
|
67
|
+
background: #fbfbfd;
|
|
68
|
+
padding: var(--sp-5) var(--sp-7);
|
|
69
|
+
font-weight: 600;
|
|
70
|
+
color: var(--bx-apple-gray-500);
|
|
71
|
+
border-bottom: 1px solid var(--bx-black-06);
|
|
72
|
+
position: sticky;
|
|
73
|
+
top: 0;
|
|
74
|
+
z-index: var(--z-table-header);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.bx-files-table td {
|
|
78
|
+
padding: var(--sp-5) var(--sp-7);
|
|
79
|
+
border-bottom: 1px solid var(--bx-black-04);
|
|
80
|
+
color: var(--bx-apple-gray-900);
|
|
81
|
+
vertical-align: middle;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.bx-file-row:hover td {
|
|
85
|
+
background: rgba(0, 0, 0, 0.02);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.bx-file-name-cell {
|
|
89
|
+
display: flex;
|
|
90
|
+
align-items: center;
|
|
91
|
+
gap: var(--sp-4);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.bx-file-icon {
|
|
95
|
+
font-size: var(--fs-display-sm);
|
|
96
|
+
flex-shrink: 0;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.bx-file-title {
|
|
100
|
+
font-weight: 500;
|
|
101
|
+
overflow: hidden;
|
|
102
|
+
text-overflow: ellipsis;
|
|
103
|
+
white-space: nowrap;
|
|
104
|
+
max-width: 380px;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.bx-dir-link {
|
|
108
|
+
color: #0066cc;
|
|
109
|
+
cursor: pointer;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.bx-dir-link:hover {
|
|
113
|
+
text-decoration: underline;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.bx-file-ops {
|
|
117
|
+
display: flex;
|
|
118
|
+
align-items: center;
|
|
119
|
+
justify-content: flex-end;
|
|
120
|
+
gap: var(--sp-3);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.bx-file-action-btn {
|
|
124
|
+
padding: var(--sp-2) var(--sp-4);
|
|
125
|
+
border-radius: var(--radius-sm);
|
|
126
|
+
font-size: var(--fs-label-sm);
|
|
127
|
+
font-weight: 500;
|
|
128
|
+
border: 1px solid rgba(0, 0, 0, 0.12);
|
|
129
|
+
background: var(--bx-white);
|
|
130
|
+
color: var(--bx-apple-gray-900);
|
|
131
|
+
cursor: pointer;
|
|
132
|
+
transition: all 0.15s ease;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.bx-file-action-btn:hover {
|
|
136
|
+
background: var(--bx-black-04);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.bx-file-action-btn.danger {
|
|
140
|
+
color: var(--bx-danger-ink);
|
|
141
|
+
border-color: rgba(255, 59, 48, 0.25);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.bx-file-action-btn.danger:hover {
|
|
145
|
+
background: rgba(255, 59, 48, 0.08);
|
|
146
|
+
border-color: var(--bx-danger-ink);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/* CWD Directory item trash button */
|
|
150
|
+
.bx-cwd-item-del-btn {
|
|
151
|
+
opacity: 0;
|
|
152
|
+
transition: opacity 0.15s ease, background 0.15s ease;
|
|
153
|
+
margin-left: auto;
|
|
154
|
+
padding: var(--sp-1) var(--sp-3);
|
|
155
|
+
font-size: var(--fs-label-sm);
|
|
156
|
+
background: none;
|
|
157
|
+
border: none;
|
|
158
|
+
cursor: pointer;
|
|
159
|
+
border-radius: var(--radius-xs);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.dir-item:hover .bx-cwd-item-del-btn {
|
|
163
|
+
opacity: 1;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.bx-cwd-item-del-btn:hover {
|
|
167
|
+
background: rgba(255, 59, 48, 0.15);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/* Document Center item trash button */
|
|
171
|
+
.bx-doc-del-btn {
|
|
172
|
+
opacity: 0;
|
|
173
|
+
transition: opacity 0.15s ease, background 0.15s ease;
|
|
174
|
+
margin-left: var(--sp-3);
|
|
175
|
+
padding: var(--sp-1) var(--sp-3);
|
|
176
|
+
font-size: var(--fs-caption);
|
|
177
|
+
background: none;
|
|
178
|
+
border: none;
|
|
179
|
+
cursor: pointer;
|
|
180
|
+
border-radius: var(--radius-xs);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.bx-doc-item:hover .bx-doc-del-btn {
|
|
184
|
+
opacity: 1;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.bx-doc-del-btn:hover {
|
|
188
|
+
background: rgba(255, 59, 48, 0.15);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/* Dark mode overrides for Files tab */
|
|
192
|
+
html.dark .bx-files-breadcrumb-bar,
|
|
193
|
+
body.dark .bx-files-breadcrumb-bar {
|
|
194
|
+
background: var(--bx-glass-05);
|
|
195
|
+
border-color: var(--bx-glass-08);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
html.dark .bx-crumb-btn,
|
|
199
|
+
body.dark .bx-crumb-btn {
|
|
200
|
+
color: var(--bx-link-ink);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
html.dark .bx-crumb-btn:hover,
|
|
204
|
+
body.dark .bx-crumb-btn:hover {
|
|
205
|
+
background: rgba(10, 132, 255, 0.15);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
html.dark .bx-crumb-current,
|
|
209
|
+
body.dark .bx-crumb-current {
|
|
210
|
+
color: var(--bx-apple-gray-100);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
html.dark .bx-files-container,
|
|
214
|
+
body.dark .bx-files-container {
|
|
215
|
+
background: rgba(30, 30, 32, 0.85);
|
|
216
|
+
border-color: var(--bx-glass-08);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
html.dark .bx-files-table th,
|
|
220
|
+
body.dark .bx-files-table th {
|
|
221
|
+
background: rgba(255, 255, 255, 0.03);
|
|
222
|
+
color: #8e8e93;
|
|
223
|
+
border-bottom-color: var(--bx-glass-08);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
html.dark .bx-files-table td,
|
|
227
|
+
body.dark .bx-files-table td {
|
|
228
|
+
color: var(--bx-apple-gray-100);
|
|
229
|
+
border-bottom-color: var(--bx-glass-05);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
html.dark .bx-file-row:hover td,
|
|
233
|
+
body.dark .bx-file-row:hover td {
|
|
234
|
+
background: rgba(255, 255, 255, 0.03);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
html.dark .bx-dir-link,
|
|
238
|
+
body.dark .bx-dir-link {
|
|
239
|
+
color: var(--bx-link-ink);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
html.dark .bx-file-action-btn,
|
|
243
|
+
body.dark .bx-file-action-btn {
|
|
244
|
+
background: var(--bx-glass-08);
|
|
245
|
+
border-color: var(--bx-glass-12);
|
|
246
|
+
color: var(--bx-apple-gray-100);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
html.dark .bx-file-action-btn:hover,
|
|
250
|
+
body.dark .bx-file-action-btn:hover {
|
|
251
|
+
background: rgba(255, 255, 255, 0.14);
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
html.dark .bx-file-action-btn.danger,
|
|
255
|
+
body.dark .bx-file-action-btn.danger {
|
|
256
|
+
color: #ff453a;
|
|
257
|
+
border-color: rgba(255, 69, 58, 0.3);
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
html.dark .bx-file-action-btn.danger:hover,
|
|
261
|
+
body.dark .bx-file-action-btn.danger:hover {
|
|
262
|
+
background: rgba(255, 69, 58, 0.15);
|
|
263
|
+
border-color: #ff453a;
|
|
264
|
+
}
|
|
265
|
+
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
/* =========================================================================
|
|
2
|
+
Files Center View & Sidebar Quick Triggers
|
|
3
|
+
========================================================================= */
|
|
4
|
+
.main-column.bx-files-view-active #bx-files-view-container {
|
|
5
|
+
display: flex !important;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.main-column.bx-files-view-active .session-body,
|
|
9
|
+
.main-column.bx-files-view-active .session-header {
|
|
10
|
+
display: none !important;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.sidebar-action.bx-files-active {
|
|
14
|
+
background: var(--app-list-active-background, rgba(2, 132, 199, 0.15)) !important;
|
|
15
|
+
color: var(--bx-brand, var(--bx-sky-600)) !important;
|
|
16
|
+
font-weight: 600;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.bx-files-view-container {
|
|
20
|
+
position: absolute;
|
|
21
|
+
top: 0;
|
|
22
|
+
left: 0;
|
|
23
|
+
right: 0;
|
|
24
|
+
bottom: 0;
|
|
25
|
+
display: none;
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
background: var(--bx-apple-gray-100);
|
|
28
|
+
color: var(--bx-apple-gray-900);
|
|
29
|
+
z-index: var(--z-view-container);
|
|
30
|
+
overflow: hidden;
|
|
31
|
+
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.bx-fc-header {
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
justify-content: space-between;
|
|
38
|
+
padding: var(--sp-7) var(--sp-12);
|
|
39
|
+
background: var(--bx-white);
|
|
40
|
+
border-bottom: 1px solid var(--bx-black-08);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.bx-fc-header-left {
|
|
44
|
+
display: flex;
|
|
45
|
+
align-items: center;
|
|
46
|
+
gap: var(--sp-6);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.bx-fc-header-right {
|
|
50
|
+
display: flex;
|
|
51
|
+
align-items: center;
|
|
52
|
+
gap: var(--sp-6);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.bx-fc-toolbar {
|
|
56
|
+
display: flex;
|
|
57
|
+
align-items: center;
|
|
58
|
+
justify-content: space-between;
|
|
59
|
+
gap: var(--sp-8);
|
|
60
|
+
padding: var(--sp-5) var(--sp-12);
|
|
61
|
+
background: #fafafc;
|
|
62
|
+
border-bottom: 1px solid var(--bx-black-06);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.bx-fc-content {
|
|
66
|
+
flex: 1;
|
|
67
|
+
padding: var(--sp-8) var(--sp-12);
|
|
68
|
+
overflow-y: auto;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.bx-proj-files-quick-btn {
|
|
72
|
+
opacity: 0;
|
|
73
|
+
margin-left: auto;
|
|
74
|
+
font-size: var(--fs-body);
|
|
75
|
+
padding: var(--sp-1) var(--sp-3);
|
|
76
|
+
border-radius: var(--radius-xs);
|
|
77
|
+
cursor: pointer;
|
|
78
|
+
transition: opacity 0.15s ease, background 0.15s ease;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.sidebar-project-btn:hover .bx-proj-files-quick-btn {
|
|
82
|
+
opacity: 1;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.bx-proj-files-quick-btn:hover {
|
|
86
|
+
background: var(--bx-black-08);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.bx-group-files-btn {
|
|
90
|
+
display: flex;
|
|
91
|
+
align-items: center;
|
|
92
|
+
justify-content: center;
|
|
93
|
+
width: 24px;
|
|
94
|
+
height: 24px;
|
|
95
|
+
border-radius: var(--radius-sm);
|
|
96
|
+
border: none;
|
|
97
|
+
background: none;
|
|
98
|
+
cursor: pointer;
|
|
99
|
+
color: var(--app-primary-foreground, var(--bx-slate-500));
|
|
100
|
+
transition: background 0.15s ease;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.bx-group-files-btn:hover {
|
|
104
|
+
background: rgba(0, 0, 0, 0.05);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/* Ensure CWD trash button is permanently visible */
|
|
108
|
+
.bx-cwd-item-del-btn {
|
|
109
|
+
opacity: 1 !important;
|
|
110
|
+
color: var(--bx-danger-ink);
|
|
111
|
+
background: rgba(255, 59, 48, 0.08);
|
|
112
|
+
border: 1px solid rgba(255, 59, 48, 0.2);
|
|
113
|
+
border-radius: var(--radius-xs);
|
|
114
|
+
padding: var(--sp-1) var(--sp-3);
|
|
115
|
+
font-size: var(--fs-caption);
|
|
116
|
+
cursor: pointer;
|
|
117
|
+
transition: all 0.15s ease;
|
|
118
|
+
margin-left: auto;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.bx-cwd-item-del-btn:hover {
|
|
122
|
+
background: rgba(255, 59, 48, 0.2) !important;
|
|
123
|
+
border-color: var(--bx-danger-ink) !important;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/* Dark mode for FilesCenter */
|
|
127
|
+
html.dark .bx-files-view-container,
|
|
128
|
+
body.dark .bx-files-view-container {
|
|
129
|
+
background: #1c1c1e;
|
|
130
|
+
color: var(--bx-apple-gray-100);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
html.dark .bx-fc-header,
|
|
134
|
+
body.dark .bx-fc-header {
|
|
135
|
+
background: #252528;
|
|
136
|
+
border-bottom-color: var(--bx-glass-08);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
html.dark .bx-fc-toolbar,
|
|
140
|
+
body.dark .bx-fc-toolbar {
|
|
141
|
+
background: #1f1f22;
|
|
142
|
+
border-bottom-color: var(--bx-glass-06);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
html.dark .bx-proj-files-quick-btn:hover,
|
|
146
|
+
body.dark .bx-proj-files-quick-btn:hover {
|
|
147
|
+
background: var(--bx-glass-12);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
html.dark .bx-group-files-btn:hover,
|
|
151
|
+
body.dark .bx-group-files-btn:hover {
|
|
152
|
+
background: var(--bx-glass-08);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
html.dark .bx-cwd-item-del-btn,
|
|
156
|
+
body.dark .bx-cwd-item-del-btn {
|
|
157
|
+
color: #ff453a;
|
|
158
|
+
background: rgba(255, 69, 58, 0.15);
|
|
159
|
+
border-color: rgba(255, 69, 58, 0.3);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
html.dark .bx-cwd-item-del-btn:hover,
|
|
163
|
+
body.dark .bx-cwd-item-del-btn:hover {
|
|
164
|
+
background: rgba(255, 69, 58, 0.25) !important;
|
|
165
|
+
border-color: #ff453a !important;
|
|
166
|
+
}
|
|
167
|
+
|