22 Commits
Author SHA1 Message Date
OpenWaygate 73884cc3dd ♻️ Extract ServiceProvider interface 2026-09-07 00:25:08 +08:00
OpenWaygate a1ad5bafde ♻️ Use omitzero for *bool, int64, and uint64 2026-08-29 19:01:26 +08:00
OpenWaygate 2d27a90036 ✨ Add WithContext option to auth service 2026-08-29 19:01:25 +08:00
OpenWaygate 05b6cb8699 ♻️ Use slices.SortFunc and t.Context() for modern Go idioms 2026-08-29 19:01:25 +08:00
OpenWaygate 7b929301b9 ♻️ Use ServerOptions and HTTPOptions 2026-08-23 22:34:00 +08:00
OpenWaygate 8bf6457508 🔒 Add confirmation gate to MCP destructive tools
* ♻️ Refactor IsInteractive to accept any

* ♻️ Simplify Confirm to return bool

* ♻️ Use simplified Confirm in mutation commands

* 🔧 Update MODULE.bazel for go tool

* ✨ Add ConfirmPreRun utility

* ♻️ Migrate mutation commands to ConfirmPreRun

* 🎨 Fix alignment and trailing newlines
2026-08-20 21:55:27 +08:00
OpenWaygate 521314945c 🔧 Fix golangci-lint issues (errcheck, staticcheck, unused)
- Check fmt.Fprintln return value in cmd/flags.go
- Remove unused confirmationToolNames, computeConfirmationToolNames, requireConfirmation
- Convert if/else-if chains to tagged switches (QF1003)
- Remove empty if branches (SA9003)
- Simplify embedded field selectors (QF1008)
- Use fmt.Fprintf instead of Write([]byte(fmt.Sprintf(...))) (QF1012)
2026-07-09 00:03:19 +08:00
OpenWaygate d897e3c159 ♻️ Replace *common.Fields with value embedding 2026-06-21 00:35:08 +08:00
OpenWaygate 85ce5706ab ♻️ Replace RedirectURL global with context-based injection 2026-06-16 23:27:33 +08:00
OpenWaygate 8721fff8b7 💥 Support OAuth in MCP 2026-04-21 00:27:32 +08:00
OpenWaygate 54734409c7 ♻️ Extract test helpers 2026-04-07 21:18:53 +08:00
OpenWaygate a0c03f986a ✅ Add tests for common 2026-04-07 20:54:06 +08:00
OpenWaygate 5c4ff9d8a3 ♻️ Extract terminal print 2026-04-06 23:51:08 +08:00
OpenWaygate 80470ef69d ♻️ Extract pagenate function 2026-04-06 23:32:52 +08:00
OpenWaygate 7302eca9d9 ♻️ Extract common fields 2026-04-06 22:42:01 +08:00
OpenWaygate 10cbf87428 🚸 EnsureService with error instead of panic 2026-04-06 22:04:05 +08:00
OpenWaygate ac6fd7cde1 ♻️ Extract duplicated test service 2026-04-06 22:02:53 +08:00
OpenWaygate aabf923330 🔥 Drop jsonpath 2026-03-25 22:41:13 +08:00
OpenWaygate 318817c123 📄 Add license header in source code 2026-02-25 23:49:17 +08:00
OpenWaygate 36e91e6515 🐛 Enable summarization and improve log 2026-02-23 20:43:29 +08:00
OpenWaygate 4f8659c03a ♻️ Improve error handling in auth 2026-02-01 17:22:24 +08:00
OpenWaygate c4901d8ecf ♻️ Extract common options 2026-01-28 21:34:10 +08:00