LIghtJUNction
dcaaf6286a
test: comprehensive test coverage and type fixes
...
- Add 100+ new test files covering provider sources, platform adapters,
agent runners, star/plugin system, knowledge base, core utils,
pipeline, computer tools, builtin commands, and dashboard routes
- Fix Python type errors in sqlite.py (col() wrappers for SQLModel),
astr_agent_tool_exec, core_lifecycle, star context/manager
- Fix TypeScript strict mode errors across 30+ dashboard Vue files
- Add import smoke tests, auth roundtrip, startup tests
- Add compile-all check and CLI entry test for AUR compatibility
- Restore BotMessageAccumulator and helpers lost in merge
2026-04-29 06:29:56 +08:00
LIghtJUNction
5303e40931
Merge branch 'master' into dev
...
Resolved all conflicts using dev (HEAD) version:
- func_tool_manager.py: migrated old implementation into new architecture
- tool_loop_agent_runner.py: preserve lazy_load mode, remove step limit
- Platform adapters, dashboard, core modules: use HEAD version
2026-04-10 20:58:41 +08:00
エイカク
122e6c719f
fix: make desktop plugin dependency loading safer on Windows ( #7446 )
...
* fix: make desktop plugin dependency loading safer on Windows
* fix: restore dependency recovery after precheck fallback
* test: cover version mismatch reinstall path
* refactor: clarify dependency recovery state handling
* style: format star manager with ruff
* fix: skip dependency recovery for plugin import errors
* fix: surface unexpected dependency recovery failures
2026-04-10 17:08:10 +09:00
LIghtJUNction
c1a0db30ad
fix: update tests to reflect new core constraints behavior
...
- test_pip_*: Update expected values from "shared-lib==2.0" to "shared-lib>=1.0"
to match the new behavior that preserves original version constraints
- test_skill_manager_sandbox_cache: Fix monkeypatch issues by using
MockAstrbotPaths instead of non-existent module-level functions
- test_tool_loop_agent_runner: Change tool_schema_mode from "skills_like"
to "lazy_load" to match actual supported mode
2026-03-23 05:55:59 +08:00
LIghtJUNction
6a4177cae4
Revert "feat: SDK integration and various improvements"
2026-03-23 01:18:03 +08:00
LIghtJUNction
a3fbfd3540
feat: SDK integration and various improvements
...
- Refactor core modules for better SDK integration
- Improve skill manager with better caching and loading
- Update dashboard routes for plugin and tools management
- Fix and enhance computer skill synchronization
- Various bug fixes and test improvements
2026-03-22 23:38:27 +08:00
エイカク
3914d766db
fix: install only missing plugin dependencies ( #6088 )
...
* chore: ignore local worktrees
* fix: install only missing plugin dependencies
* fix: harden missing dependency install fallback
* fix: clarify dependency install fallback logging
* refactor: simplify dependency install test helpers
* refactor: reuse requirements precheck planning
2026-03-12 11:50:29 +09:00
エイカク
6da59cfb07
fix: 插件依赖自动安装逻辑与 Dashboard 安装体验优化 ( #5954 )
...
* fix: install plugin requirements before first load
* fix: handle pip option arguments correctly
* fix: harden pip install input parsing
* refactor: simplify pip install input parsing
* fix: align plugin dependency install handling
* fix: respect configured pip index overrides
* test: parameterize plugin dependency install flows
* refactor: simplify multiline pip input parsing
* fix: install plugin dependencies before loading
* fix: protect core dependencies from downgrades and simplify package input splitting
* fix: enhance dependency conflict reporting and improve user-facing warnings
* refactor: preserve pip log indentation and fix CodeQL URL sanitization alert
* fix: explicit re-export for DependencyConflictError to satisfy ruff F401
* test: enhance index override verification in pip installer tests
* fix: correctly map pip ERROR and WARNING outputs to proper log levels
* refactor: show specific version conflicts in DependencyConflictError and revert log level mapping
* refactor: simplify install() by decoupling pip logging, failure classification and constraint file management
* refactor: further simplify pip installer and requirement parsing logic
* refactor: simplify dependency installation logic and improve circular requirement reporting
* style: organize imports in astrbot/core/__init__.py
* refactor: optimize requirement parsing efficiency and flatten pip installer API
* style: fix import sorting in astrbot/core/__init__.py
* refactor: consolidate requirement parsing, optimize core protection, and improve exception propagation
* fix: preserve valid pip requirement parsing
* fix: skip empty pip installs and preserve blank output
* chore: normalize gitignore entry style
* fix: tighten pip trust and requirement parsing
* refactor: centralize pip install parsing and failure handling
* fix: redact pip argv credentials in logs
* fix: surface plugin dependency install errors
* fix: cache core constraints and clarify requirement installs
* fix: harden pip requirement parsing for plugin installs
* fix: simplify pip installer parsing internals
* fix: tighten pip installer parsing and redaction
* refactor: simplify plugin dependency install flow
* fix: preserve core constraint conflict errors
* fix: harden pip installer fallback resolution
* refactor: split pip requirement and constraint helpers
* refactor: simplify pip installer helper flow
* refactor: streamline requirement precheck helpers
* refactor: clarify core constraint resolution
* fix: surface pip install failures explicitly
* refactor: separate pip conflict context parsing
* fix: harden core constraint resolution
* test: cover pip installer failure call sites
* refactor: remove dead requirements fallback helper
* refactor: narrow core constraint error handling
* refactor: unify requirement iteration
* refactor: share requirement name parsing
* test: align pip helper coverage
* fix: bind pip output limit at runtime
* refactor: reuse core requirement parser for tokens
2026-03-11 14:21:55 +09:00