文件历史

提交图

55 次代码提交

作者 SHA1 备注 提交日期
tjb-tech a2888506ba fix(web): support explicit search endpoint and proxy 2026-05-16 12:16:15 +00:00
tjb-tech 18fc6dea13 feat(skills): discover Claude and project skills 2026-05-08 03:49:02 +00:00
tjb-tech d2489758f0 fix(config): add NVIDIA NIM provider profile
Add a built-in NVIDIA NIM OpenAI-compatible workflow that reads NVIDIA_API_KEY, document the backend, and cover auth/profile materialization. Also make Windows shell resolution skip discovered bash executables that cannot run commands, and update the macOS Terminal backspace troubleshooting note to reflect the current fix.
2026-05-06 11:06:35 +00:00
tjb-tech 699bab3d3a feat(cli): add dry-run safe preview mode 2026-04-22 07:36:59 +00:00
tjb-tech 35fb12d5da release: publish 0.1.7 2026-04-18 14:45:36 +00:00
Tao Zhang 944ccf9b22 fix(settings): preserve profile base_url/model under env overrides (#139)
ANTHROPIC_BASE_URL and ANTHROPIC_MODEL were applied unconditionally after
profile materialization, replacing explicit profile settings like Ollama's
base_url with unrelated endpoints. Now OPENHARNESS_* env vars always
override, while ANTHROPIC_*/OPENAI_* vars only apply when the active
profile doesn't explicitly configure the corresponding field.

Also adds Ollama setup instructions to README.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-16 14:35:25 +08:00
tjb-tech ce84a6a1a2 fix(session): sanitize empty assistant messages and add windows alias 2026-04-14 08:51:33 +00:00
benben951 e537ba9867 chore(installer): add native Windows PowerShell installer (#118) 2026-04-13 20:28:42 +08:00
José Maia 373c97e5f6 feat(providers): add built-in Google Gemini provider profile
Wire Gemini as a first-class provider so `oh setup` offers it alongside
Anthropic, OpenAI, Moonshot, and others. The ProviderSpec for Gemini
already existed in the API registry; this commit adds the missing
profile, auth-source mappings, and CLI integration so users can
configure Gemini through the standard setup flow instead of manually
creating a custom profile.

Changes:
- Add "gemini" entry to `default_provider_profiles()` with
  `gemini-2.5-flash` as default model and the AI Studio OpenAI-compat
  base URL
- Register `gemini_api_key` auth source in `auth_source_provider_name()`
  and `default_auth_source_for_provider()`
- Add gemini to `_KNOWN_PROVIDERS`, `_AUTH_SOURCES`, and
  `_PROFILE_BY_PROVIDER` in `auth/manager.py`
- Add gemini to `_PROVIDER_LABELS`, `_AUTH_SOURCE_LABELS`, and the
  `oh auth login` API-key flow in `cli.py`
- Add Gemini row to the OpenAI-Compatible provider table in both
  README.md and README.zh-CN.md

Closes #90
2026-04-11 01:26:06 +01:00
tjb-tech 22786f0216 docs(readme): simplify Quick Start and add ohmo setup guide
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 13:06:12 +00:00
tjb-tech 0fc9dffcae docs(readme): add ohmo intro, What's New v0.1.4–v0.1.6, remove architecture comic
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 13:01:45 +00:00
tjb-tech aa2e024734 docs(readme): add chinese translation 2026-04-06 13:53:18 +00:00
tjb-tech 45cb01958f docs(readme): refresh setup and ohmo guidance 2026-04-06 13:50:41 +00:00
tjb-tech d40cc05c51 feat(install): add one-click bash installer script
Add scripts/install.sh supporting `curl -fsSL URL | bash` installation:
- Detects OS (Linux/macOS/WSL) with colored output
- Validates Python >= 3.10 and Node.js >= 18 with install hints
- Supports --from-source (git clone + pip install -e .)
- Supports --with-channels (slack-sdk, python-telegram-bot, discord.py)
- Installs npm deps in frontend/terminal if Node.js is available
- Creates ~/.openharness/ config directory
- Verifies installation with `oh --version`

Update README.md with one-click install section and usage examples.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-05 10:07:11 +00:00
Merlin Chen 43f2e4988e feat: add GitHub Copilot provider support with OAuth device flow
Implement full Copilot provider integration using GitHub's OAuth
device flow.  The OAuth token is used directly as a Bearer token
(matching OpenCode's approach) — no intermediate token exchange.

Supports both github.com and GitHub Enterprise (data-residency /
self-hosted) deployments.  Enterprise uses copilot-api.<domain>.

New files:
- copilot_auth.py: OAuth device flow, persistence, enterprise URL
- copilot_client.py: wraps OpenAICompatibleClient with Copilot headers

Modified:
- cli.py: oh auth copilot-login/logout with deployment type selection
- provider.py: Copilot detection + auth status with enterprise info
- runtime.py: CopilotClient routing in build_runtime()
- settings.py: resolve_api_key() returns copilot-managed sentinel
- __init__.py: export CopilotClient
- README.md: Copilot provider documentation
- spawn_utils.py, react_launcher.py, app.py: api_format forwarding

Tests: 31 copilot-specific tests (auth + client), all passing.
2026-04-04 23:46:26 +08:00
tjb-tech fe5c904623 Merge branch 'pr-14'
# Conflicts:
#	CHANGELOG.md
2026-04-04 09:58:55 +00:00
chaohuang-ai 535c87a228 Update README.md 2026-04-04 13:49:27 +08: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
chaohuang-ai 8ec5c7ab5b Update README.md 2026-04-03 22:51:10 +08:00
tjb-tech aab665492f docs: add repo docs and CI scaffolding 2026-04-03 04:58:40 +00:00
chaohuang-ai 56712df04c Update README.md 2026-04-03 10:57:57 +08:00
chaohuang-ai bc4d9e92b5 Update README.md 2026-04-03 10:56:02 +08:00
chaohuang-ai 36e36513bb Update README.md 2026-04-03 10:53:11 +08:00
chaohuang-ai 99250c3055 Update README.md 2026-04-03 10:52:19 +08:00
chaohuang-ai 6c1e3a94ea Update README.md 2026-04-03 10:51:01 +08:00
chaohuang-ai aaaa46751e Update README.md 2026-04-03 00:50:14 +08:00
chaohuang-ai b728757d7f Update README.md 2026-04-03 00:49:33 +08:00
tjb-tech 6894bf5725 Add Key Harness Features section with 5 categories
Agent Loop, Harness Toolkit, Context & Memory, Governance, Swarm Coordination.
Each with icon, badge, and feature bullets. ClawTeam linked as swarm roadmap.
2026-04-02 16:10:54 +00:00
tjb-tech 369731ceab Revert "Add Harness Categories roadmap with infographic"
This reverts commit 2fcca37a5c.
2026-04-02 15:30:57 +00:00
tjb-tech 2fcca37a5c Add Harness Categories roadmap with infographic
6 harness types: Coding (shipped), Research, Finance, Swarm (in progress),
Lifecycle (shipped), Domain. Includes generated infographic.
2026-04-02 15:29:21 +00:00
Jiabin Tang 4c2ae2d1aa Update in README.md 2026-04-02 11:00:30 +08:00
chaohuang-ai deffd5541c Update README.md 2026-04-02 02:07:25 +08:00
chaohuang-ai a331be8c52 Update README.md 2026-04-02 01:47:37 +08:00
chaohuang-ai f91b0ecc07 Update README.md 2026-04-02 01:32:31 +08:00
chaohuang-ai 54f524e308 Update README.md 2026-04-02 01:31:42 +08:00
chaohuang-ai 2e99cda520 Update README.md 2026-04-02 01:27:16 +08:00
chaohuang-ai d330f36699 Update README.md 2026-04-02 01:26:48 +08:00
chaohuang-ai 5b602333f5 Update README.md 2026-04-02 01:24:54 +08:00
chaohuang-ai fd95bb5beb Update README.md 2026-04-02 01:23:26 +08:00
chaohuang-ai 7a623b8c11 Update README.md 2026-04-02 01:21:27 +08:00
chaohuang-ai 7cff2440b5 Update README.md 2026-04-02 01:19:45 +08:00
chaohuang-ai 760eeaacbe Update README.md 2026-04-02 01:19:26 +08:00
chaohuang-ai d767123e3e Update README.md 2026-04-02 01:16:55 +08:00
chaohuang-ai 418da3997c Update README.md 2026-04-02 01:16:22 +08:00
chaohuang-ai d32a9321a9 Update README.md 2026-04-02 01:10:30 +08:00
chaohuang-ai 09ad4ac4e4 Update README.md 2026-04-02 01:09:39 +08:00
chaohuang-ai 718d453163 Update README.md 2026-04-02 01:08:39 +08:00
chaohuang-ai 10a2807233 Update README.md 2026-04-02 01:06:40 +08:00
chaohuang-ai 290a296cec Update README.md 2026-04-02 01:04:43 +08:00
chaohuang-ai ac5e4e4684 Update README.md 2026-04-02 01:04:00 +08:00