文件历史

提交图

15 次代码提交

作者 SHA1 备注 提交日期
tjb-tech a0f8552c69 chore(release): prepare v0.1.9 2026-05-07 11:08:58 +00:00
tjb-tech a07837c657 chore(release): prepare v0.1.8 2026-05-06 12:56:08 +00:00
tjb-tech 35fb12d5da release: publish 0.1.7 2026-04-18 14:45:36 +00:00
tjb-tech ce84a6a1a2 fix(session): sanitize empty assistant messages and add windows alias 2026-04-14 08:51:33 +00:00
tjb-tech e2ed3ad6fe chore(release): bump version to 0.1.6 2026-04-10 12:38:10 +00:00
tjb-tech 4e16ce0ffa feat(installer): improve dev setup and gateway restart flow 2026-04-10 06:28:02 +00:00
tjb-tech a4d45408ff release: ship 0.1.5 2026-04-08 15:10:08 +00:00
tjb-tech 2f6f8b01d6 release: ship 0.1.4 fixes and ohmo updates 2026-04-08 09:53:39 +00:00
tjb-tech b1e6a83b2a chore(release): bump version to 0.1.2 2026-04-06 13:44:54 +00:00
tjb-tech 50e7e3a508 feat(ohmo): add personal agent app and gateway 2026-04-06 12:06:54 +00:00
tjb-tech e07d21d3f6 fix: bundle frontend in pip package, add --version flag (v0.1.1)
- Include frontend/terminal/ in wheel via hatch force-include
- get_frontend_dir() checks bundled _frontend/ first, then dev repo
- Add oh --version / -v flag
- Bump to v0.1.1, published to PyPI
2026-04-05 14:50:04 +00:00
tjb-tech c00e73f9d1 chore: publish as openharness-ai on PyPI
Package name 'openharness' was taken. Published as 'openharness-ai' v0.1.0.
https://pypi.org/project/openharness-ai/0.1.0/

Updated install.sh to use: pip install openharness-ai
2026-04-05 13:28:34 +00:00
Chao Qin a6dfa8f56d feat: wire --resume/--continue CLI flags and add cron scheduler daemon (#16)
Cherry-picked from PR #16 by win4r, excluding auto-compact (already
implemented in a more thorough version based on Claude Code source).

Resume/Continue:
- Wire --continue (most recent session) and --resume (picker/ID) CLI flags
- Pass restore_messages through app.py → backend_host.py → runtime.py
- Uses existing session_storage infrastructure

Cron scheduler daemon:
- oh cron start/stop/status/list/toggle/history subcommands
- Background daemon with 30s tick, concurrent job execution, PID file
- Job state: enabled, last_run, next_run, last_status, created_at
- JSONL execution history at ~/.openharness/data/cron_history.jsonl
- croniter-based expression validation and next-run computation

Cost/usage output in print mode:
- Token usage summary (input/output/total) printed to stderr
- Tool activity indicators during execution

New files: cron_scheduler.py, cron_toggle_tool.py, test_cron.py, test_cron_scheduler.py
Modified: cli.py, runtime.py, app.py, backend_host.py, cron.py, tools/__init__.py
2026-04-04 10:29:09 +00:00
washi4 d5c888897d feat: add OpenAI-compatible API client (--api-format openai)
Add OpenAICompatibleClient that implements SupportsStreamingMessages,
enabling any provider using the OpenAI /v1/chat/completions format:
DashScope, DeepSeek, GitHub Models, Groq, Ollama, etc.

- New openai_client.py with streaming, tool calling, retry logic
- --api-format openai CLI flag and OPENHARNESS_API_FORMAT env var
- OPENAI_API_KEY fallback in resolve_api_key()
- Provider detection for dashscope/qwen and github models
- Wired through cli → app → runtime → client selection
- 11 unit tests for format conversion functions
- Updated README provider compatibility section
- CHANGELOG entries
2026-04-04 08:39:51 +08:00
tjb-tech 5dd8b952ec Initial release: oh — OpenHarness: Open Agent Harness v0.1.0
A lightweight open-source Python implementation of the Agent Harness architecture.
44x lighter than Claude Code (11K vs 512K lines), 98% core tool coverage.

- 43 tools with Pydantic validation and parallel execution
- Skills system compatible with anthropics/skills (17+ tested)
- Plugin system compatible with claude-code/plugins (12+ tested)
- API retry with exponential backoff
- Multi-level permissions with path rules
- React/Ink TUI with "Oh my Harness!" branding
- 114 unit tests + 6 E2E test suites
- MIT License
2026-04-01 16:32:25 +00:00