@scemoon/cdh 1.0.0
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/ai-dlc-skill/SKILL.md +75 -0
- package/ai-dlc-skill/agents/deliver-agent.md +24 -0
- package/ai-dlc-skill/agents/master.md +44 -0
- package/ai-dlc-skill/agents/plan-agent.md +23 -0
- package/ai-dlc-skill/agents/understand-agent.md +23 -0
- package/ai-dlc-skill/agents/verify-agent.md +27 -0
- package/ai-dlc-skill/architecture/project-structure.md +78 -0
- package/ai-dlc-skill/brownfield/README.md +30 -0
- package/ai-dlc-skill/brownfield/generate-context.sh +64 -0
- package/ai-dlc-skill/brownfield/scripts/deps.sh +27 -0
- package/ai-dlc-skill/brownfield/scripts/discover.sh +34 -0
- package/ai-dlc-skill/brownfield/scripts/extract-api.sh +45 -0
- package/ai-dlc-skill/components/backend.md +34 -0
- package/ai-dlc-skill/components/desktop.md +30 -0
- package/ai-dlc-skill/components/mya.md +29 -0
- package/ai-dlc-skill/components/native.md +30 -0
- package/ai-dlc-skill/components/tta.md +29 -0
- package/ai-dlc-skill/components/web.md +31 -0
- package/ai-dlc-skill/components/wxa.md +29 -0
- package/ai-dlc-skill/contracts/README.md +25 -0
- package/ai-dlc-skill/core/adaptive-flow.md +36 -0
- package/ai-dlc-skill/core/security.md +29 -0
- package/ai-dlc-skill/cross-tool/cline/export.sh +31 -0
- package/ai-dlc-skill/cross-tool/copilot/export.sh +47 -0
- package/ai-dlc-skill/cross-tool/cursor/export.sh +32 -0
- package/ai-dlc-skill/cross-tool/export.sh +22 -0
- package/ai-dlc-skill/cross-tool/onecode/config.yaml.tpl +17 -0
- package/ai-dlc-skill/cross-tool/onecode/export-skills.sh +31 -0
- package/ai-dlc-skill/cross-tool/onecode/export.sh +48 -0
- package/ai-dlc-skill/phases/deliver/entry.md +26 -0
- package/ai-dlc-skill/phases/deliver/lifecycle.md +185 -0
- package/ai-dlc-skill/phases/deliver/prompt.md +40 -0
- package/ai-dlc-skill/phases/deliver/rules.md +61 -0
- package/ai-dlc-skill/phases/plan/entry.md +25 -0
- package/ai-dlc-skill/phases/plan/lifecycle.md +204 -0
- package/ai-dlc-skill/phases/plan/prompt.md +38 -0
- package/ai-dlc-skill/phases/plan/rules.md +25 -0
- package/ai-dlc-skill/phases/understand/entry.md +26 -0
- package/ai-dlc-skill/phases/understand/lifecycle.md +184 -0
- package/ai-dlc-skill/phases/understand/prompt.md +41 -0
- package/ai-dlc-skill/phases/understand/rules.md +37 -0
- package/ai-dlc-skill/phases/verify/entry.md +26 -0
- package/ai-dlc-skill/phases/verify/lifecycle.md +192 -0
- package/ai-dlc-skill/phases/verify/prompt.md +43 -0
- package/ai-dlc-skill/phases/verify/rules.md +73 -0
- package/ai-dlc-skill/practices/bdd.md +91 -0
- package/ai-dlc-skill/practices/sdd.md +84 -0
- package/ai-dlc-skill/practices/tdd.md +95 -0
- package/ai-dlc-skill/providers/README.md +114 -0
- package/ai-dlc-skill/providers/aliyun/deployment.yaml +66 -0
- package/ai-dlc-skill/providers/aliyun/preview.yaml +84 -0
- package/ai-dlc-skill/providers/aliyun/provider.yaml +160 -0
- package/ai-dlc-skill/providers/tcb/deployment.yaml +69 -0
- package/ai-dlc-skill/providers/tcb/preview.yaml +83 -0
- package/ai-dlc-skill/providers/tcb/provider.yaml +172 -0
- package/ai-dlc-skill/requirements.md +140 -0
- package/ai-dlc-skill/skill.yaml +147 -0
- package/ai-dlc-skill/templates/integration/CHANGELOG.md +41 -0
- package/ai-dlc-skill/templates/integration/asyncapi.yaml +43 -0
- package/ai-dlc-skill/templates/integration/contract-diff.md +63 -0
- package/ai-dlc-skill/templates/integration/contract-spec.md +49 -0
- package/ai-dlc-skill/templates/integration/openapi.yaml +18 -0
- package/ai-dlc-skill/templates/integration/runtime-contract.yaml +36 -0
- package/ai-dlc-skill/templates/plan/design.md +49 -0
- package/ai-dlc-skill/templates/plan/task-list.md +32 -0
- package/ai-dlc-skill/templates/project/README.md +127 -0
- package/ai-dlc-skill/templates/project/template.md +119 -0
- package/ai-dlc-skill/templates/understand/feature.feature +23 -0
- package/ai-dlc-skill/templates/understand/intent.md +29 -0
- package/ai-dlc-skill/templates/understand/spec-delta.md +47 -0
- package/ai-dlc-skill/templates/verify/test-unit.py +27 -0
- package/ai-dlc-skill/walkthrough/collect.sh +50 -0
- package/ai-dlc-skill/walkthrough/template.md +54 -0
- package/ai-dlc-skill/workflows/ai-dlc.yaml +110 -0
- package/ai-dlc-skill/workflows/deployment.yaml +199 -0
- package/cdh/__init__.py +0 -0
- package/cdh/__main__.py +4 -0
- package/cdh/__pycache__/__init__.cpython-313.pyc +0 -0
- package/cdh/__pycache__/__init__.cpython-314.pyc +0 -0
- package/cdh/__pycache__/cli.cpython-314.pyc +0 -0
- package/cdh/__pycache__/scaffold.cpython-313.pyc +0 -0
- package/cdh/__pycache__/scaffold.cpython-314.pyc +0 -0
- package/cdh/cli.py +361 -0
- package/cdh/scaffold.py +312 -0
- package/cli.js +2 -0
- package/onecode/__init__.py +1 -0
- package/onecode/__main__.py +4 -0
- package/onecode/__pycache__/__init__.cpython-314.pyc +0 -0
- package/onecode/__pycache__/cli.cpython-314.pyc +0 -0
- package/onecode/__pycache__/commands.cpython-314.pyc +0 -0
- package/onecode/__pycache__/config.cpython-314.pyc +0 -0
- package/onecode/__pycache__/config_screen.cpython-314.pyc +0 -0
- package/onecode/__pycache__/mock_data.cpython-314.pyc +0 -0
- package/onecode/agent/__init__.py +0 -0
- package/onecode/agent/__pycache__/__init__.cpython-314.pyc +0 -0
- package/onecode/agent/__pycache__/cdh_agent_acp.cpython-313.pyc +0 -0
- package/onecode/agent/__pycache__/cdh_agent_acp.cpython-314.pyc +0 -0
- package/onecode/agent/__pycache__/cdh_loader.cpython-314.pyc +0 -0
- package/onecode/agent/__pycache__/context.cpython-314.pyc +0 -0
- package/onecode/agent/__pycache__/engine.cpython-314.pyc +0 -0
- package/onecode/agent/__pycache__/harness_skill.cpython-314.pyc +0 -0
- package/onecode/agent/__pycache__/hooks.cpython-314.pyc +0 -0
- package/onecode/agent/__pycache__/onecode_agent_acp.cpython-314.pyc +0 -0
- package/onecode/agent/__pycache__/permissions.cpython-314.pyc +0 -0
- package/onecode/agent/__pycache__/permissions_store.cpython-314.pyc +0 -0
- package/onecode/agent/__pycache__/session.cpython-314.pyc +0 -0
- package/onecode/agent/agents/__init__.py +29 -0
- package/onecode/agent/agents/__pycache__/__init__.cpython-314.pyc +0 -0
- package/onecode/agent/agents/__pycache__/types.cpython-314.pyc +0 -0
- package/onecode/agent/agents/types.py +662 -0
- package/onecode/agent/attachments.py +113 -0
- package/onecode/agent/cdh_loader.py +262 -0
- package/onecode/agent/context.py +338 -0
- package/onecode/agent/engine.py +1894 -0
- package/onecode/agent/hooks.py +86 -0
- package/onecode/agent/onecode_agent_acp.py +2203 -0
- package/onecode/agent/permissions.py +151 -0
- package/onecode/agent/permissions_store.py +62 -0
- package/onecode/agent/session.py +186 -0
- package/onecode/agent/snapshot.py +145 -0
- package/onecode/agent/tools/__init__.py +17 -0
- package/onecode/agent/tools/__pycache__/__init__.cpython-314.pyc +0 -0
- package/onecode/agent/tools/__pycache__/agent_tools.cpython-314.pyc +0 -0
- package/onecode/agent/tools/__pycache__/apply_patch_tool.cpython-314.pyc +0 -0
- package/onecode/agent/tools/__pycache__/bash_tool.cpython-314.pyc +0 -0
- package/onecode/agent/tools/__pycache__/communication_tools.cpython-314.pyc +0 -0
- package/onecode/agent/tools/__pycache__/config_tool.cpython-314.pyc +0 -0
- package/onecode/agent/tools/__pycache__/cron_tools.cpython-314.pyc +0 -0
- package/onecode/agent/tools/__pycache__/errors.cpython-314.pyc +0 -0
- package/onecode/agent/tools/__pycache__/file_ops.cpython-314.pyc +0 -0
- package/onecode/agent/tools/__pycache__/file_tools.cpython-314.pyc +0 -0
- package/onecode/agent/tools/__pycache__/git_tools.cpython-314.pyc +0 -0
- package/onecode/agent/tools/__pycache__/lsp_tools.cpython-314.pyc +0 -0
- package/onecode/agent/tools/__pycache__/mcp_tools.cpython-314.pyc +0 -0
- package/onecode/agent/tools/__pycache__/permission_handler.cpython-314.pyc +0 -0
- package/onecode/agent/tools/__pycache__/permissions.cpython-314.pyc +0 -0
- package/onecode/agent/tools/__pycache__/protocol.cpython-314.pyc +0 -0
- package/onecode/agent/tools/__pycache__/registry.cpython-314.pyc +0 -0
- package/onecode/agent/tools/__pycache__/sandbox.cpython-314.pyc +0 -0
- package/onecode/agent/tools/__pycache__/schema_validation.cpython-314.pyc +0 -0
- package/onecode/agent/tools/__pycache__/skill_tools.cpython-314.pyc +0 -0
- package/onecode/agent/tools/__pycache__/task_tools.cpython-314.pyc +0 -0
- package/onecode/agent/tools/__pycache__/web_tools.cpython-314.pyc +0 -0
- package/onecode/agent/tools/agent_tools.py +134 -0
- package/onecode/agent/tools/apply_patch_tool.py +144 -0
- package/onecode/agent/tools/bash_tool.py +91 -0
- package/onecode/agent/tools/communication_tools.py +149 -0
- package/onecode/agent/tools/config_tool.py +130 -0
- package/onecode/agent/tools/cron_tools.py +179 -0
- package/onecode/agent/tools/errors.py +17 -0
- package/onecode/agent/tools/file_ops.py +187 -0
- package/onecode/agent/tools/file_tools.py +226 -0
- package/onecode/agent/tools/git_tools.py +88 -0
- package/onecode/agent/tools/lsp_tools.py +404 -0
- package/onecode/agent/tools/mcp_tools.py +129 -0
- package/onecode/agent/tools/permission_handler.py +46 -0
- package/onecode/agent/tools/permissions.py +77 -0
- package/onecode/agent/tools/protocol.py +20 -0
- package/onecode/agent/tools/registry.py +134 -0
- package/onecode/agent/tools/sandbox.py +264 -0
- package/onecode/agent/tools/schema_validation.py +100 -0
- package/onecode/agent/tools/skill_tools.py +52 -0
- package/onecode/agent/tools/task_tools.py +249 -0
- package/onecode/agent/tools/web_tools.py +170 -0
- package/onecode/builtin_skills/git/SKILL.md +64 -0
- package/onecode/builtin_skills/git/skill.yaml +7 -0
- package/onecode/builtin_skills/shell/SKILL.md +58 -0
- package/onecode/builtin_skills/shell/skill.yaml +8 -0
- package/onecode/cli.py +755 -0
- package/onecode/cloud/__init__.py +0 -0
- package/onecode/cloud/base.py +20 -0
- package/onecode/codebase/__init__.py +69 -0
- package/onecode/codebase/__pycache__/__init__.cpython-314.pyc +0 -0
- package/onecode/codebase/__pycache__/chunker.cpython-314.pyc +0 -0
- package/onecode/codebase/__pycache__/config.cpython-314.pyc +0 -0
- package/onecode/codebase/__pycache__/indexer.cpython-314.pyc +0 -0
- package/onecode/codebase/__pycache__/retriever.cpython-314.pyc +0 -0
- package/onecode/codebase/__pycache__/storage.cpython-314.pyc +0 -0
- package/onecode/codebase/__pycache__/tools.cpython-314.pyc +0 -0
- package/onecode/codebase/chunker.py +130 -0
- package/onecode/codebase/indexer.py +136 -0
- package/onecode/codebase/retriever.py +192 -0
- package/onecode/codebase/storage.py +130 -0
- package/onecode/codebase/tools.py +59 -0
- package/onecode/commands.py +276 -0
- package/onecode/config.py +285 -0
- package/onecode/config_screen.py +594 -0
- package/onecode/cron/__init__.py +3 -0
- package/onecode/lsp/__init__.py +3 -0
- package/onecode/mcp/__init__.py +4 -0
- package/onecode/mcp/__pycache__/__init__.cpython-314.pyc +0 -0
- package/onecode/mcp/__pycache__/client.cpython-314.pyc +0 -0
- package/onecode/mcp/__pycache__/manager.cpython-314.pyc +0 -0
- package/onecode/mcp/client.py +193 -0
- package/onecode/mcp/manager.py +191 -0
- package/onecode/memory/__init__.py +95 -0
- package/onecode/memory/__pycache__/__init__.cpython-314.pyc +0 -0
- package/onecode/memory/__pycache__/backend.cpython-314.pyc +0 -0
- package/onecode/memory/__pycache__/offload.cpython-314.pyc +0 -0
- package/onecode/memory/__pycache__/pyramid.cpython-314.pyc +0 -0
- package/onecode/memory/__pycache__/recall.cpython-314.pyc +0 -0
- package/onecode/memory/__pycache__/symbolic.cpython-314.pyc +0 -0
- package/onecode/memory/backend.py +185 -0
- package/onecode/memory/offload.py +114 -0
- package/onecode/memory/pyramid.py +202 -0
- package/onecode/memory/recall.py +168 -0
- package/onecode/memory/symbolic.py +164 -0
- package/onecode/models/__init__.py +4 -0
- package/onecode/models/__pycache__/__init__.cpython-314.pyc +0 -0
- package/onecode/models/__pycache__/errors.cpython-314.pyc +0 -0
- package/onecode/models/__pycache__/messages.cpython-314.pyc +0 -0
- package/onecode/models/__pycache__/provider.cpython-314.pyc +0 -0
- package/onecode/models/__pycache__/registry.cpython-314.pyc +0 -0
- package/onecode/models/errors.py +94 -0
- package/onecode/models/messages.py +662 -0
- package/onecode/models/provider.py +450 -0
- package/onecode/models/providers/__init__.py +17 -0
- package/onecode/models/providers/__pycache__/__init__.cpython-314.pyc +0 -0
- package/onecode/models/providers/__pycache__/anthropic_provider.cpython-314.pyc +0 -0
- package/onecode/models/providers/__pycache__/deepseek_provider.cpython-314.pyc +0 -0
- package/onecode/models/providers/__pycache__/glm_provider.cpython-314.pyc +0 -0
- package/onecode/models/providers/__pycache__/minimax_provider.cpython-314.pyc +0 -0
- package/onecode/models/providers/__pycache__/minimaxi_provider.cpython-314.pyc +0 -0
- package/onecode/models/providers/__pycache__/mock_provider.cpython-314.pyc +0 -0
- package/onecode/models/providers/__pycache__/ollama_provider.cpython-314.pyc +0 -0
- package/onecode/models/providers/__pycache__/openai_provider.cpython-314.pyc +0 -0
- package/onecode/models/providers/anthropic_provider.py +224 -0
- package/onecode/models/providers/deepseek_provider.py +210 -0
- package/onecode/models/providers/glm_provider.py +154 -0
- package/onecode/models/providers/minimax_provider.py +154 -0
- package/onecode/models/providers/minimaxi_provider.py +363 -0
- package/onecode/models/providers/ollama_provider.py +96 -0
- package/onecode/models/providers/openai_provider.py +233 -0
- package/onecode/models/registry.py +212 -0
- package/onecode/server/__init__.py +3 -0
- package/onecode/server/app.py +224 -0
- package/onecode/skills/__init__.py +11 -0
- package/onecode/skills/__pycache__/__init__.cpython-314.pyc +0 -0
- package/onecode/skills/__pycache__/argument_substitution.cpython-314.pyc +0 -0
- package/onecode/skills/__pycache__/create.cpython-314.pyc +0 -0
- package/onecode/skills/__pycache__/frontmatter.cpython-314.pyc +0 -0
- package/onecode/skills/__pycache__/loader.cpython-314.pyc +0 -0
- package/onecode/skills/__pycache__/manager.cpython-314.pyc +0 -0
- package/onecode/skills/__pycache__/model.cpython-314.pyc +0 -0
- package/onecode/skills/argument_substitution.py +39 -0
- package/onecode/skills/create.py +56 -0
- package/onecode/skills/frontmatter.py +33 -0
- package/onecode/skills/loader.py +157 -0
- package/onecode/skills/manager.py +75 -0
- package/onecode/skills/model.py +43 -0
- package/onecode/storage/__init__.py +0 -0
- package/onecode/storage/activity.py +64 -0
- package/onecode/storage/project.py +54 -0
- package/onecode/storage/session.py +113 -0
- package/onecode/tasks/__init__.py +26 -0
- package/onecode/tasks/manager.py +219 -0
- package/onecode/tasks/models.py +240 -0
- package/onecode/trace/__init__.py +0 -0
- package/onecode/trace/tracer.py +174 -0
- package/onecode/utils/__init__.py +0 -0
- package/onecode/utils/helpers.py +20 -0
- package/onecode-cli.js +2 -0
- package/package.json +32 -0
- package/pyproject.toml +60 -0
- package/run.js +86 -0
- package/tui/__init__.py +46 -0
- package/tui/__main__.py +4 -0
- package/tui/__pycache__/__init__.cpython-314.pyc +0 -0
- package/tui/__pycache__/_loop.cpython-314.pyc +0 -0
- package/tui/__pycache__/_path_fuzzy_search.cpython-314.pyc +0 -0
- package/tui/__pycache__/_path_match.cpython-314.pyc +0 -0
- package/tui/__pycache__/agent.cpython-314.pyc +0 -0
- package/tui/__pycache__/agent_schema.cpython-314.pyc +0 -0
- package/tui/__pycache__/agents.cpython-314.pyc +0 -0
- package/tui/__pycache__/answer.cpython-314.pyc +0 -0
- package/tui/__pycache__/app.cpython-314.pyc +0 -0
- package/tui/__pycache__/atomic.cpython-314.pyc +0 -0
- package/tui/__pycache__/complete.cpython-314.pyc +0 -0
- package/tui/__pycache__/constants.cpython-314.pyc +0 -0
- package/tui/__pycache__/conversation_markdown.cpython-314.pyc +0 -0
- package/tui/__pycache__/danger.cpython-314.pyc +0 -0
- package/tui/__pycache__/db.cpython-314.pyc +0 -0
- package/tui/__pycache__/dec.cpython-314.pyc +0 -0
- package/tui/__pycache__/directory.cpython-314.pyc +0 -0
- package/tui/__pycache__/directory_suggester.cpython-314.pyc +0 -0
- package/tui/__pycache__/directory_watcher.cpython-314.pyc +0 -0
- package/tui/__pycache__/format_path.cpython-314.pyc +0 -0
- package/tui/__pycache__/fuzzy.cpython-314.pyc +0 -0
- package/tui/__pycache__/fuzzy_index.cpython-314.pyc +0 -0
- package/tui/__pycache__/history.cpython-314.pyc +0 -0
- package/tui/__pycache__/jsonrpc.cpython-314.pyc +0 -0
- package/tui/__pycache__/menus.cpython-314.pyc +0 -0
- package/tui/__pycache__/message_log.cpython-314.pyc +0 -0
- package/tui/__pycache__/messages.cpython-314.pyc +0 -0
- package/tui/__pycache__/path_complete.cpython-314.pyc +0 -0
- package/tui/__pycache__/path_filter.cpython-314.pyc +0 -0
- package/tui/__pycache__/paths.cpython-314.pyc +0 -0
- package/tui/__pycache__/pill.cpython-314.pyc +0 -0
- package/tui/__pycache__/platform_commands.cpython-314.pyc +0 -0
- package/tui/__pycache__/protocol.cpython-314.pyc +0 -0
- package/tui/__pycache__/session_tracker.cpython-314.pyc +0 -0
- package/tui/__pycache__/settings.cpython-314.pyc +0 -0
- package/tui/__pycache__/settings_schema.cpython-314.pyc +0 -0
- package/tui/__pycache__/shell.cpython-314.pyc +0 -0
- package/tui/__pycache__/shell_read.cpython-314.pyc +0 -0
- package/tui/__pycache__/slash_command.cpython-314.pyc +0 -0
- package/tui/__pycache__/version.cpython-314.pyc +0 -0
- package/tui/_loop.py +86 -0
- package/tui/_path_fuzzy_search.py +48 -0
- package/tui/_path_match.py +141 -0
- package/tui/about.py +95 -0
- package/tui/acp/__pycache__/agent.cpython-314.pyc +0 -0
- package/tui/acp/__pycache__/api.cpython-314.pyc +0 -0
- package/tui/acp/__pycache__/encode_tool_call_id.cpython-314.pyc +0 -0
- package/tui/acp/__pycache__/messages.cpython-314.pyc +0 -0
- package/tui/acp/__pycache__/prompt.cpython-314.pyc +0 -0
- package/tui/acp/__pycache__/protocol.cpython-314.pyc +0 -0
- package/tui/acp/agent.py +886 -0
- package/tui/acp/api.py +55 -0
- package/tui/acp/encode_tool_call_id.py +12 -0
- package/tui/acp/messages.py +190 -0
- package/tui/acp/prompt.py +110 -0
- package/tui/acp/protocol.py +462 -0
- package/tui/agent.py +70 -0
- package/tui/agent_schema.py +76 -0
- package/tui/agents.py +45 -0
- package/tui/ansi/__init__.py +1 -0
- package/tui/ansi/__pycache__/__init__.cpython-314.pyc +0 -0
- package/tui/ansi/__pycache__/_ansi.cpython-314.pyc +0 -0
- package/tui/ansi/__pycache__/_ansi_colors.cpython-314.pyc +0 -0
- package/tui/ansi/__pycache__/_control_codes.cpython-314.pyc +0 -0
- package/tui/ansi/__pycache__/_keys.cpython-314.pyc +0 -0
- package/tui/ansi/__pycache__/_sgr_styles.cpython-314.pyc +0 -0
- package/tui/ansi/__pycache__/_stream_parser.cpython-314.pyc +0 -0
- package/tui/ansi/_ansi.py +1689 -0
- package/tui/ansi/_ansi_colors.py +264 -0
- package/tui/ansi/_control_codes.py +37 -0
- package/tui/ansi/_keys.py +251 -0
- package/tui/ansi/_sgr_styles.py +64 -0
- package/tui/ansi/_stream_parser.py +418 -0
- package/tui/answer.py +12 -0
- package/tui/app.py +1236 -0
- package/tui/atomic.py +37 -0
- package/tui/cli.py +313 -0
- package/tui/code_analyze.py +27 -0
- package/tui/complete.py +38 -0
- package/tui/constants.py +61 -0
- package/tui/conversation_markdown.py +30 -0
- package/tui/danger.py +372 -0
- package/tui/data/agents/ampcode.com.toml +51 -0
- package/tui/data/agents/augmentcode.com.toml +40 -0
- package/tui/data/agents/cdh.cloud-dev-harness.toml +22 -0
- package/tui/data/agents/claude.com.toml +41 -0
- package/tui/data/agents/copilot.github.com.toml +29 -0
- package/tui/data/agents/crowai.dev.toml +35 -0
- package/tui/data/agents/cursor.com.toml +38 -0
- package/tui/data/agents/deepagents.langchain.com +33 -0
- package/tui/data/agents/docker.com.toml +59 -0
- package/tui/data/agents/geminicli.com.toml +28 -0
- package/tui/data/agents/goose.ai.toml +51 -0
- package/tui/data/agents/inference.huggingface.co.toml +41 -0
- package/tui/data/agents/kimi.com.toml +35 -0
- package/tui/data/agents/kiro.dev.toml +42 -0
- package/tui/data/agents/openai.com.toml +53 -0
- package/tui/data/agents/openclaw.ai.toml +37 -0
- package/tui/data/agents/opencode.ai.toml +39 -0
- package/tui/data/agents/openhands.dev.toml +45 -0
- package/tui/data/agents/stakpak.dev.toml +61 -0
- package/tui/data/agents/vibe.mistral.ai.toml +30 -0
- package/tui/data/agents/vtcode.dev.toml +62 -0
- package/tui/data/images/frog.png +0 -0
- package/tui/data/sounds/question.wav +0 -0
- package/tui/data/sounds/turn-over.wav +0 -0
- package/tui/db.py +190 -0
- package/tui/dec.py +332 -0
- package/tui/directory.py +234 -0
- package/tui/directory_suggester.py +93 -0
- package/tui/directory_watcher.py +197 -0
- package/tui/format_path.py +25 -0
- package/tui/fuzzy.py +140 -0
- package/tui/fuzzy_index.py +275 -0
- package/tui/gist.py +33 -0
- package/tui/history.py +138 -0
- package/tui/jsonrpc.py +578 -0
- package/tui/menus.py +14 -0
- package/tui/message_log.py +69 -0
- package/tui/messages.py +139 -0
- package/tui/option_content.py +51 -0
- package/tui/os.py +0 -0
- package/tui/path_complete.py +217 -0
- package/tui/path_filter.py +124 -0
- package/tui/paths.py +71 -0
- package/tui/pill.py +23 -0
- package/tui/platform_commands.py +52 -0
- package/tui/prompt/__pycache__/extract.cpython-314.pyc +0 -0
- package/tui/prompt/__pycache__/resource.cpython-314.pyc +0 -0
- package/tui/prompt/extract.py +19 -0
- package/tui/prompt/resource.py +68 -0
- package/tui/protocol.py +28 -0
- package/tui/screens/__init__.py +0 -0
- package/tui/screens/__pycache__/__init__.cpython-314.pyc +0 -0
- package/tui/screens/__pycache__/log.cpython-314.pyc +0 -0
- package/tui/screens/__pycache__/main.cpython-314.pyc +0 -0
- package/tui/screens/__pycache__/projects_screen.cpython-314.pyc +0 -0
- package/tui/screens/__pycache__/sessions.cpython-314.pyc +0 -0
- package/tui/screens/__pycache__/settings.cpython-314.pyc +0 -0
- package/tui/screens/__pycache__/store.cpython-314.pyc +0 -0
- package/tui/screens/action_modal.py +94 -0
- package/tui/screens/agent_modal.py +175 -0
- package/tui/screens/command_edit_modal.py +74 -0
- package/tui/screens/log.py +553 -0
- package/tui/screens/main.py +411 -0
- package/tui/screens/main.tcss +655 -0
- package/tui/screens/permissions.py +404 -0
- package/tui/screens/permissions.tcss +72 -0
- package/tui/screens/projects.tcss +66 -0
- package/tui/screens/projects_app.py +319 -0
- package/tui/screens/projects_screen.py +142 -0
- package/tui/screens/session_resume_modal.py +172 -0
- package/tui/screens/session_resume_modal.tcss +35 -0
- package/tui/screens/sessions.py +166 -0
- package/tui/screens/sessions.tcss +119 -0
- package/tui/screens/settings.py +254 -0
- package/tui/screens/settings.tcss +101 -0
- package/tui/screens/store.py +500 -0
- package/tui/screens/store.tcss +274 -0
- package/tui/screens/tool_content_screen.py +59 -0
- package/tui/session_tracker.py +120 -0
- package/tui/settings.py +353 -0
- package/tui/settings_schema.py +431 -0
- package/tui/shell.py +304 -0
- package/tui/shell_read.py +42 -0
- package/tui/slash_command.py +34 -0
- package/tui/tui.tcss +246 -0
- package/tui/twitter.py +38 -0
- package/tui/version.py +80 -0
- package/tui/visuals/__init__.py +0 -0
- package/tui/visuals/__pycache__/__init__.cpython-314.pyc +0 -0
- package/tui/visuals/__pycache__/columns.cpython-314.pyc +0 -0
- package/tui/visuals/columns.py +273 -0
- package/tui/widgets/__init__.py +0 -0
- package/tui/widgets/__pycache__/__init__.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/acp_content.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/agent_response.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/agent_thought.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/ask_user.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/condensed_path.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/context_stats.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/conversation.cpython-313.pyc +0 -0
- package/tui/widgets/__pycache__/conversation.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/diff_view.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/directory_input.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/flash.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/future_text.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/grid_select.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/highlighted_textarea.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/mandelbrot.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/markdown_note.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/menu.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/modified_files.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/non_selectable_label.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/note.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/path_search.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/plan.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/project_directory_tree.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/project_grid_select.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/project_summary.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/prompt.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/question.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/session_grid_select.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/session_summary.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/session_tabs.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/shell_result.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/shell_terminal.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/side_bar.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/slash_complete.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/strike_text.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/subagent.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/terminal.cpython-313.pyc +0 -0
- package/tui/widgets/__pycache__/terminal.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/throbber.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/tool_call.cpython-313.pyc +0 -0
- package/tui/widgets/__pycache__/tool_call.cpython-314.pyc +0 -0
- package/tui/widgets/__pycache__/user_input.cpython-314.pyc +0 -0
- package/tui/widgets/acp_content.py +70 -0
- package/tui/widgets/agent_response.py +77 -0
- package/tui/widgets/agent_thought.py +168 -0
- package/tui/widgets/ask_user.py +264 -0
- package/tui/widgets/command_pane.py +223 -0
- package/tui/widgets/condensed_path.py +115 -0
- package/tui/widgets/context_stats.py +66 -0
- package/tui/widgets/conversation.py +2441 -0
- package/tui/widgets/danger_warning.py +65 -0
- package/tui/widgets/diff_view.py +59 -0
- package/tui/widgets/directory_input.py +8 -0
- package/tui/widgets/flash.py +81 -0
- package/tui/widgets/future_text.py +126 -0
- package/tui/widgets/grid_select.py +234 -0
- package/tui/widgets/highlighted_textarea.py +180 -0
- package/tui/widgets/mandelbrot.py +294 -0
- package/tui/widgets/markdown_note.py +13 -0
- package/tui/widgets/menu.py +147 -0
- package/tui/widgets/modified_files.py +106 -0
- package/tui/widgets/non_selectable_label.py +5 -0
- package/tui/widgets/note.py +18 -0
- package/tui/widgets/path_search.py +492 -0
- package/tui/widgets/plan.py +263 -0
- package/tui/widgets/project_directory_tree.py +90 -0
- package/tui/widgets/project_grid_select.py +35 -0
- package/tui/widgets/project_summary.py +33 -0
- package/tui/widgets/prompt.py +795 -0
- package/tui/widgets/question.py +360 -0
- package/tui/widgets/session_grid_select.py +224 -0
- package/tui/widgets/session_summary.py +115 -0
- package/tui/widgets/session_tabs.py +188 -0
- package/tui/widgets/shell_result.py +35 -0
- package/tui/widgets/shell_terminal.py +40 -0
- package/tui/widgets/side_bar.py +114 -0
- package/tui/widgets/slash_complete.py +235 -0
- package/tui/widgets/strike_text.py +70 -0
- package/tui/widgets/subagent.py +87 -0
- package/tui/widgets/terminal.py +577 -0
- package/tui/widgets/terminal_tool.py +351 -0
- package/tui/widgets/throbber.py +100 -0
- package/tui/widgets/tool_call.py +368 -0
- package/tui/widgets/user_input.py +23 -0
- package/tui/widgets/version.py +5 -0
- package/tui/widgets/welcome.py +31 -0
|
@@ -0,0 +1,655 @@
|
|
|
1
|
+
|
|
2
|
+
Note,MarkdownNote {
|
|
3
|
+
padding: 0 1 0 0;
|
|
4
|
+
&.about MarkdownTable {
|
|
5
|
+
# Make the tables compact in /about
|
|
6
|
+
width: auto;
|
|
7
|
+
}
|
|
8
|
+
&.-error {
|
|
9
|
+
border: heavy $error;
|
|
10
|
+
}
|
|
11
|
+
&.-stop-reason {
|
|
12
|
+
border: wide $error 50%;
|
|
13
|
+
padding: 0 1;
|
|
14
|
+
MarkdownH2 {
|
|
15
|
+
margin: 1 0 1 0;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
Menu {
|
|
22
|
+
border: round $accent;
|
|
23
|
+
background: transparent;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
Plan {
|
|
28
|
+
color: $primary;
|
|
29
|
+
border: none;
|
|
30
|
+
background: transparent;
|
|
31
|
+
|
|
32
|
+
padding: 0 1 0 0;
|
|
33
|
+
height: auto;
|
|
34
|
+
grid-size: 2;
|
|
35
|
+
grid-columns: auto 1fr;
|
|
36
|
+
grid-rows: auto;
|
|
37
|
+
border-title-align: center;
|
|
38
|
+
|
|
39
|
+
.-no-plan {
|
|
40
|
+
text-style: dim italic;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.plan {
|
|
44
|
+
color: $text-primary;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.status {
|
|
48
|
+
padding: 0 0 0 0;
|
|
49
|
+
color: $text-primary;
|
|
50
|
+
}
|
|
51
|
+
.status-pending {
|
|
52
|
+
opacity: 0.6;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
Conversation {
|
|
58
|
+
Window {
|
|
59
|
+
layout: stream;
|
|
60
|
+
margin: 0;
|
|
61
|
+
scrollbar-size-vertical: 2;
|
|
62
|
+
padding: 0 1 0 1;
|
|
63
|
+
height: 1fr;
|
|
64
|
+
align: left bottom;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&.-scrollbar-thin {
|
|
68
|
+
Window {
|
|
69
|
+
# scrollbar-gutter: stable;
|
|
70
|
+
scrollbar-size-vertical: 1;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
}
|
|
74
|
+
&.-scrollbar-hidden {
|
|
75
|
+
Window {
|
|
76
|
+
# scrollbar-gutter: auto;
|
|
77
|
+
scrollbar-size-vertical: 0;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
height: 1fr;
|
|
82
|
+
layers: base prompt float;
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
&.-column {
|
|
86
|
+
max-width: 80%;
|
|
87
|
+
background: black 7%;
|
|
88
|
+
|
|
89
|
+
#info-container {
|
|
90
|
+
margin: 1 1;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
Contents {
|
|
95
|
+
layout: stream;
|
|
96
|
+
width: 1fr;
|
|
97
|
+
overflow: hidden;
|
|
98
|
+
height: auto;
|
|
99
|
+
padding: 0 0 0 0;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
ContentsGrid {
|
|
103
|
+
grid-size: 2;
|
|
104
|
+
grid-columns: 1 1fr;
|
|
105
|
+
grid-rows: auto;
|
|
106
|
+
height: auto;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
#cursor-container {
|
|
110
|
+
height: auto;
|
|
111
|
+
width: 1;
|
|
112
|
+
color: $foreground 7%;
|
|
113
|
+
|
|
114
|
+
&> Cursor {
|
|
115
|
+
height: 0;
|
|
116
|
+
width: 1;
|
|
117
|
+
|
|
118
|
+
border-left: outer $text-accent;
|
|
119
|
+
visibility: visible;
|
|
120
|
+
&.-blink {
|
|
121
|
+
border-left: outer $text-accent 20%;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
AgentResponse {
|
|
127
|
+
min-height: 1;
|
|
128
|
+
padding: 0 0 0 0;
|
|
129
|
+
overflow-x: auto;
|
|
130
|
+
scrollbar-size-horizontal: 0;
|
|
131
|
+
layout: stream;
|
|
132
|
+
& > MarkdownBlock:last-child {
|
|
133
|
+
margin-bottom: 0;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
LoadingIndicator {
|
|
138
|
+
height: 10;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
AgentThought {
|
|
142
|
+
min-height: 1;
|
|
143
|
+
margin: 1 1 1 0;
|
|
144
|
+
padding: 0 0 0 1;
|
|
145
|
+
border-left: tall $secondary 60%;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
AgentThought > #thought-header {
|
|
149
|
+
color: $text;
|
|
150
|
+
text-style: bold;
|
|
151
|
+
padding: 0 2;
|
|
152
|
+
height: 1;
|
|
153
|
+
background: transparent;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
AgentThought > #thought-header:hover {
|
|
157
|
+
color: $text;
|
|
158
|
+
background: $primary-muted 30%;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
AgentThought > #thought-content {
|
|
162
|
+
color: $text-muted;
|
|
163
|
+
margin: 0;
|
|
164
|
+
padding: 0 1 0 2;
|
|
165
|
+
height: auto;
|
|
166
|
+
min-height: 1;
|
|
167
|
+
text-style: italic;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
AgentThought > #thought-content MarkdownBlock:last-child {
|
|
171
|
+
margin-bottom: 0;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
AgentThought:focus-within > #thought-header {
|
|
175
|
+
color: $secondary;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
AgentThought:focus-within {
|
|
179
|
+
border-left: tall $secondary;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
AgentThought.-maximized {
|
|
183
|
+
margin: 1 2;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
AgentThought.-maximized > #thought-content {
|
|
187
|
+
scrollbar-visibility: visible;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
ToolCall {
|
|
191
|
+
# margin: 0 0 0 0 !important;
|
|
192
|
+
margin: 0 0 0 1 !important;
|
|
193
|
+
|
|
194
|
+
width: 1fr;
|
|
195
|
+
layout: stream;
|
|
196
|
+
height: auto;
|
|
197
|
+
|
|
198
|
+
.icon {
|
|
199
|
+
width: auto;
|
|
200
|
+
margin-right: 1;
|
|
201
|
+
}
|
|
202
|
+
#tool-content {
|
|
203
|
+
display: none;
|
|
204
|
+
}
|
|
205
|
+
&.-has-content #tool-content {
|
|
206
|
+
margin: 1 1 1 0;
|
|
207
|
+
DiffView {
|
|
208
|
+
margin: 0 1 1 0;
|
|
209
|
+
&:last-of-type {
|
|
210
|
+
margin-bottom: 0;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
Markdown {
|
|
215
|
+
layout: stream;
|
|
216
|
+
padding: 0;
|
|
217
|
+
margin: 0 0 0 0;
|
|
218
|
+
MarkdownBlock:last-of-type {
|
|
219
|
+
margin-bottom: 0;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
&.-expanded {
|
|
224
|
+
#tool-content {
|
|
225
|
+
display: block;
|
|
226
|
+
max-height: 60vh;
|
|
227
|
+
overflow-y: hidden;
|
|
228
|
+
}
|
|
229
|
+
ToolCallHeader {
|
|
230
|
+
text-wrap: wrap;
|
|
231
|
+
text-overflow: fold;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
ToolCallHeader {
|
|
236
|
+
color: $text-secondary;
|
|
237
|
+
pointer: pointer;
|
|
238
|
+
width: auto;
|
|
239
|
+
max-width: 1fr;
|
|
240
|
+
margin: 0 1 0 0;
|
|
241
|
+
text-wrap: nowrap;
|
|
242
|
+
text-overflow: ellipsis;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
padding-left: 1;
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
ShellResult {
|
|
250
|
+
border-left: blank $primary;
|
|
251
|
+
background: $foreground 4%;
|
|
252
|
+
padding: 1 0;
|
|
253
|
+
margin: 1 1 1 0;
|
|
254
|
+
#prompt {
|
|
255
|
+
margin: 0 1 0 0;
|
|
256
|
+
color: $text-primary;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
Terminal {
|
|
261
|
+
width: 1fr;
|
|
262
|
+
height: auto;
|
|
263
|
+
padding: 0 1 0 0;
|
|
264
|
+
margin: 1 0;
|
|
265
|
+
overflow: scroll;
|
|
266
|
+
scrollbar-size: 0 0;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
TerminalTool {
|
|
270
|
+
height: auto;
|
|
271
|
+
border: panel $primary 50%;
|
|
272
|
+
border-title-color: $text-primary;
|
|
273
|
+
background: $primary 10%;
|
|
274
|
+
padding: 1 1 0 1;
|
|
275
|
+
border-title-style: bold;
|
|
276
|
+
|
|
277
|
+
&.-success {
|
|
278
|
+
border: panel $success-muted;
|
|
279
|
+
border-title-color: $text-success;
|
|
280
|
+
background: $success 7%;
|
|
281
|
+
opacity: 90%;
|
|
282
|
+
border-title-style: not bold;
|
|
283
|
+
&:light {
|
|
284
|
+
border: panel $success 50%;
|
|
285
|
+
border-title-color: auto 90%;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
&.-error {
|
|
291
|
+
border: panel $error-muted;
|
|
292
|
+
border-title-color: $text-error;
|
|
293
|
+
background: $error 7%;
|
|
294
|
+
opacity: 90%;
|
|
295
|
+
border-title-style: not bold;
|
|
296
|
+
&:light {
|
|
297
|
+
border: panel $error-muted;
|
|
298
|
+
border-title-color: auto 90%;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
UserInput {
|
|
305
|
+
border-left: blank $secondary;
|
|
306
|
+
background: $secondary 15%;
|
|
307
|
+
padding: 1 1 1 0;
|
|
308
|
+
margin: 1 1 1 0;
|
|
309
|
+
Markdown {
|
|
310
|
+
padding:0 2 0 0;
|
|
311
|
+
}
|
|
312
|
+
Markdown > MarkdownBlock:last-child {
|
|
313
|
+
margin-bottom: 0;
|
|
314
|
+
}
|
|
315
|
+
MarkdownFence {
|
|
316
|
+
margin: 0 2 1 0;
|
|
317
|
+
}
|
|
318
|
+
#prompt {
|
|
319
|
+
margin: 0 1 0 0;
|
|
320
|
+
color: $text-secondary;
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
Welcome {
|
|
328
|
+
height: auto;
|
|
329
|
+
#logo {
|
|
330
|
+
color: $text-success;
|
|
331
|
+
}
|
|
332
|
+
#message {
|
|
333
|
+
padding: 0;
|
|
334
|
+
width: 1fr;
|
|
335
|
+
height: auto;
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
ACPToolCallContent {
|
|
341
|
+
Markdown {
|
|
342
|
+
margin: 0;
|
|
343
|
+
padding-left: 0;
|
|
344
|
+
MarkdownBlock:last-of-type {
|
|
345
|
+
margin-bottom: 0;
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
Prompt {
|
|
352
|
+
padding: 0 0 0 0;
|
|
353
|
+
height: auto;
|
|
354
|
+
dock: bottom;
|
|
355
|
+
|
|
356
|
+
&.-shell-mode {
|
|
357
|
+
#prompt-container:focus-within {
|
|
358
|
+
border: tall $primary;
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
PathSearch, SlashComplete {
|
|
363
|
+
display: none;
|
|
364
|
+
overlay: screen;
|
|
365
|
+
offset-y: -16;
|
|
366
|
+
height: 16;
|
|
367
|
+
Input {
|
|
368
|
+
margin: 0 1;
|
|
369
|
+
padding: 0 1;
|
|
370
|
+
}
|
|
371
|
+
OptionList,FuzzyPathOptionList {
|
|
372
|
+
border: none;
|
|
373
|
+
height: 1fr;
|
|
374
|
+
padding: 0;
|
|
375
|
+
margin: 0 1;
|
|
376
|
+
overflow: hidden;
|
|
377
|
+
text-wrap: nowrap;
|
|
378
|
+
text-overflow: ellipsis;
|
|
379
|
+
& > .option-list--option {
|
|
380
|
+
padding: 0 1;
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
DirectoryTree {
|
|
384
|
+
margin: 0 1;
|
|
385
|
+
padding: 0 0 0 1;
|
|
386
|
+
&:focus {
|
|
387
|
+
background-tint:transparent;
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
.message {
|
|
391
|
+
background: $foreground 8%;
|
|
392
|
+
color: $text 40%;
|
|
393
|
+
margin: 0 1;
|
|
394
|
+
padding: 0 1;
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
&.-show-path-search {
|
|
399
|
+
PathSearch {
|
|
400
|
+
display: block
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
&.-show-slash-complete {
|
|
405
|
+
SlashComplete {
|
|
406
|
+
display: block;
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
Question {
|
|
411
|
+
|
|
412
|
+
display: none;
|
|
413
|
+
#title {
|
|
414
|
+
width: 1fr;
|
|
415
|
+
}
|
|
416
|
+
height: auto;
|
|
417
|
+
# height: 1fr;
|
|
418
|
+
# max-height: 50vh;
|
|
419
|
+
# overflow: hidden auto;
|
|
420
|
+
|
|
421
|
+
#contents {
|
|
422
|
+
|
|
423
|
+
margin-top: 0;
|
|
424
|
+
height: auto;
|
|
425
|
+
overflow: hidden auto;
|
|
426
|
+
max-height: 50vh;
|
|
427
|
+
margin-bottom: 1;
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
DiffView {
|
|
431
|
+
.diff-group {
|
|
432
|
+
margin-bottom: 0;
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
#title {
|
|
436
|
+
margin: 0;
|
|
437
|
+
}
|
|
438
|
+
& > * {
|
|
439
|
+
# height: 0;
|
|
440
|
+
padding-right: 1;
|
|
441
|
+
margin: 1 0 0 0;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
&:empty {
|
|
445
|
+
height: 1;
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
#option-container {
|
|
449
|
+
# margin-top: 1;
|
|
450
|
+
split: bottom;
|
|
451
|
+
height: auto;
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
&.-mode-ask {
|
|
455
|
+
Question {
|
|
456
|
+
display: block;
|
|
457
|
+
}
|
|
458
|
+
#text-prompt {
|
|
459
|
+
display: none;
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
PromptContainer {
|
|
464
|
+
&:dark {
|
|
465
|
+
background: black 10%;
|
|
466
|
+
}
|
|
467
|
+
&:light {
|
|
468
|
+
background: white 40%;
|
|
469
|
+
}
|
|
470
|
+
height: auto;
|
|
471
|
+
margin: 0 0 1 0;
|
|
472
|
+
border: tall transparent;
|
|
473
|
+
border-subtitle-align: left;
|
|
474
|
+
border-subtitle-style: reverse;
|
|
475
|
+
|
|
476
|
+
&:focus-within {
|
|
477
|
+
border: tall $secondary;
|
|
478
|
+
#prompt {
|
|
479
|
+
text-opacity: 100%;
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
#prompt {
|
|
484
|
+
padding: 0 1;
|
|
485
|
+
text-opacity: 30%;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
PromptTextArea {
|
|
489
|
+
padding: 0 1 0 0;
|
|
490
|
+
background: transparent;
|
|
491
|
+
border: none;
|
|
492
|
+
height: auto;
|
|
493
|
+
max-height: 50vh;
|
|
494
|
+
|
|
495
|
+
&:blur {
|
|
496
|
+
text-opacity: 0.5;
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
&.-working-directory-out-of-bounds #info-container CondensedPath {
|
|
502
|
+
color: $text-error;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
#info-container {
|
|
506
|
+
|
|
507
|
+
height: 1;
|
|
508
|
+
margin: 1 1;
|
|
509
|
+
# padding: 1 0;
|
|
510
|
+
|
|
511
|
+
AgentInfo {
|
|
512
|
+
padding: 0 1;
|
|
513
|
+
margin: 0 1 0 0;
|
|
514
|
+
color: $text-primary;
|
|
515
|
+
background: $primary 10%;
|
|
516
|
+
width: auto;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
CondensedPath {
|
|
520
|
+
&:first-of-type {
|
|
521
|
+
margin: 0 1 0 0;
|
|
522
|
+
}
|
|
523
|
+
margin: 0 1;
|
|
524
|
+
width: 1fr;
|
|
525
|
+
height: 1;
|
|
526
|
+
text-wrap: nowrap;
|
|
527
|
+
color: $text-secondary;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
StatusLine {
|
|
531
|
+
color: $secondary 70%;
|
|
532
|
+
margin: 0 1;
|
|
533
|
+
width: auto;
|
|
534
|
+
height: 1;
|
|
535
|
+
text-align: right;
|
|
536
|
+
text-wrap: nowrap;
|
|
537
|
+
text-overflow: ellipsis;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
ModeInfo {
|
|
541
|
+
padding: 0 1;
|
|
542
|
+
margin: 0 0;
|
|
543
|
+
color: $text-secondary;
|
|
544
|
+
background: $secondary 10%;
|
|
545
|
+
dock: right;
|
|
546
|
+
display: none;
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
&.-has-mode #info-container ModeInfo {
|
|
551
|
+
display: block;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
ModeInfo:hover {
|
|
558
|
+
text-style: underline;
|
|
559
|
+
pointer: pointer;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
ModeSwitcher {
|
|
563
|
+
|
|
564
|
+
max-height: 50vh;
|
|
565
|
+
|
|
566
|
+
border: none;
|
|
567
|
+
padding: 0;
|
|
568
|
+
width: auto;
|
|
569
|
+
max-width: 100;
|
|
570
|
+
|
|
571
|
+
overlay: screen;
|
|
572
|
+
overflow: hidden;
|
|
573
|
+
constrain: inside inflect;
|
|
574
|
+
min-width: 12;
|
|
575
|
+
margin: 1 0;
|
|
576
|
+
height: auto;
|
|
577
|
+
|
|
578
|
+
& > .option-list--option {
|
|
579
|
+
padding: 0 1;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
&:blur {
|
|
583
|
+
display: none;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
&:focus > .option-list--option-highlighted {
|
|
587
|
+
background: $primary 30%;
|
|
588
|
+
text-style: not bold;
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
MainScreen {
|
|
593
|
+
background: $background;
|
|
594
|
+
layers: sidebar screen base;
|
|
595
|
+
|
|
596
|
+
SideBar {
|
|
597
|
+
border-right: tall black 10%;
|
|
598
|
+
background: transparent;
|
|
599
|
+
dock: left;
|
|
600
|
+
|
|
601
|
+
overflow: hidden scroll;
|
|
602
|
+
scrollbar-size: 0 0;
|
|
603
|
+
box-sizing: border-box;
|
|
604
|
+
|
|
605
|
+
padding: 0 0;
|
|
606
|
+
margin: 0;
|
|
607
|
+
width: 40;
|
|
608
|
+
max-width: 45%;
|
|
609
|
+
min-width: 40;
|
|
610
|
+
height: 1fr;
|
|
611
|
+
|
|
612
|
+
DirectoryTree {
|
|
613
|
+
height: 1fr;
|
|
614
|
+
background: transparent;
|
|
615
|
+
&:focus {
|
|
616
|
+
background-tint: transparent;
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
Plan {
|
|
622
|
+
border: none !important;
|
|
623
|
+
margin: 0 !important;
|
|
624
|
+
padding: 0 1 0 0;
|
|
625
|
+
background: transparent;
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
|
|
629
|
+
Collapsible {
|
|
630
|
+
|
|
631
|
+
width: 1fr;
|
|
632
|
+
height: 1fr;
|
|
633
|
+
min-height: 3;
|
|
634
|
+
|
|
635
|
+
&.-collapsed {
|
|
636
|
+
height: auto;
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
&.-fixed {
|
|
640
|
+
height: auto;
|
|
641
|
+
Contents {
|
|
642
|
+
height: auto;
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
Contents {
|
|
647
|
+
height: 1fr;
|
|
648
|
+
padding: 1 0 0 0;
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
}
|