SkillPedia Skills Encyclopedia
中文 EN

技能 2026-03-10 00:09 UTC

OpenPraxisv0.1.0

版本【v0.1.0】由提交人 Sibo-Zhao 提交,主要更新类型为:功能特性新增与扩展。提交说明:refactor: skill-first architecture with LLM backend abstraction。为项目引入了新的能力与模块支持。

Sibo-Zhao 2a778fb Sibo-Zhao/OpenPraxis

Commit提交信息原文

refactor: skill-first architecture with LLM backend abstraction

Decouple business workflow from LLM call implementation so OpenPraxis
can run as a host-native skill (zero API key config) or as a
standalone CLI (user-managed provider).

- Add LLMBackend ABC and two implementations: CLIBackend (wraps llm.py)
  and OpenClawBackend (host-managed placeholder)
- Add runtime.py for execution mode detection (OPENPRAXIS_MODE env var)
  and backend lifecycle management
- Refactor all nodes (tagger, practice, insight) to use
  runtime.get_backend() instead of direct llm.py imports
- Update CLI: vision calls go through backend, llm show displays mode
- Update conftest.py: mock_llm fixture uses runtime.set_backend()
  instead of patching individual node imports
- Rewrite README and SKILL.md around host-first narrative
- Update ARCHITECTURE.md to document dual-entry architecture, backend
  selection mechanism, and new file layout
- Add test_runtime.py and test_llm_backends.py (93 tests, all passing)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>