sagent 0.2.2__tar.gz → 0.2.3__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.
- {sagent-0.2.2 → sagent-0.2.3}/CHANGELOG.md +6 -0
- {sagent-0.2.2 → sagent-0.2.3}/PKG-INFO +1 -1
- {sagent-0.2.2 → sagent-0.2.3}/pyproject.toml +1 -1
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/assets/holidays.yaml +6 -31
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/holiday.py +8 -5
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/holiday_test.py +13 -10
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/welcome.py +14 -16
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/welcome_test.py +35 -21
- {sagent-0.2.2 → sagent-0.2.3}/uv.lock +5 -5
- {sagent-0.2.2 → sagent-0.2.3}/.gitignore +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/.pre-commit-config.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/.python-version +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/AI_POLICY.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/CODE_OF_CONDUCT.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/CONTRIBUTING.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/LICENSE +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/README.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/RELEASING.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/SECURITY.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/assets/logo-custom.webp +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/conftest.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/docs/api.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/docs/architecture.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/docs/cli.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/docs/compaction.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/docs/concepts.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/docs/providers.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/docs/security.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/docs/selfhosted.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/docs/sessions.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/docs/showcase.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/docs/streaming.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/docs/tools.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/docs/tutorial.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/__main__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/agent.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/agent_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/agents_md.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/agents_md_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/assets/compactor.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/assets/compactor_continuation.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/assets/compactor_cut_off.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/assets/compactor_no_tools.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/assets/compactor_no_tools_reminder.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/assets/compactor_partial.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/assets/compactor_partial_up_to.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/assets/compactor_recent_from.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/assets/compactor_recent_up_to.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/assets/compactor_resume.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/assets/compactor_resume_proactive.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/assets/compactor_session_audit.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/assets/compactor_skill_elided.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/assets/compactor_system.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/assets/compactor_user_guidance.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/assets/compactor_verify.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/assets/system_prompt.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/cache_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/compactor.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/compactor_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/environment.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/environment_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/fold.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/fold_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/pruner.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/pruner_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/scrunch.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/scrunch_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/team.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/team_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/types.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/agent/types_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/host/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/host/daemon.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/host/daemon_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/host/server.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/host/server_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/host/session.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/host/session_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/host/settings.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/host/settings_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/host/strings.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/host/strings_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/host/testing.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/host/testing_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/host/tls.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/host/tls_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/host/wire.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/host/wire_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/layering_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/asyncio_stalls.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/asyncio_stalls_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/files/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/files/glob.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/files/glob_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/files/grep.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/files/grep_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/files/owner_only.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/files/owner_only_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/files/source_version.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/files/source_version_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/files/walk.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/files/walk_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/posix/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/posix/attach.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/posix/attach_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/posix/child.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/posix/child_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/posix/detached.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/posix/detached_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/posix/host.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/posix/host_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/posix/pids.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/posix/pids_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/posix/relay.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/posix/relay_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/posix/sockets.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/posix/sockets_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/posix/terminal.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/posix/terminal_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/testing/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/testing/checks.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/testing/checks_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/testing/resources.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/testing/resources_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/testing/runner.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/testing/runner_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/testing/wheel.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/userdirs.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/userdirs_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/yaml.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/lib/yaml_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/model/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/model/capability.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/model/capability_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/model/context.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/model/context_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/model/cost.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/model/cost_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/model/exceptions.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/model/exceptions_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/model/image.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/model/image_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/model/scripted.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/model/scripted_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/model/token_accounting.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/model/token_accounting_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/model/types.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/model/types_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/anthropic/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/anthropic/anthropic.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/anthropic/api.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/anthropic/api_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/anthropic/cli.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/anthropic/cli_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/anthropic/login.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/anthropic/login_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/anthropic/wire.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/anthropic/wire_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/azure/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/azure/api.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/azure/api_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/azure/azure.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/bedrock/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/bedrock/api.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/bedrock/api_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/bedrock/bedrock.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/catalog.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/catalog_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/cerebras/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/cerebras/api.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/cerebras/api_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/cerebras/cerebras.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/cloudflare/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/cloudflare/api.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/cloudflare/api_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/cloudflare/cloudflare.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/cohere/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/cohere/api.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/cohere/api_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/cohere/cohere.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/dashscope/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/dashscope/api.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/dashscope/api_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/dashscope/dashscope.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/deepinfra/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/deepinfra/api.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/deepinfra/api_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/deepinfra/deepinfra.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/deepseek/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/deepseek/api.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/deepseek/api_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/deepseek/deepseek.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/fireworks/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/fireworks/api.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/fireworks/api_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/fireworks/fireworks.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/google/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/google/api.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/google/api_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/google/cli.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/google/cli_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/google/google.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/google/wire.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/google/wire_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/groq/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/groq/api.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/groq/api_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/groq/groq.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/huggingface/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/huggingface/api.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/huggingface/api_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/huggingface/huggingface.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/llamacpp/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/llamacpp/llamacpp.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/llamacpp/server.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/llamacpp/server_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/lmstudio/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/lmstudio/api.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/lmstudio/api_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/lmstudio/lmstudio.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/login.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/login_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/minimax/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/minimax/api.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/minimax/api_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/minimax/minimax.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/mistral/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/mistral/api.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/mistral/api_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/mistral/mistral.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/moonshot/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/moonshot/api.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/moonshot/api_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/moonshot/moonshot.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/nvidia/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/nvidia/api.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/nvidia/api_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/nvidia/nvidia.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/ollama/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/ollama/api.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/ollama/api_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/ollama/ollama.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/openai/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/openai/api.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/openai/api_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/openai/chat.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/openai/chat_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/openai/compat.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/openai/compat_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/openai/lease.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/openai/lease_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/openai/login.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/openai/login_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/openai/openai.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/openai/responses.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/openai/responses_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/openai/sub.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/openai/sub_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/openai/token_count.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/openai/token_count_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/openai/wire.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/openai/wire_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/openrouter/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/openrouter/api.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/openrouter/api_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/openrouter/openrouter.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/perplexity/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/perplexity/api.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/perplexity/api_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/perplexity/perplexity.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/replicate/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/replicate/api.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/replicate/api_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/replicate/replicate.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/resources.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/resources_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/retry.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/retry_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/selfhosted/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/selfhosted/calls.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/selfhosted/calls_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/selfhosted/server.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/selfhosted/server_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/selfhosted/vision.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/selfhosted/vision_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/table.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/table_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/testing.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/testing_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/together/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/together/api.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/together/api_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/together/together.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/tool_server.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/tool_server_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/types.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/types_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/vertex/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/vertex/api.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/vertex/api_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/vertex/vertex.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/workload_identity.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/workload_identity_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/xai/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/xai/api.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/xai/api_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/xai/xai.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/zai/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/zai/api.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/zai/api_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/providers/zai/zai.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/runtime/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/runtime/context.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/runtime/context_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/runtime/exceptions.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/runtime/exceptions_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/runtime/runtime.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/runtime/runtime_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/runtime/tape.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/runtime/tape_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/runtime/types.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/runtime/types_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/scripts/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/scripts/check_wheel.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/scripts/check_wheel_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/scripts/convert_sessions.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/scripts/convert_sessions_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/scripts/swebench.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/scripts/swebench_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/session/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/session/jsonl.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/session/jsonl_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/session/legacy_journal.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/session/legacy_journal_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/session/projects.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/session/projects_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/session/recording.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/session/recording_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/session/types.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/session/types_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/settings/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/settings/exceptions.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/settings/exceptions_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/settings/flags.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/settings/flags_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/settings/harvest.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/settings/harvest_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/settings/match.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/settings/match_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/settings/types.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/settings/types_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/skills/watch/SKILL.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/agent_self.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/agent_self_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/agent_send.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/agent_send_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/agent_session.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/agent_session_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/agent_spawn.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/agent_spawn_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/agent_tool.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/agent_tool_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/assets/agentself.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/assets/agentsend.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/assets/agentspawn.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/assets/backgroundtask.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/assets/bash.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/assets/bash.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/assets/edit.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/assets/glob.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/assets/grep.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/assets/list.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/assets/memory.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/assets/paperauthor.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/assets/paperdetails.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/assets/paperfetch.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/assets/papersearch.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/assets/playaudio.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/assets/read.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/assets/remotetool.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/assets/session.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/assets/skill.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/assets/webfetch.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/assets/websearch.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/assets/write.md +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/background_task.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/background_task_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/bash.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/bash_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/builtin.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/builtin_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/command_analyzer.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/command_analyzer_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/display.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/display_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/edit.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/edit_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/function.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/function_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/glob_tool.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/glob_tool_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/grep.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/grep_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/list.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/list_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/mcp.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/mcp_auth.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/mcp_auth_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/mcp_settings.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/mcp_settings_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/mcp_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/memory.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/memory_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/paper_author.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/paper_author_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/paper_common.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/paper_common_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/paper_details.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/paper_details_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/paper_fetch.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/paper_fetch_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/paper_search.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/paper_search_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/play_audio.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/play_audio_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/read.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/read_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/remote.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/remote_settings.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/remote_settings_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/remote_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/skill.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/skill_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/testing.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/testing_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/types.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/types_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/watch.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/watch_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/web_browser.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/web_browser_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/web_fetch.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/web_fetch_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/web_search.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/web_search_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/write.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tools/write_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/assets/themes/dark.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/assets/themes/default.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/assets/themes/light.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/assets/themes/terminal.yaml +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/console.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/console_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/diff.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/diff_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/main.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/main_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/markdown.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/markdown_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/peers_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/prompt.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/prompt_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/recording.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/recording_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/render.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/render_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/replay.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/replay_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/settings/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/settings/model.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/settings/model_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/settings/runtime.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/settings/runtime_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/settings/screen.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/settings/screen_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/settings/tool.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/settings/tool_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/slash.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/slash_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/status.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/status_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/theme.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/theme_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/tree.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/tree_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/types.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/types_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/views.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/tui/views_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/types.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/sagent/types_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/tests/wheel_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/tools/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/tools/gate/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/tools/gate/__main__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/tools/gate/fakes.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/tools/gate/fakes_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/tools/gate/gate.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/tools/gate/gate_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/tools/gate/spool.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/tools/gate/spool_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/tools/gate/worker_count.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/tools/gate/worker_count_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/tools/testing/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/tools/testing/__main__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/tools/testing/coverage_summary.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/tools/testing/coverage_summary_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/tools/testing/listing.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/tools/testing/listing_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/tools/testing/testing.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/tools/testing/testing_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/tools/testing/tiers.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/tools/testing/tiers_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/tools/typecheck/__init__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/tools/typecheck/__main__.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/tools/typecheck/scope.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/tools/typecheck/scope_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/tools/typecheck/typecheck.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/tools/typecheck/typecheck_test.py +0 -0
- {sagent-0.2.2 → sagent-0.2.3}/typings/.gitkeep +0 -0
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable sagent changes are documented here. This project follows
|
|
4
4
|
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
5
5
|
|
|
6
|
+
## 0.2.3 - 2026-11-06
|
|
7
|
+
|
|
8
|
+
### Changed
|
|
9
|
+
|
|
10
|
+
- The welcome frame greets by holiday name.
|
|
11
|
+
|
|
6
12
|
## 0.2.2 - 2026-11-06
|
|
7
13
|
|
|
8
14
|
### Changed
|
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
# A holiday is here if it has at least 100M observers worldwide, is a US
|
|
12
12
|
# federal holiday, is a date that spells something (an in-joke), or starts a
|
|
13
13
|
# Northern Hemisphere season. Three exceptions fall below 100M: Hanukkah,
|
|
14
|
-
# Vaisakhi, and Kwanzaa.
|
|
14
|
+
# Vaisakhi, and Kwanzaa.
|
|
15
|
+
# The welcome greets with "I've discovered <name>!", so a name reads there.
|
|
15
16
|
# Solemn days (Yom Kippur, Good Friday, Ashura) are left out on purpose: a
|
|
16
17
|
# playful logo does not belong on a day of mourning or fasting.
|
|
17
18
|
# Additions that meet this rule are welcome.
|
|
18
19
|
|
|
19
20
|
- name: "New Year's"
|
|
20
21
|
dates: 01-01
|
|
21
|
-
why: "US federal holiday."
|
|
22
22
|
icons:
|
|
23
23
|
- name: "fireworks"
|
|
24
24
|
palette: {B: "#4da6ff", R: "#ff4d4d", S: "#888888", W: "#ffffff", Y: "#ffd23f"}
|
|
@@ -53,7 +53,6 @@
|
|
|
53
53
|
|
|
54
54
|
- name: "Lunar New Year"
|
|
55
55
|
dates: lunar_new_year
|
|
56
|
-
why: "Over 100M observers: China, Korea, Vietnam, and diasporas."
|
|
57
56
|
icons:
|
|
58
57
|
- name: "lantern"
|
|
59
58
|
palette: {R: "#e0262f", Y: "#ffd23f", r: "#a01c2c", y: "#ffb300"}
|
|
@@ -88,7 +87,6 @@
|
|
|
88
87
|
|
|
89
88
|
- name: "Valentine's Day"
|
|
90
89
|
dates: 02-14
|
|
91
|
-
why: "Over 100M observers, in the US and beyond."
|
|
92
90
|
icons:
|
|
93
91
|
- name: "heart"
|
|
94
92
|
palette: {P: "#ff8fa3", R: "#e53950"}
|
|
@@ -123,7 +121,6 @@
|
|
|
123
121
|
|
|
124
122
|
- name: "Mario Day"
|
|
125
123
|
dates: 03-10
|
|
126
|
-
why: "In-joke: MAR10 spells Mario; the Halloween ghost is a Boo."
|
|
127
124
|
icons:
|
|
128
125
|
- name: "mushroom"
|
|
129
126
|
palette: {K: "#222222", R: "#e53935", T: "#f5d6a0", W: "#ffffff"}
|
|
@@ -158,7 +155,6 @@
|
|
|
158
155
|
|
|
159
156
|
- name: "Pi Day"
|
|
160
157
|
dates: 03-14
|
|
161
|
-
why: "In-joke: 3/14 spells 3.14."
|
|
162
158
|
icons:
|
|
163
159
|
- name: "pi"
|
|
164
160
|
palette: {B: "#4a90c4"}
|
|
@@ -193,7 +189,6 @@
|
|
|
193
189
|
|
|
194
190
|
- name: "St. Patrick's Day"
|
|
195
191
|
dates: 03-17
|
|
196
|
-
why: "Over 100M observers, in Ireland, the US, and beyond."
|
|
197
192
|
icons:
|
|
198
193
|
- name: "shamrock"
|
|
199
194
|
palette: {G: "#7fd67f", g: "#3fa34d"}
|
|
@@ -228,7 +223,6 @@
|
|
|
228
223
|
|
|
229
224
|
- name: "Holi"
|
|
230
225
|
dates: holi
|
|
231
|
-
why: "Over 100M observers: Hindus, the festival of colors."
|
|
232
226
|
icons:
|
|
233
227
|
- name: "powder burst"
|
|
234
228
|
palette: {C: "#00c8e8", G: "#2ecc40", O: "#ff7a00", P: "#e91e8c", Y: "#ffd600"}
|
|
@@ -263,7 +257,6 @@
|
|
|
263
257
|
|
|
264
258
|
- name: "Nowruz"
|
|
265
259
|
dates: spring
|
|
266
|
-
why: "Over 100M observers: about 300M across Iran, Afghanistan, and Central Asia, of several faiths."
|
|
267
260
|
icons:
|
|
268
261
|
- name: "hyacinth"
|
|
269
262
|
palette: {G: "#4caf50", O: "#c1663f", V: "#c3a6f0", v: "#8e5fd6"}
|
|
@@ -296,9 +289,8 @@
|
|
|
296
289
|
...........
|
|
297
290
|
...........
|
|
298
291
|
|
|
299
|
-
- name: "
|
|
292
|
+
- name: "spring"
|
|
300
293
|
dates: spring
|
|
301
|
-
why: "Season: the March equinox."
|
|
302
294
|
icons:
|
|
303
295
|
- name: "tulip"
|
|
304
296
|
palette: {G: "#4caf50", P: "#f8bbd0", p: "#f06292"}
|
|
@@ -333,7 +325,6 @@
|
|
|
333
325
|
|
|
334
326
|
- name: "Easter"
|
|
335
327
|
dates: easter
|
|
336
|
-
why: "Over 100M observers: Christians."
|
|
337
328
|
workday: monday # Friday is Good Friday, a solemn day.
|
|
338
329
|
icons:
|
|
339
330
|
- name: "egg"
|
|
@@ -369,7 +360,6 @@
|
|
|
369
360
|
|
|
370
361
|
- name: "Vaisakhi"
|
|
371
362
|
dates: vaisakhi
|
|
372
|
-
why: "Exception: the main Sikh festival; Sikhs number about 26M."
|
|
373
363
|
icons:
|
|
374
364
|
- name: "wheat sheaf"
|
|
375
365
|
palette: {O: "#ff9933", Y: "#e8c05a", y: "#b8902a"}
|
|
@@ -404,7 +394,6 @@
|
|
|
404
394
|
|
|
405
395
|
- name: "Eid al-Fitr"
|
|
406
396
|
dates: eid_al_fitr
|
|
407
|
-
why: "Over 100M observers: Muslims; it ends Ramadan."
|
|
408
397
|
icons:
|
|
409
398
|
- name: "crescent + star"
|
|
410
399
|
palette: {Y: "#e0a800"}
|
|
@@ -439,7 +428,6 @@
|
|
|
439
428
|
|
|
440
429
|
- name: "Vesak"
|
|
441
430
|
dates: vesak
|
|
442
|
-
why: "Over 100M observers: Buddhists."
|
|
443
431
|
icons:
|
|
444
432
|
- name: "lotus"
|
|
445
433
|
palette: {G: "#4caf50", P: "#f48fb1", W: "#fce4ec", Y: "#ffd23f"}
|
|
@@ -474,7 +462,6 @@
|
|
|
474
462
|
|
|
475
463
|
- name: "Juneteenth"
|
|
476
464
|
dates: 06-19
|
|
477
|
-
why: "US federal holiday."
|
|
478
465
|
icons:
|
|
479
466
|
- name: "Juneteenth flag"
|
|
480
467
|
palette: {B: "#b8cdf5", R: "#d7263d", W: "#ffffff", b: "#2b4c9b"}
|
|
@@ -507,9 +494,8 @@
|
|
|
507
494
|
RRRRRRRRRRR
|
|
508
495
|
...........
|
|
509
496
|
|
|
510
|
-
- name: "
|
|
497
|
+
- name: "summer"
|
|
511
498
|
dates: summer
|
|
512
|
-
why: "Season: the June solstice."
|
|
513
499
|
icons:
|
|
514
500
|
- name: "sun"
|
|
515
501
|
palette: {O: "#ff8c1a", Y: "#ffd23f"}
|
|
@@ -544,7 +530,6 @@
|
|
|
544
530
|
|
|
545
531
|
- name: "Independence Day"
|
|
546
532
|
dates: 07-04
|
|
547
|
-
why: "US federal holiday."
|
|
548
533
|
icons:
|
|
549
534
|
- name: "flag"
|
|
550
535
|
palette: {B: "#2b4c9b", R: "#d7263d", W: "#f2f2f2"}
|
|
@@ -579,7 +564,6 @@
|
|
|
579
564
|
|
|
580
565
|
- name: "Eid al-Adha"
|
|
581
566
|
dates: eid_al_adha
|
|
582
|
-
why: "Over 100M observers: Muslims."
|
|
583
567
|
icons:
|
|
584
568
|
- name: "mosque"
|
|
585
569
|
palette: {C: "#26a69a", W: "#d8c39a", Y: "#ffd23f"}
|
|
@@ -612,9 +596,8 @@
|
|
|
612
596
|
tttttttTTTT
|
|
613
597
|
...........
|
|
614
598
|
|
|
615
|
-
- name: "
|
|
599
|
+
- name: "fall"
|
|
616
600
|
dates: fall
|
|
617
|
-
why: "Season: the September equinox."
|
|
618
601
|
icons:
|
|
619
602
|
- name: "maple leaf"
|
|
620
603
|
palette: {N: "#6d4c41", O: "#ff8c1a", R: "#d84315"}
|
|
@@ -649,7 +632,6 @@
|
|
|
649
632
|
|
|
650
633
|
- name: "Mid-Autumn Festival"
|
|
651
634
|
dates: mid_autumn
|
|
652
|
-
why: "Over 100M observers: China, Korea, and Vietnam."
|
|
653
635
|
icons:
|
|
654
636
|
- name: "mooncake"
|
|
655
637
|
palette: {T: "#d9a441", t: "#9c6a2a"}
|
|
@@ -684,7 +666,6 @@
|
|
|
684
666
|
|
|
685
667
|
- name: "Halloween"
|
|
686
668
|
dates: 10-31
|
|
687
|
-
why: "Over 100M observers, mostly in the US."
|
|
688
669
|
icons:
|
|
689
670
|
- name: "jack-o-lantern"
|
|
690
671
|
palette: {G: "#4caf50", O: "#e8761c", Y: "#ffd23f"}
|
|
@@ -719,7 +700,6 @@
|
|
|
719
700
|
|
|
720
701
|
- name: "Diwali"
|
|
721
702
|
dates: diwali
|
|
722
|
-
why: "Over 100M observers: Hindus, Sikhs, and Jains."
|
|
723
703
|
icons:
|
|
724
704
|
- name: "diya"
|
|
725
705
|
palette: {N: "#8a3f22", O: "#ff8c1a", W: "#fff6c8", Y: "#ffd23f", o: "#c1663f"}
|
|
@@ -754,7 +734,6 @@
|
|
|
754
734
|
|
|
755
735
|
- name: "Thanksgiving"
|
|
756
736
|
dates: thanksgiving
|
|
757
|
-
why: "US federal holiday."
|
|
758
737
|
icons:
|
|
759
738
|
- name: "turkey"
|
|
760
739
|
palette: {K: "#222222", N: "#8b5a2b", O: "#ff8c1a", R: "#d7263d", T: "#c08850", Y: "#ffd23f", r: "#e0262f", y: "#ffb300"}
|
|
@@ -789,7 +768,6 @@
|
|
|
789
768
|
|
|
790
769
|
- name: "Hanukkah"
|
|
791
770
|
dates: hanukkah
|
|
792
|
-
why: "Exception: Jews number about 15M, but Hanukkah is widely marked in the US."
|
|
793
771
|
icons:
|
|
794
772
|
- name: "menorah"
|
|
795
773
|
palette: {B: "#4a90e2", Y: "#ffd23f", y: "#e6b422"}
|
|
@@ -822,9 +800,8 @@
|
|
|
822
800
|
.....b.....
|
|
823
801
|
...........
|
|
824
802
|
|
|
825
|
-
- name: "
|
|
803
|
+
- name: "winter"
|
|
826
804
|
dates: winter
|
|
827
|
-
why: "Season: the December solstice."
|
|
828
805
|
icons:
|
|
829
806
|
- name: "snowflake"
|
|
830
807
|
palette: {B: "#4a90e2", b: "#8fd3ff"}
|
|
@@ -859,7 +836,6 @@
|
|
|
859
836
|
|
|
860
837
|
- name: "Christmas"
|
|
861
838
|
dates: 12-25
|
|
862
|
-
why: "Over 100M observers, and a US federal holiday."
|
|
863
839
|
icons:
|
|
864
840
|
- name: "tree"
|
|
865
841
|
palette: {B: "#42a5f5", G: "#2e8b3e", N: "#8b5a2b", R: "#e53935", Y: "#ffd23f"}
|
|
@@ -894,7 +870,6 @@
|
|
|
894
870
|
|
|
895
871
|
- name: "Kwanzaa"
|
|
896
872
|
dates: 12-26
|
|
897
|
-
why: "Exception: an African American cultural celebration."
|
|
898
873
|
icons:
|
|
899
874
|
- name: "kinara"
|
|
900
875
|
palette: {G: "#43a047", K: "#5a5a5a", N: "#8b5a2b", R: "#e53935", Y: "#ffd23f", g: "#1b5e20", r: "#9e1b1b"}
|
|
@@ -54,8 +54,8 @@ class Holiday:
|
|
|
54
54
|
workday: Literal["friday", "monday"] = "friday"
|
|
55
55
|
|
|
56
56
|
|
|
57
|
-
def
|
|
58
|
-
"""Pick
|
|
57
|
+
def todays_holiday(today: date, *, rng: Random) -> tuple[str, Icon] | None:
|
|
58
|
+
"""Pick a random holiday showing ``today``, if any, and one of its icons.
|
|
59
59
|
|
|
60
60
|
A holiday shows on its day. On a Saturday or Sunday, it also shows on the
|
|
61
61
|
rest of that weekend and its ``workday``, Friday or Monday, so it is seen
|
|
@@ -66,11 +66,15 @@ def holiday_icon(today: date, *, rng: Random) -> Icon | None:
|
|
|
66
66
|
rng: Chooses among overlapping holidays, then between their icons.
|
|
67
67
|
|
|
68
68
|
Returns:
|
|
69
|
-
|
|
69
|
+
name: The chosen holiday's name, or None outside every holiday.
|
|
70
|
+
icon: One of its icons.
|
|
70
71
|
|
|
71
72
|
"""
|
|
72
73
|
current = [h for h in holidays() if _in_window(h, today)]
|
|
73
|
-
|
|
74
|
+
if not current:
|
|
75
|
+
return None
|
|
76
|
+
chosen = rng.choice(current)
|
|
77
|
+
return chosen.name, rng.choice(chosen.icons)
|
|
74
78
|
|
|
75
79
|
|
|
76
80
|
def icon_rows(icon: Icon) -> list[Text]:
|
|
@@ -433,7 +437,6 @@ class _IconEntry(TypedDict):
|
|
|
433
437
|
class _HolidayEntry(TypedDict):
|
|
434
438
|
name: str
|
|
435
439
|
dates: str
|
|
436
|
-
why: str # Required, so every holiday states which inclusion rule it meets.
|
|
437
440
|
workday: NotRequired[Literal["friday", "monday"]]
|
|
438
441
|
icons: list[_IconEntry]
|
|
439
442
|
|
|
@@ -12,7 +12,7 @@ import time
|
|
|
12
12
|
import pytest
|
|
13
13
|
|
|
14
14
|
from sagent.tui import holiday
|
|
15
|
-
from sagent.tui.holiday import Icon,
|
|
15
|
+
from sagent.tui.holiday import Icon, holidays, icon_rows, todays_holiday
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
if TYPE_CHECKING:
|
|
@@ -52,22 +52,22 @@ US_2026 = {
|
|
|
52
52
|
"St. Patrick's Day": "03-17",
|
|
53
53
|
"Holi": "03-03",
|
|
54
54
|
"Nowruz": "03-20",
|
|
55
|
-
"
|
|
55
|
+
"spring": "03-20",
|
|
56
56
|
"Easter": "04-05",
|
|
57
57
|
"Vaisakhi": "04-14",
|
|
58
58
|
"Eid al-Fitr": "03-20",
|
|
59
59
|
"Vesak": "05-01",
|
|
60
60
|
"Juneteenth": "06-19",
|
|
61
|
-
"
|
|
61
|
+
"summer": "06-21",
|
|
62
62
|
"Independence Day": "07-04",
|
|
63
63
|
"Eid al-Adha": "05-27",
|
|
64
|
-
"
|
|
64
|
+
"fall": "09-22",
|
|
65
65
|
"Mid-Autumn Festival": "09-25",
|
|
66
66
|
"Halloween": "10-31",
|
|
67
67
|
"Diwali": "11-08",
|
|
68
68
|
"Thanksgiving": "11-26",
|
|
69
69
|
"Hanukkah": "12-04",
|
|
70
|
-
"
|
|
70
|
+
"winter": "12-21",
|
|
71
71
|
"Christmas": "12-25",
|
|
72
72
|
"Kwanzaa": "12-26",
|
|
73
73
|
}
|
|
@@ -336,9 +336,9 @@ def test_the_arithmetic_calendar_takes_over_after_the_announced_dates() -> None:
|
|
|
336
336
|
def _icon_names(day: date, *, draws: int = 1) -> set[str]:
|
|
337
337
|
rng = Random(0) # noqa: S311 -- Test draws, not cryptography.
|
|
338
338
|
return {
|
|
339
|
-
|
|
339
|
+
found[1].name
|
|
340
340
|
for _ in range(draws)
|
|
341
|
-
if (
|
|
341
|
+
if (found := todays_holiday(day, rng=rng)) is not None
|
|
342
342
|
}
|
|
343
343
|
|
|
344
344
|
|
|
@@ -437,7 +437,7 @@ def test_window_is_the_day_or_its_whole_weekend(
|
|
|
437
437
|
def test_overlapping_holidays_are_all_chosen(monkeypatch: pytest.MonkeyPatch) -> None:
|
|
438
438
|
# March 20, 2026: spring begins, and with it Nowruz; Eid al-Fitr too.
|
|
439
439
|
expected = (
|
|
440
|
-
_holiday_icons("
|
|
440
|
+
_holiday_icons("spring")
|
|
441
441
|
| _holiday_icons("Nowruz")
|
|
442
442
|
| _holiday_icons("Eid al-Fitr")
|
|
443
443
|
)
|
|
@@ -452,9 +452,12 @@ def test_overlapping_holidays_are_all_chosen(monkeypatch: pytest.MonkeyPatch) ->
|
|
|
452
452
|
|
|
453
453
|
rng = Random(0) # noqa: S311 -- Test draws, not cryptography.
|
|
454
454
|
monkeypatch.setattr(rng, "choice", choose)
|
|
455
|
-
|
|
456
|
-
|
|
455
|
+
found = [todays_holiday(date(2026, 3, 20), rng=rng) for _ in range(6)]
|
|
456
|
+
pairs = [pair for pair in found if pair is not None]
|
|
457
|
+
assert {icon.name for _, icon in pairs} == expected
|
|
457
458
|
assert sizes == [3, 2] * 6
|
|
459
|
+
# Each icon comes with the name of the holiday it belongs to.
|
|
460
|
+
assert all(icon.name in _holiday_icons(name) for name, icon in pairs)
|
|
458
461
|
|
|
459
462
|
|
|
460
463
|
def test_an_asset_error_names_the_asset(
|
|
@@ -12,7 +12,7 @@ import sys
|
|
|
12
12
|
import time
|
|
13
13
|
|
|
14
14
|
from sagent.tui.console import terminal_console
|
|
15
|
-
from sagent.tui.holiday import
|
|
15
|
+
from sagent.tui.holiday import icon_rows, todays_holiday
|
|
16
16
|
from sagent.tui.theme import load_theme
|
|
17
17
|
from sagent.tui.types import fill
|
|
18
18
|
|
|
@@ -53,7 +53,7 @@ def print_welcome(
|
|
|
53
53
|
provider=provider,
|
|
54
54
|
folder=folder,
|
|
55
55
|
theme=theme,
|
|
56
|
-
|
|
56
|
+
holiday=todays_holiday(
|
|
57
57
|
date(*time.localtime()[:3]),
|
|
58
58
|
rng=Random(), # noqa: S311 -- Picks a picture, not a secret.
|
|
59
59
|
),
|
|
@@ -68,7 +68,7 @@ def render_welcome(
|
|
|
68
68
|
model: str = "",
|
|
69
69
|
provider: str = "",
|
|
70
70
|
folder: Path,
|
|
71
|
-
|
|
71
|
+
holiday: tuple[str, Icon] | None = None,
|
|
72
72
|
theme: Theme | None = None,
|
|
73
73
|
padding: int = 2,
|
|
74
74
|
) -> None:
|
|
@@ -84,9 +84,9 @@ def render_welcome(
|
|
|
84
84
|
model: The model line; empty before one is configured.
|
|
85
85
|
provider: The provider serving it.
|
|
86
86
|
folder: The project directory.
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
drawn in its colors.
|
|
87
|
+
holiday: Today's holiday, which the greeting names, and its icon to show
|
|
88
|
+
in place of the logo. Terminals without 256 colors, or with NO_COLOR
|
|
89
|
+
set, keep the logo: the icon's shape is drawn in its colors.
|
|
90
90
|
theme: Frame, metadata, and help styles; artwork keeps its own palette.
|
|
91
91
|
padding: Columns between the frame's sides and its content.
|
|
92
92
|
|
|
@@ -97,15 +97,17 @@ def render_welcome(
|
|
|
97
97
|
return
|
|
98
98
|
theme = theme or load_theme("terminal")
|
|
99
99
|
unicode_ok = _supports_blocks(console.encoding)
|
|
100
|
+
# pragma: no mutate start -- an empty block needs the 80-cell floor; a cell more does not move it.
|
|
100
101
|
frame_width = fill(0, total_padding=0, width=console.width)
|
|
102
|
+
# pragma: no mutate end
|
|
101
103
|
many_colors = console.color_system in {"256", "truecolor"} and not console.no_color
|
|
102
104
|
banner = _banner_rows(
|
|
103
|
-
icon=icon_rows(
|
|
105
|
+
icon=icon_rows(holiday[1]) if holiday and many_colors else _logo_rows(),
|
|
104
106
|
)
|
|
105
107
|
large = (
|
|
106
108
|
not console.is_dumb_terminal
|
|
107
109
|
and unicode_ok
|
|
108
|
-
and frame_width >=
|
|
110
|
+
and frame_width >= max(row.cell_len for row in banner) + 2 * (padding + 1)
|
|
109
111
|
and console.height >= 22
|
|
110
112
|
)
|
|
111
113
|
framed = not console.is_dumb_terminal and frame_width >= 16
|
|
@@ -161,7 +163,10 @@ def render_welcome(
|
|
|
161
163
|
row.append(value, style=theme.style("text"))
|
|
162
164
|
print_rows([row])
|
|
163
165
|
print_rows([Text()])
|
|
164
|
-
print_rows(_command_rows(
|
|
166
|
+
print_rows(_command_rows(content_width, unicode_ok=unicode_ok, theme=theme))
|
|
167
|
+
print_rows([Text()])
|
|
168
|
+
news = f"I've discovered {holiday[0]}!" if holiday else "The discovering begins."
|
|
169
|
+
print_rows([Text(f"Good news, everyone! {news}", style=theme.style("text"))])
|
|
165
170
|
if framed:
|
|
166
171
|
print_rows([Text()])
|
|
167
172
|
left, horizontal, right = ("╰", "─", "╯") if unicode_ok else ("+", "-", "+")
|
|
@@ -172,13 +177,6 @@ def render_welcome(
|
|
|
172
177
|
),
|
|
173
178
|
)
|
|
174
179
|
console.print()
|
|
175
|
-
greeting = Text(
|
|
176
|
-
"Good news, everyone! The discovering begins.",
|
|
177
|
-
style=theme.style("text"),
|
|
178
|
-
)
|
|
179
|
-
for line in greeting.wrap(console, frame_width):
|
|
180
|
-
console.print(line)
|
|
181
|
-
console.print()
|
|
182
180
|
|
|
183
181
|
|
|
184
182
|
def _banner_rows(*, icon: list[Text]) -> list[Text]:
|
|
@@ -260,7 +260,7 @@ def test_literal_metadata_is_not_parsed_as_markup() -> None:
|
|
|
260
260
|
|
|
261
261
|
|
|
262
262
|
@pytest.mark.parametrize("width", [16, 40, 56, 80, 120])
|
|
263
|
-
def
|
|
263
|
+
def test_terminal_width_border_contains_identity_commands_and_greeting(
|
|
264
264
|
width: int,
|
|
265
265
|
) -> None:
|
|
266
266
|
stream = io.StringIO()
|
|
@@ -286,8 +286,8 @@ def test_terminal_width_border_contains_identity_commands_with_greeting_outside(
|
|
|
286
286
|
assert all(line.startswith("│ ") and line.endswith(" │") for line in frame[1:-1])
|
|
287
287
|
assert "project" in "\n".join(frame)
|
|
288
288
|
assert "/help" in "\n".join(frame)
|
|
289
|
-
assert "everyone!"
|
|
290
|
-
assert "
|
|
289
|
+
assert "everyone!" in "\n".join(frame)
|
|
290
|
+
assert "".join(lines[bottom + 1 :]).strip() == ""
|
|
291
291
|
assert all(cell_len(line) <= width for line in lines)
|
|
292
292
|
|
|
293
293
|
|
|
@@ -399,7 +399,7 @@ def _holiday_console(*, color_system: Literal["truecolor", "standard"]) -> Conso
|
|
|
399
399
|
|
|
400
400
|
def test_holiday_icon_replaces_the_logo_beside_the_wordmark() -> None:
|
|
401
401
|
console = _holiday_console(color_system="truecolor")
|
|
402
|
-
render_welcome(console, folder=Path("/research"),
|
|
402
|
+
render_welcome(console, folder=Path("/research"), holiday=("Halloween", _PUMPKIN))
|
|
403
403
|
plain = console.export_text(styles=False, clear=False)
|
|
404
404
|
first = next(line for line in plain.splitlines() if "███████╗" in line)
|
|
405
405
|
assert first.startswith("│ " + "█" * 11 + " ███████╗")
|
|
@@ -409,7 +409,7 @@ def test_holiday_icon_replaces_the_logo_beside_the_wordmark() -> None:
|
|
|
409
409
|
|
|
410
410
|
def test_few_color_terminal_keeps_the_logo_on_a_holiday() -> None:
|
|
411
411
|
console = _holiday_console(color_system="standard")
|
|
412
|
-
render_welcome(console, folder=Path("/research"),
|
|
412
|
+
render_welcome(console, folder=Path("/research"), holiday=("Halloween", _PUMPKIN))
|
|
413
413
|
assert "▼" in console.export_text(styles=False)
|
|
414
414
|
|
|
415
415
|
|
|
@@ -421,10 +421,10 @@ def test_print_welcome_shows_todays_holiday(monkeypatch: pytest.MonkeyPatch) ->
|
|
|
421
421
|
assert file is sys.stderr
|
|
422
422
|
return console
|
|
423
423
|
|
|
424
|
-
def pumpkin(today: date, *, rng: Random) -> Icon:
|
|
424
|
+
def pumpkin(today: date, *, rng: Random) -> tuple[str, Icon]:
|
|
425
425
|
assert type(rng) is Random
|
|
426
426
|
asked.append(today)
|
|
427
|
-
return _PUMPKIN
|
|
427
|
+
return "Halloween", _PUMPKIN
|
|
428
428
|
|
|
429
429
|
def local(seconds: float | None = None) -> time.struct_time:
|
|
430
430
|
del seconds
|
|
@@ -432,10 +432,12 @@ def test_print_welcome_shows_todays_holiday(monkeypatch: pytest.MonkeyPatch) ->
|
|
|
432
432
|
return time.struct_time((2026, 10, 31, 23, 0, 0, 5, 304, 0))
|
|
433
433
|
|
|
434
434
|
monkeypatch.setattr(welcome, "terminal_console", to_stderr)
|
|
435
|
-
monkeypatch.setattr(welcome, "
|
|
435
|
+
monkeypatch.setattr(welcome, "todays_holiday", pumpkin)
|
|
436
436
|
monkeypatch.setattr(time, "localtime", local)
|
|
437
437
|
welcome.print_welcome(folder=Path("/research"))
|
|
438
|
-
|
|
438
|
+
plain = console.export_text(styles=False)
|
|
439
|
+
assert "▼" not in plain
|
|
440
|
+
assert "I've discovered Halloween!" in plain
|
|
439
441
|
assert asked == [date(2026, 10, 31)]
|
|
440
442
|
|
|
441
443
|
|
|
@@ -491,7 +493,7 @@ def test_command_descriptions_stay_with_their_command(width: int) -> None:
|
|
|
491
493
|
assert all(cell_len(line) <= width for line in lines)
|
|
492
494
|
|
|
493
495
|
|
|
494
|
-
def
|
|
496
|
+
def test_a_wrapped_greeting_stays_inside_the_frame() -> None:
|
|
495
497
|
stream = io.StringIO()
|
|
496
498
|
console = Console(
|
|
497
499
|
file=stream,
|
|
@@ -507,11 +509,23 @@ def test_wrapped_greeting_is_flush_with_the_frame_edge() -> None:
|
|
|
507
509
|
folder=Path("/research"),
|
|
508
510
|
)
|
|
509
511
|
lines = console.export_text(styles=False).splitlines()
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
512
|
+
start = next(i for i, line in enumerate(lines) if "Good news, everyone!" in line)
|
|
513
|
+
assert lines[start : start + 3] == [
|
|
514
|
+
f"│ {row:<34} │"
|
|
515
|
+
for row in ("Good news, everyone! The", "discovering begins.", "")
|
|
516
|
+
]
|
|
517
|
+
assert lines[start + 3].startswith("╰")
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
@pytest.mark.parametrize("color_system", ["standard", "truecolor"])
|
|
521
|
+
def test_a_holiday_greets_by_name_on_every_terminal(
|
|
522
|
+
color_system: Literal["truecolor", "standard"],
|
|
523
|
+
) -> None:
|
|
524
|
+
console = _holiday_console(color_system=color_system)
|
|
525
|
+
render_welcome(console, folder=Path("/research"), holiday=("Diwali", _PUMPKIN))
|
|
526
|
+
plain = console.export_text(styles=False)
|
|
527
|
+
assert "│ Good news, everyone! I've discovered Diwali!" in plain
|
|
528
|
+
assert "discovering" not in plain
|
|
515
529
|
|
|
516
530
|
|
|
517
531
|
def _runs(text: Text) -> list[tuple[str, str]]:
|
|
@@ -692,10 +706,10 @@ def test_the_frame_and_the_compact_heading_are_styled() -> None:
|
|
|
692
706
|
|
|
693
707
|
|
|
694
708
|
@pytest.mark.parametrize("width", [40, 80])
|
|
695
|
-
@pytest.mark.parametrize("
|
|
709
|
+
@pytest.mark.parametrize("holiday", [None, ("Halloween", _PUMPKIN)])
|
|
696
710
|
def test_themes_leave_brand_and_holiday_artwork_unchanged(
|
|
697
711
|
width: int,
|
|
698
|
-
|
|
712
|
+
holiday: tuple[str, Icon] | None,
|
|
699
713
|
) -> None:
|
|
700
714
|
path = config_dir() / "rekursiv-ai" / "sagent" / "themes" / "brand-test.yaml"
|
|
701
715
|
path.parent.mkdir(parents=True)
|
|
@@ -709,7 +723,7 @@ def test_themes_leave_brand_and_holiday_artwork_unchanged(
|
|
|
709
723
|
render_welcome(
|
|
710
724
|
console,
|
|
711
725
|
folder=Path("/research"),
|
|
712
|
-
|
|
726
|
+
holiday=holiday,
|
|
713
727
|
theme=load_theme(name),
|
|
714
728
|
)
|
|
715
729
|
identity = [
|
|
@@ -732,7 +746,7 @@ def test_an_ascii_frame_is_drawn_in_ascii() -> None:
|
|
|
732
746
|
console = _Printed(file=io.TextIOWrapper(raw, encoding="ascii"))
|
|
733
747
|
lines = _rendered(console)
|
|
734
748
|
assert lines[0] == "+" + "-" * 78 + "+"
|
|
735
|
-
assert lines[-
|
|
749
|
+
assert lines[-1] == "+" + "-" * 78 + "+"
|
|
736
750
|
assert any("test-model / TestProvider" in line for line in lines)
|
|
737
751
|
|
|
738
752
|
|
|
@@ -784,7 +798,7 @@ def test_custom_theme_reaches_print_welcome(
|
|
|
784
798
|
del today, rng
|
|
785
799
|
|
|
786
800
|
monkeypatch.setattr(welcome, "terminal_console", to_stderr)
|
|
787
|
-
monkeypatch.setattr(welcome, "
|
|
801
|
+
monkeypatch.setattr(welcome, "todays_holiday", no_holiday)
|
|
788
802
|
welcome.print_welcome(folder=Path("/research"), theme=load_theme("welcome-test"))
|
|
789
803
|
out = stream.getvalue()
|
|
790
804
|
assert "\x1b[35m" in out
|
|
@@ -804,7 +818,7 @@ def test_a_many_color_terminal_shows_the_holiday_icon(
|
|
|
804
818
|
|
|
805
819
|
|
|
806
820
|
def _rendered_icon(console: _Printed) -> list[str]:
|
|
807
|
-
render_welcome(console, folder=Path("/research"),
|
|
821
|
+
render_welcome(console, folder=Path("/research"), holiday=("Halloween", _PUMPKIN))
|
|
808
822
|
return [t.plain for t in console.texts]
|
|
809
823
|
|
|
810
824
|
|
|
@@ -3081,8 +3081,8 @@ wheels = [
|
|
|
3081
3081
|
|
|
3082
3082
|
[[package]]
|
|
3083
3083
|
name = "rekursiv-ai-typings"
|
|
3084
|
-
version = "0.1.
|
|
3085
|
-
source = { git = "https://github.com/rekursiv-ai/typings?branch=main#
|
|
3084
|
+
version = "0.1.15"
|
|
3085
|
+
source = { git = "https://github.com/rekursiv-ai/typings?branch=main#3aa8297da37fe2ffa9bac70e1366c0f04e95ff8b" }
|
|
3086
3086
|
|
|
3087
3087
|
[[package]]
|
|
3088
3088
|
name = "requests"
|
|
@@ -3365,7 +3365,7 @@ wheels = [
|
|
|
3365
3365
|
|
|
3366
3366
|
[[package]]
|
|
3367
3367
|
name = "sagent"
|
|
3368
|
-
version = "0.2.
|
|
3368
|
+
version = "0.2.3"
|
|
3369
3369
|
source = { editable = "." }
|
|
3370
3370
|
default-groups = ["cuda", "dev"]
|
|
3371
3371
|
dependencies = [
|
|
@@ -4320,8 +4320,8 @@ wheels = [
|
|
|
4320
4320
|
|
|
4321
4321
|
[[package]]
|
|
4322
4322
|
name = "wesearch"
|
|
4323
|
-
version = "0.1.
|
|
4324
|
-
source = { git = "https://github.com/rekursiv-ai/wesearch?branch=main#
|
|
4323
|
+
version = "0.1.18"
|
|
4324
|
+
source = { git = "https://github.com/rekursiv-ai/wesearch?branch=main#e998f17933846bff5113f234fbef5c541452d266" }
|
|
4325
4325
|
dependencies = [
|
|
4326
4326
|
{ name = "beautifulsoup4" },
|
|
4327
4327
|
{ name = "brotli" },
|
|
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
|