11 Commits
Author SHA1 Message Date
Claudeandq107580018 fd9e347563 feat(opencode): dynamic model discovery via opencode models (#381)
AvailableModels now runs `<cmd> models` first and falls back to
provider-configured models and the built-in list only when the CLI
command fails or produces no output. Results are deduplicated and
sorted for stable /model output.

Co-authored-by: q107580018 <107580018@qq.com>
Made-with: Cursor
2026-03-31 19:44:42 +08:00
Claude d055f53109 ci: add Node.js setup to build web frontend before Go steps
The go:embed directive in web/embed.go requires web/dist/ to exist.
Add Node.js setup and npm build steps to lint and unit-test jobs.
Use no_web tag for smoke/regression/performance tests that don't
need web assets.

Made-with: Cursor
2026-03-31 09:24:19 +08:00
Deeka WongandDeeka Wong 0095b0e9ff feat(telegram): add audio reply support for telegram (#225)
* feat(telegram): add audio reply support

* ci: lint only newly introduced issues

* fix(telegram): improve SendAudio error reporting

* ci: guard lint fallback for first commit

---------

Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
2026-03-21 14:39:42 +08:00
Claude c4ebe6c39f ci: update golangci-lint install path and improve test mocks thread safety
Updated the GitHub CI workflow to use the correct golangci-lint installation path. Enhanced test mocks with proper mutex protection in TestMessageHandler and cleaned up FakeAgentSession implementation for better thread safety and performance.

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-19 11:34:14 +08:00
Claude db05dee804 feat(tests): add integration, performance tests and CI improvements
- Add 13 integration tests (T-300~T-313) covering engine-platform
  message flow, multi-agent coordination, session persistence,
  rate limiting, dedup, command registry, role manager, platform
  reply, agent permission flow, cron store, card rendering, env
  merge, and message attachments
- Add 14 performance benchmarks (T-400~T-413) for message latency,
  concurrent throughput, session switching, rate limiting,
  deduplication, command lookup, card rendering, cron store,
  role resolution, and multi-agent coordination
- Fix FakeAgentSession so NewFakeAgentWithSession properly
  preserves pre-configured session for first StartSession call
- Add performance-test Makefile target and update test-release
- Update CI to run performance benchmarks on release events

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 10:49:15 +08:00
Claude e71de8c089 feat(tests): add分层测试targets和CI改进
Makefile新增targets:
- make test-fast: 单元 + 冒烟测试 (< 2min)
- make test-full: 完整测试套件 (PR 要求)
- make test-smoke: 冒烟测试 (< 1min)
- make test-e2e: E2E/回归测试
- make test-release: 发布前测试
- make pre-test: build + vet 前置检查

CI workflow改进:
- 添加 golangci-lint 步骤
- 添加 smoke-test job (依赖 unit-test)
- 添加 regression-test job (依赖 smoke-test)
- 将 lint 独立为独立 job
- 保持 Codecov fail_ci_if_error: false (待测试稳定后可改为true)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 10:40:32 +08:00
Mr.QiuW 6ed7ae1224 fix(ci): repair issue-reply YAML and add workflow lint 2026-03-13 22:08:11 +08:00
chenhg5andClaude Opus 4.6 e2745997ca fix(ci): add GOPROXY and GOSUMDB env vars for consistent downloads
Ensures modules are downloaded from official proxy with proper checksum
verification to avoid checksum mismatch errors in CI.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 10:16:04 +08:00
chenhg5andClaude 34e96c0478 ci: add GitHub workflows for issue handling and update Go setup
Add new workflows:
- issue-reply.yml: Automatically greet new issue creators
- stale.yml: Handle stale issues and PRs with automated warnings/closures
Update ci.yml to use go-version-file instead of hardcoded Go version

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-13 09:43:59 +08:00
chenhg5andClaude 23c7812ca2 ci: add GitHub Actions workflow for Go CI pipeline
This adds a new GitHub Actions workflow that:
- Runs on pushes and PRs to main branch
- Sets up Go 1.23 environment with caching
- Downloads dependencies, builds, and runs tests

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-13 09:40:14 +08:00
chenhg5andClaude 9515cfa921 ci: add GitHub issue templates for bug reports, feature requests, and integrations
Add structured issue templates to standardize bug reports, feature requests, and integration support requests. Includes templates for:
- Bug reports with version, OS, reproduction steps
- Feature requests with problem/solution descriptions
- Platform/agent integration requests with API details

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-02 17:44:54 +08:00